<86>Mar 2 01:57:04 userdel[263383]: delete user 'rooter' <86>Mar 2 01:57:04 userdel[263383]: removed group 'rooter' owned by 'rooter' <86>Mar 2 01:57:04 userdel[263383]: removed shadow group 'rooter' owned by 'rooter' <86>Mar 2 01:57:04 groupadd[263401]: group added to /etc/group: name=rooter, GID=699 <86>Mar 2 01:57:04 groupadd[263401]: group added to /etc/gshadow: name=rooter <86>Mar 2 01:57:04 groupadd[263401]: new group: name=rooter, GID=699 <86>Mar 2 01:57:04 useradd[263418]: new user: name=rooter, UID=699, GID=699, home=/root, shell=/bin/bash <86>Mar 2 01:57:04 userdel[263442]: delete user 'builder' <86>Mar 2 01:57:04 userdel[263442]: removed group 'builder' owned by 'builder' <86>Mar 2 01:57:04 groupadd[263467]: group added to /etc/group: name=builder, GID=700 <86>Mar 2 01:57:04 groupadd[263467]: group added to /etc/gshadow: name=builder <86>Mar 2 01:57:04 groupadd[263467]: new group: name=builder, GID=700 <86>Mar 2 01:57:04 useradd[263489]: new user: name=builder, UID=700, GID=700, home=/usr/src, shell=/bin/bash /usr/src/in/srpm/maxr-0.2.6-alt2_3.src.rpm: license not found in '/usr/share/license' directory: GFDL warning: user igor does not exist - using root warning: group igor does not exist - using root warning: user igor does not exist - using root warning: group igor does not exist - using root warning: user igor does not exist - using root warning: group igor does not exist - using root warning: user igor does not exist - using root warning: group igor does not exist - using root warning: user igor does not exist - using root warning: group igor does not exist - using root <13>Mar 2 01:57:06 rpmi: rpm-macros-kde-common-devel-14.12.1-alt1 1422279175 installed <13>Mar 2 01:57:06 rpmi: rpm-macros-generic-compat-0.04-alt1 1527350580 installed <13>Mar 2 01:57:06 rpmi: rpm-macros-fedora-compat-0.159-alt1 sisyphus+258368.100.1.1 1600512138 installed <13>Mar 2 01:57:11 rpmi: libpng16-1.6.37-alt1 sisyphus+275734.100.2.1 1624788826 installed <13>Mar 2 01:57:11 rpmi: libjpeg-2:2.1.2-alt1 sisyphus+294623.100.2.1 1643889731 installed <13>Mar 2 01:57:11 rpmi: libexpat-2.4.6-alt1 sisyphus+295732.100.1.1 1645396464 installed <13>Mar 2 01:57:11 rpmi: xorg-proto-devel-2021.5-alt1 sisyphus+285490.100.1.1 1632124129 installed <13>Mar 2 01:57:11 rpmi: libogg-1.3.5-alt1 sisyphus+278100.3400.1.1 1626058929 installed <13>Mar 2 01:57:11 rpmi: libvorbis-1.3.7-alt1 sisyphus+275738.100.1.1 1624751601 installed <13>Mar 2 01:57:11 rpmi: zlib-devel-1.2.11-alt2 sisyphus+283721.100.1.1 1629847002 installed <13>Mar 2 01:57:11 rpmi: libglvnd-7:1.4.0-alt1 sisyphus+292743.100.1.1 1640688162 installed <13>Mar 2 01:57:11 rpmi: libpng-devel-1.6.37-alt1 sisyphus+275734.100.2.1 1624788826 installed <13>Mar 2 01:57:11 rpmi: libflac8-1.3.3.0.79.37d1-alt2 sisyphus+278100.1400.1.1 1626058195 installed <13>Mar 2 01:57:11 rpmi: libphysfs-3.0.2-alt1 sisyphus+277966.100.1.1 1625927313 installed <13>Mar 2 01:57:11 rpmi: libwebp7-1.2.2-alt1 sisyphus+293797.100.1.1 1642668641 installed <13>Mar 2 01:57:11 rpmi: libICE-1.0.10-alt1 sisyphus+278827.100.1.1 1626220279 installed <13>Mar 2 01:57:11 rpmi: libSM-1.2.3-alt1 sisyphus+278820.100.1.1 1626219264 installed <13>Mar 2 01:57:11 rpmi: libogg-devel-1.3.5-alt1 sisyphus+278100.3400.1.1 1626058929 installed <13>Mar 2 01:57:11 rpmi: libquadmath0-11.2.1-alt2 sisyphus+291192.100.1.1 1638461683 installed <13>Mar 2 01:57:12 rpmi: libicu69-1:6.9.1-alt2 sisyphus+277632.100.1.1 1625726150 installed <13>Mar 2 01:57:12 rpmi: liblcms2-2.13.1-alt1 sisyphus+296040.100.1.1 1646123109 installed <13>Mar 2 01:57:12 rpmi: libgomp1-11.2.1-alt2 sisyphus+291192.100.1.1 1638461683 installed <13>Mar 2 01:57:12 rpmi: libltdl7-2.4.6-alt4 sisyphus+284398.100.1.1 1630577601 installed <13>Mar 2 01:57:12 rpmi: libopenjpeg2.0-2.4.0-alt2 sisyphus+270166.100.1.1 1618663536 installed <13>Mar 2 01:57:12 rpmi: libnettle8-3.7.3-alt1 sisyphus+276723.100.1.2 1625211788 installed <13>Mar 2 01:57:12 rpmi: libjbig-2.1-alt1 sisyphus+276068.100.1.1 1624815400 installed <13>Mar 2 01:57:12 rpmi: libfribidi-1.0.11-alt1 sisyphus+285870.100.1.1 1632466313 installed <13>Mar 2 01:57:12 rpmi: libgraphite2-1.3.14-alt2.1 sisyphus+279571.100.1.2 1626605111 installed <13>Mar 2 01:57:12 rpmi: xml-utils-1:2.9.12-alt1 sisyphus+291245.3700.54.1 1643297460 installed <13>Mar 2 01:57:12 rpmi: libwayland-server-1.20.0-alt1 sisyphus+290473.40.2.1 1639117744 installed <13>Mar 2 01:57:12 rpmi: ilmbase25-common-2.5.6-alt2 sisyphus+279640.100.1.1 1626639160 installed <13>Mar 2 01:57:12 rpmi: libiex25-2.5.6-alt2 sisyphus+279640.100.1.1 1626639160 installed <13>Mar 2 01:57:12 rpmi: libXau-1.0.9-alt1 sisyphus+278247.100.1.1 1626080736 installed <13>Mar 2 01:57:12 rpmi: libgdbm-1.8.3-alt10 sisyphus+278100.1600.1.1 1626058413 installed <13>Mar 2 01:57:12 rpmi: libp11-kit-0.24.1-alt1 sisyphus+293720.100.1.1 1642535264 installed <13>Mar 2 01:57:12 rpmi: libtasn1-4.18.0-alt1 sisyphus+294217.100.3.1 1643755522 installed <13>Mar 2 01:57:12 rpmi: libXau-devel-1.0.9-alt1 sisyphus+278247.100.1.1 1626080736 installed <13>Mar 2 01:57:12 rpmi: libilmthread25-2.5.6-alt2 sisyphus+279640.100.1.1 1626639160 installed <13>Mar 2 01:57:12 rpmi: libimath25-2.5.6-alt2 sisyphus+279640.100.1.1 1626639160 installed <13>Mar 2 01:57:12 rpmi: libhalf25-2.5.6-alt2 sisyphus+279640.100.1.1 1626639160 installed <13>Mar 2 01:57:12 rpmi: rpm-build-gir-0.7.3-alt3 sisyphus+242150.100.1.1 1575312005 installed <13>Mar 2 01:57:12 rpmi: libgraphite2-devel-1.3.14-alt2.1 sisyphus+279571.100.1.2 1626605111 installed <13>Mar 2 01:57:12 rpmi: libhogweed6-3.7.3-alt1 sisyphus+276723.100.1.2 1625211788 installed <13>Mar 2 01:57:12 rpmi: icu-utils-1:6.9.1-alt2 sisyphus+277632.100.1.1 1625726150 installed <13>Mar 2 01:57:12 rpmi: libicu-devel-1:6.9.1-alt2 sisyphus+277632.100.1.1 1625726150 installed <13>Mar 2 01:57:12 rpmi: libquadmath11-devel-11.2.1-alt2 sisyphus+291192.100.1.1 1638461683 installed <13>Mar 2 01:57:12 rpmi: libgfortran5-11.2.1-alt2 sisyphus+291192.100.1.1 1638461683 installed <13>Mar 2 01:57:12 rpmi: libvorbis-devel-1.3.7-alt1 sisyphus+275738.100.1.1 1624751601 installed <13>Mar 2 01:57:12 rpmi: libICE-devel-1.0.10-alt1 sisyphus+278827.100.1.1 1626220279 installed <13>Mar 2 01:57:12 rpmi: libphysfs-devel-3.0.2-alt1 sisyphus+277966.100.1.1 1625927313 installed <13>Mar 2 01:57:12 rpmi: libOpenGL-7:1.4.0-alt1 sisyphus+292743.100.1.1 1640688162 installed <13>Mar 2 01:57:12 rpmi: libGLES-7:1.4.0-alt1 sisyphus+292743.100.1.1 1640688162 installed <13>Mar 2 01:57:12 rpmi: libjasper-2.0.33-alt2 sisyphus+291936.40.2.1 1639478957 installed <13>Mar 2 01:57:12 rpmi: libraw-0.20.2-alt1.1 sisyphus+283972.100.1.1 1630055048 installed <13>Mar 2 01:57:12 rpmi: libflif-0.3-alt3 sisyphus+276388.100.1.1 1624990813 installed <13>Mar 2 01:57:12 rpmi: libnatspec-0.3.1-alt2 sisyphus+275114.100.1.1 1624405312 installed <13>Mar 2 01:57:12 rpmi: liblua5.1-preinstall-5.1.5-alt18 sisyphus+284094.100.1.1 1630173161 installed <13>Mar 2 01:57:12 rpmi: liblua5.1-5.1.5-alt18 sisyphus+284094.100.1.1 1630173161 installed <13>Mar 2 01:57:13 rpmi: libreadline-devel-7.0.3-alt4 sisyphus+283725.100.1.2 1629849376 installed <13>Mar 2 01:57:13 rpmi: liblua5.1-compat-devel-5.1.5-alt18 sisyphus+284094.100.1.1 1630173161 installed <13>Mar 2 01:57:13 rpmi: liblua5.1-devel-5.1.5-alt18 sisyphus+284094.100.1.1 1630173161 installed <13>Mar 2 01:57:13 rpmi: libspeex-1.2-alt2 sisyphus+287335.100.1.1 1634381369 installed <13>Mar 2 01:57:13 rpmi: libmodplug-0.8.9.0-alt1 sisyphus+275375.100.2.2 1624495419 installed <13>Mar 2 01:57:13 rpmi: libmpg123-1.29.3-alt1 sisyphus+291857.100.1.1 1639310456 installed <13>Mar 2 01:57:13 rpmi: libmad-0.15.1b-alt9 sisyphus+278239.100.1.1 1626080123 installed <13>Mar 2 01:57:13 rpmi: timidity-instruments-1:1.0-alt1 sisyphus+276870.100.1.1 1625246545 installed <13>Mar 2 01:57:13 rpmi: libopus-1.3.1-alt3 sisyphus+278010.100.1.2 1625975522 installed <13>Mar 2 01:57:13 rpmi: libgsm-1.0.17-alt1 sisyphus+275359.100.2.1 1624907612 installed <13>Mar 2 01:57:13 rpmi: libsndfile-1.0.31-alt1 sisyphus+279495.100.1.1 1626550760 installed <13>Mar 2 01:57:13 rpmi: libasyncns-0.8-alt2.qa1 sisyphus+275091.100.1.1 1624402241 installed <13>Mar 2 01:57:13 rpmi: gcc-fortran-common-1.4.27-alt1 sisyphus+278099.1300.1.1 1626028636 installed <13>Mar 2 01:57:13 rpmi: libgfortran11-devel-11.2.1-alt2 sisyphus+291192.100.1.1 1638461683 installed <13>Mar 2 01:57:14 rpmi: gcc11-fortran-11.2.1-alt2 sisyphus+291192.100.1.1 1638461683 installed <13>Mar 2 01:57:14 rpmi: gcc-c++-common-1.4.27-alt1 sisyphus+278099.1300.1.1 1626028636 installed <13>Mar 2 01:57:14 rpmi: libstdc++11-devel-11.2.1-alt2 sisyphus+291192.100.1.1 1638461683 installed <13>Mar 2 01:57:15 rpmi: gcc11-c++-11.2.1-alt2 sisyphus+291192.100.1.1 1638461683 installed <13>Mar 2 01:57:15 rpmi: libstdc++-devel-11-alt1 sisyphus+285602.400.1.1 1632238564 installed <13>Mar 2 01:57:15 rpmi: libjack-1:1.9.18-alt2 sisyphus+276289.100.1.1 1624959334 installed <13>Mar 2 01:57:15 rpmi: alsa-ucm-conf-1.2.6.2-alt1 sisyphus+291831.200.1.1 1639213787 installed <13>Mar 2 01:57:15 rpmi: alsa-topology-conf-1.2.5.1-alt1 sisyphus+274777.100.1.1 1624089141 installed <13>Mar 2 01:57:15 rpmi: libalsa-1:1.2.6.1-alt1 sisyphus+291831.100.1.1 1639213772 installed <13>Mar 2 01:57:15 rpmi: libImageMagick6-common-6.9.12.40-alt1 sisyphus+295711.100.2.1 1645366466 installed <13>Mar 2 01:57:15 rpmi: libwmflite-0.2.8.4-alt13 sisyphus+275127.100.1.1 1624406837 installed <13>Mar 2 01:57:15 rpmi: liblqr-0.4.2-alt1 sisyphus+276247.100.1.2 1624927461 installed <13>Mar 2 01:57:15 rpmi: djvu-common-3.5.27-alt1 sisyphus+275289.100.1.2 1624473687 installed <13>Mar 2 01:57:15 rpmi: libdjvu-3.5.27-alt1 sisyphus+275289.100.1.2 1624473687 installed <13>Mar 2 01:57:15 rpmi: libgts-0.7.6-alt2.drc20130205.1 sisyphus+275722.100.1.1 1624749869 installed <13>Mar 2 01:57:15 rpmi: libpaper-1.1.28-alt1 sisyphus+278439.100.1.1 1626100422 installed <13>Mar 2 01:57:15 rpmi: libidn2-2.3.2-alt1 sisyphus+281238.100.1.2 1627476321 installed <13>Mar 2 01:57:15 rpmi: libgnutls30-3.6.16-alt1 sisyphus+273086.100.1.1 1622478144 installed <13>Mar 2 01:57:15 rpmi: icon-theme-hicolor-0.17-alt2 sisyphus+248343.100.1.1 1584979043 installed <13>Mar 2 01:57:16 rpmi: libgtk+2-locales-2.24.33-alt1 sisyphus+278555.100.1.2 1626252653 installed <13>Mar 2 01:57:16 rpmi: libnuma-2.0.14-alt2 sisyphus+278485.100.1.1 1626104244 installed <13>Mar 2 01:57:16 rpmi: libx265-199-3.5-alt1.1 sisyphus+277560.100.1.1 1625697230 installed <13>Mar 2 01:57:16 rpmi: libdeflate-1.8-alt1 sisyphus+290923.240.4.1 1638162729 installed <13>Mar 2 01:57:16 rpmi: libtiff5-4.3.0-alt2 sisyphus+290923.300.4.1 1638162792 installed <13>Mar 2 01:57:16 rpmi: libgdk-pixbuf-locales-2.42.6-alt1 sisyphus+277964.100.1.1 1625927113 installed <13>Mar 2 01:57:16 rpmi: libde265-1.0.7-alt1 sisyphus+275350.100.1.2 1624489754 installed <13>Mar 2 01:57:16 rpmi: libaom3-3.3.0-alt1 sisyphus+295999.100.1.1 1646050399 installed <13>Mar 2 01:57:16 rpmi: libatk-locales-2.36.0-alt1 sisyphus+275092.100.2.1 1624560096 installed <13>Mar 2 01:57:16 rpmi: libatk-2.36.0-alt1 sisyphus+275092.100.2.1 1624560096 installed <13>Mar 2 01:57:16 rpmi: libdatrie-0.2.13-alt1_2 sisyphus+285649.100.1.1 1632260802 installed <13>Mar 2 01:57:16 rpmi: libthai-0.1.29-alt1_1 sisyphus+292947.100.1.1 1641111915 installed <13>Mar 2 01:57:16 rpmi: libpixman-3:0.40.0-alt2 sisyphus+281167.100.1.1 1627444504 installed <13>Mar 2 01:57:16 rpmi: libbrotlicommon-1.0.9-alt2 sisyphus+278430.100.1.2 1626213212 installed <13>Mar 2 01:57:16 rpmi: libbrotlidec-1.0.9-alt2 sisyphus+278430.100.1.2 1626213212 installed <13>Mar 2 01:57:16 rpmi: libharfbuzz-3.2.0-alt1 sisyphus+291977.100.2.1 1640010566 installed <13>Mar 2 01:57:16 rpmi: libfreetype-2.11.1-alt1 sisyphus+293609.100.1.1 1642412090 installed <13>Mar 2 01:57:16 rpmi: fontconfig-2.13.1-alt3 sisyphus+294521.100.1.1 1643785095 installed Updating fonts cache: <29>Mar 2 01:57:17 fontconfig: Updating fonts cache: succeeded [ DONE ] <13>Mar 2 01:57:17 rpmi: libraqm-0.7.1-alt1 sisyphus+279320.100.1.2 1626503395 installed <13>Mar 2 01:57:17 rpmi: libharfbuzz-icu-3.2.0-alt1 sisyphus+291977.100.2.1 1640010566 installed <13>Mar 2 01:57:17 rpmi: libharfbuzz-gobject-3.2.0-alt1 sisyphus+291977.100.2.1 1640010566 installed <13>Mar 2 01:57:17 rpmi: libxshmfence-1.3-alt1 sisyphus+278248.100.1.1 1626080762 installed <13>Mar 2 01:57:17 rpmi: libwayland-client-1.20.0-alt1 sisyphus+290473.40.2.1 1639117744 installed <13>Mar 2 01:57:17 rpmi: libpciaccess-1:0.16-alt1 sisyphus+278288.100.1.1 1626084210 installed <13>Mar 2 01:57:17 rpmi: libdrm-1:2.4.109-alt1 sisyphus+291482.100.1.1 1638787694 installed <13>Mar 2 01:57:17 rpmi: libgbm-4:21.3.7-alt1 sisyphus+295883.100.1.1 1645686961 installed <13>Mar 2 01:57:17 rpmi: openexr25-common-2.5.6-alt4 sisyphus+289315.100.1.1 1636546963 installed <13>Mar 2 01:57:17 rpmi: libilmimf25-2.5.6-alt4 sisyphus+289315.100.1.1 1636546963 installed <13>Mar 2 01:57:17 rpmi: openldap-common-2.4.59-alt1 sisyphus+282933.100.1.1 1629124747 installed <13>Mar 2 01:57:17 rpmi: libverto-0.3.2-alt1_1 sisyphus+279289.100.1.3 1626493868 installed <13>Mar 2 01:57:17 rpmi: liblmdb-0.9.23-alt1 sisyphus+275369.100.1.2 1624493869 installed <13>Mar 2 01:57:17 rpmi: libkeyutils-1.6.3-alt1 sisyphus+266061.100.1.1 1612919566 installed <13>Mar 2 01:57:17 rpmi: libcom_err-1.46.4.0.5.4cda-alt1 sisyphus+283826.100.1.1 1629975345 installed <13>Mar 2 01:57:17 rpmi: libxslt-1.1.34-alt3 sisyphus+275636.100.1.1 1624616833 installed <13>Mar 2 01:57:17 rpmi: xsltproc-1.1.34-alt3 sisyphus+275636.100.1.1 1624616833 installed <13>Mar 2 01:57:17 rpmi: desktop-file-utils-0.26-alt2 sisyphus+291568.100.1.1 1638875877 installed <13>Mar 2 01:57:17 rpmi: shared-mime-info-2.1-alt2 sisyphus+292072.100.1.1 1639655302 installed <13>Mar 2 01:57:17 rpmi: gsettings-desktop-schemas-data-41.0-alt1 sisyphus+290326.500.2.1 1637476268 installed <13>Mar 2 01:57:18 rpmi: libgio-2.70.4-alt1 sisyphus+295979.100.1.1 1645946715 installed <13>Mar 2 01:57:18 rpmi: gsettings-desktop-schemas-41.0-alt1 sisyphus+290326.500.2.1 1637476268 installed <13>Mar 2 01:57:18 rpmi: libgdk-pixbuf-2.42.6-alt1 sisyphus+277964.100.1.1 1625927113 installed <13>Mar 2 01:57:18 rpmi: libheif-1.11.0-alt1 sisyphus+279399.100.1.2 1626532543 installed <13>Mar 2 01:57:18 rpmi: gtk-update-icon-cache-3.24.31-alt1 sisyphus+292382.100.3.2 1640095505 installed <13>Mar 2 01:57:18 rpmi: mpdecimal-2.5.1-alt1 sisyphus+291245.40.54.1 1643293433 installed <13>Mar 2 01:57:18 rpmi: liblz4-1:1.9.3-alt1 sisyphus+278100.4000.1.1 1626059441 installed <13>Mar 2 01:57:18 rpmi: libsystemd-1:249.10-alt1 sisyphus+295496.100.2.1 1645359201 installed <13>Mar 2 01:57:18 rpmi: libdbus-1.12.20-alt1 sisyphus+281278.100.1.1 1627484261 installed <13>Mar 2 01:57:18 rpmi: libdbus-glib-1:0.110-alt1 sisyphus+278470.100.1.2 1626224690 installed <13>Mar 2 01:57:18 rpmi: dbus-tools-1.12.20-alt1 sisyphus+281278.100.1.1 1627484261 installed <86>Mar 2 01:57:18 groupadd[300688]: group added to /etc/group: name=messagebus, GID=499 <86>Mar 2 01:57:18 groupadd[300688]: group added to /etc/gshadow: name=messagebus <86>Mar 2 01:57:18 groupadd[300688]: new group: name=messagebus, GID=499 <86>Mar 2 01:57:18 useradd[300720]: new user: name=messagebus, UID=499, GID=499, home=/run/dbus, shell=/dev/null <13>Mar 2 01:57:18 rpmi: dbus-1.12.20-alt1 sisyphus+281278.100.1.1 1627484261 installed <13>Mar 2 01:57:18 rpmi: libavahi-0.8-alt2 sisyphus+279391.100.1.2 1626530679 installed <13>Mar 2 01:57:18 rpmi: libcups-2.3.3-alt7.op2 sisyphus+289457.100.2.1 1636771520 installed <13>Mar 2 01:57:19 rpmi: libgs-9.54.0-alt3 sisyphus+285041.100.1.1 1631376584 installed <13>Mar 2 01:57:19 rpmi: libpolkit-0.120-alt1.qa2 sisyphus+296007.100.1.1 1646053422 installed <13>Mar 2 01:57:19 rpmi: libX11-locales-3:1.7.3-alt1 sisyphus+291550.100.1.1 1638859750 installed <13>Mar 2 01:57:19 rpmi: libXdmcp-1.1.3-alt1 sisyphus+278816.100.1.1 1626219231 installed <13>Mar 2 01:57:19 rpmi: libxcb-1.14-alt1 sisyphus+277968.100.1.3 1625952322 installed <13>Mar 2 01:57:19 rpmi: libX11-3:1.7.3-alt1 sisyphus+291550.100.1.1 1638859750 installed <13>Mar 2 01:57:19 rpmi: libXext-1.3.4-alt1 sisyphus+278817.100.1.3 1626262596 installed <13>Mar 2 01:57:19 rpmi: libXrender-0.9.10-alt1 sisyphus+278480.100.1.2 1626227740 installed <13>Mar 2 01:57:19 rpmi: libXfixes-6.0.0-alt1 sisyphus+284644.300.1.1 1630910331 installed <13>Mar 2 01:57:19 rpmi: libpulseaudio-15.0-alt1 sisyphus+281243.100.1.2 1627477159 installed <13>Mar 2 01:57:19 rpmi: libmikmod-3.3.11.1-alt2 sisyphus+278211.100.1.1 1626077581 installed <13>Mar 2 01:57:19 rpmi: libXcursor-1.2.0-alt1 sisyphus+278256.100.1.2 1626134578 installed <13>Mar 2 01:57:19 rpmi: libXft-2.3.4-alt1 sisyphus+284644.500.1.1 1630910476 installed <13>Mar 2 01:57:19 rpmi: libXrandr-1.5.2-alt1 sisyphus+275330.100.2.2 1624575558 installed <13>Mar 2 01:57:19 rpmi: libSDL-1.2.14-alt10 sisyphus+284852.100.1.1 1631107838 installed <13>Mar 2 01:57:19 rpmi: libSDL_image-1.2.12-alt3.gitd0ea78d sisyphus+278696.40.4.1 1626250409 installed <13>Mar 2 01:57:19 rpmi: libSDL_sound-1.0.3-alt6.git4a8ecd7 sisyphus+284014.100.1.1 1630067364 installed <13>Mar 2 01:57:19 rpmi: libXxf86vm-1.1.4-alt2 sisyphus+275334.100.2.2 1624577011 installed <13>Mar 2 01:57:19 rpmi: libGLX-mesa-4:21.3.7-alt1 sisyphus+295883.100.1.1 1645686961 installed <13>Mar 2 01:57:20 rpmi: libxcb-devel-1.14-alt1 sisyphus+277968.100.1.3 1625952322 installed <13>Mar 2 01:57:20 rpmi: libX11-devel-3:1.7.3-alt1 sisyphus+291550.100.1.1 1638859750 installed <13>Mar 2 01:57:20 rpmi: libXrender-devel-0.9.10-alt1 sisyphus+278480.100.1.2 1626227740 installed <13>Mar 2 01:57:20 rpmi: libXext-devel-1.3.4-alt1 sisyphus+278817.100.1.3 1626262596 installed <13>Mar 2 01:57:20 rpmi: libEGL-mesa-4:21.3.7-alt1 sisyphus+295883.100.1.1 1645686961 installed <13>Mar 2 01:57:20 rpmi: libEGL-7:1.4.0-alt1 sisyphus+292743.100.1.1 1640688162 installed <13>Mar 2 01:57:20 rpmi: libGLX-7:1.4.0-alt1 sisyphus+292743.100.1.1 1640688162 installed <13>Mar 2 01:57:20 rpmi: libGL-7:1.4.0-alt1 sisyphus+292743.100.1.1 1640688162 installed <13>Mar 2 01:57:21 rpmi: libcairo-1:1.16.0-alt1 sisyphus+275343.100.2.3 1624578007 installed <13>Mar 2 01:57:21 rpmi: libglvnd-devel-7:1.4.0-alt1 sisyphus+292743.100.1.1 1640688162 installed <13>Mar 2 01:57:21 rpmi: libpango-1.48.11-alt1 sisyphus+293302.100.1.1 1641918225 installed <13>Mar 2 01:57:21 rpmi: libGLU-4:9.0.1-alt1 sisyphus+278350.100.1.2 1626174382 installed <13>Mar 2 01:57:21 rpmi: libGLU-devel-4:9.0.1-alt1 sisyphus+278350.100.1.2 1626174382 installed <13>Mar 2 01:57:21 rpmi: libSDL-devel-1.2.14-alt10 sisyphus+284852.100.1.1 1631107838 installed <13>Mar 2 01:57:21 rpmi: libSDL_sound-devel-1.0.3-alt6.git4a8ecd7 sisyphus+284014.100.1.1 1630067364 installed <13>Mar 2 01:57:21 rpmi: radius-engine-1.1-alt1_16 sisyphus+248809.100.1.1 1585429381 installed <13>Mar 2 01:57:21 rpmi: liblasi-1.1.3-alt3 sisyphus+286812.100.2.1 1633968131 installed <13>Mar 2 01:57:21 rpmi: libGL-devel-4:21.3.7-alt1 sisyphus+295883.100.1.1 1645686961 installed <13>Mar 2 01:57:21 rpmi: libcairo-gobject-1:1.16.0-alt1 sisyphus+275343.100.2.3 1624578007 installed <13>Mar 2 01:57:21 rpmi: librsvg-1:2.52.6-alt1 sisyphus+296062.100.1.1 1646150107 installed <13>Mar 2 01:57:21 rpmi: libSDL_gfx-2.0.25-alt1 sisyphus+275321.100.1.3 1624484299 installed <13>Mar 2 01:57:21 rpmi: libSDL_mixer-1.2.12-alt2.git40a7e1a sisyphus+278696.140.4.1 1626250504 installed <13>Mar 2 01:57:21 rpmi: libSDL_net-1.2.8-alt3.git9a629d6 sisyphus+284017.100.1.1 1630068458 installed <13>Mar 2 01:57:21 rpmi: libSDL_ttf-2.0.11-alt1.git1ed61fe sisyphus+278696.400.4.1 1626250621 installed <13>Mar 2 01:57:21 rpmi: libXi-1.8-alt1 sisyphus+285490.200.1.1 1632124174 installed <13>Mar 2 01:57:21 rpmi: libXinerama-1.1.4-alt1 sisyphus+275328.100.2.2 1624575558 installed <13>Mar 2 01:57:21 rpmi: libXxf86dga-1.1.5-alt1 sisyphus+275332.100.2.2 1624575558 installed <13>Mar 2 01:57:21 rpmi: dbus-tools-gui-1.12.20-alt1 sisyphus+281278.100.1.1 1627484261 installed <13>Mar 2 01:57:21 rpmi: libXt-1.2.1-alt1 sisyphus+265202.200.1.1 1611565457 installed <13>Mar 2 01:57:21 rpmi: libXpm-3.5.13-alt1 sisyphus+278339.100.1.2 1626171698 installed <13>Mar 2 01:57:21 rpmi: liballegro4.4-4.4.3.1-alt1 sisyphus+288233.100.1.1 1635332151 installed <13>Mar 2 01:57:21 rpmi: dumb-0.9.3-alt5 sisyphus+275716.100.1.1 1624748888 installed <13>Mar 2 01:57:21 rpmi: libguichan-0.8.2-alt3.1 1433991057 installed <13>Mar 2 01:57:21 rpmi: libgd3-2.3.3-alt1 sisyphus+286379.100.1.1 1633353307 installed <13>Mar 2 01:57:21 rpmi: libXcomposite-0.4.5-alt1 sisyphus+275323.100.2.2 1624573269 installed <13>Mar 2 01:57:21 rpmi: libXdamage-1.1.5-alt1 sisyphus+275324.100.2.2 1624573269 installed <13>Mar 2 01:57:21 rpmi: libgtk+2-2.24.33-alt1 sisyphus+278555.100.1.2 1626252653 installed <13>Mar 2 01:57:21 rpmi: libgraphviz-2.41.2-alt5 sisyphus+291245.1200.54.1 1643295334 installed <13>Mar 2 01:57:21 rpmi: libImageMagick6.7-6.9.12.40-alt1 sisyphus+295711.100.2.1 1645366466 installed <13>Mar 2 01:57:21 rpmi: ImageMagick-tools-6.9.12.40-alt1 sisyphus+295711.100.2.1 1645366466 installed <13>Mar 2 01:57:22 rpmi: liballegro-devel-4.4.3.1-alt1 sisyphus+288233.100.1.1 1635332151 installed <13>Mar 2 01:57:22 rpmi: libffi7-1:3.3-alt2 sisyphus+287337.160.5.1 1634396592 installed <13>Mar 2 01:57:22 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+278157.100.2.1 1626055790 installed <13>Mar 2 01:57:22 rpmi: alternatives-0.5.1-alt1 sisyphus+278157.100.2.1 1626055790 installed <13>Mar 2 01:57:22 rpmi: ca-certificates-2021.10.06-alt1 sisyphus+286526.200.1.1 1633528578 installed <13>Mar 2 01:57:22 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Mar 2 01:57:22 rpmi: p11-kit-trust-0.24.1-alt1 sisyphus+293720.100.1.1 1642535264 installed <13>Mar 2 01:57:22 rpmi: libcrypto1.1-1.1.1m-alt1 sisyphus+295032.100.1.1 1644334703 installed <13>Mar 2 01:57:22 rpmi: libssl1.1-1.1.1m-alt1 sisyphus+295032.100.1.1 1644334703 installed <13>Mar 2 01:57:22 rpmi: python3-3.10.2-alt1.1 sisyphus+294733.100.1.1 1643981428 installed <13>Mar 2 01:57:23 rpmi: python3-base-3.10.2-alt1.1 sisyphus+294733.100.1.1 1643981428 installed <13>Mar 2 01:57:23 rpmi: glib2-devel-2.70.4-alt1 sisyphus+295979.100.1.1 1645946715 installed <13>Mar 2 01:57:23 rpmi: libfreetype-devel-2.11.1-alt1 sisyphus+293609.100.1.1 1642412090 installed <13>Mar 2 01:57:23 rpmi: libharfbuzz-devel-3.2.0-alt1 sisyphus+291977.100.2.1 1640010566 installed <13>Mar 2 01:57:23 rpmi: fontconfig-devel-2.13.1-alt3 sisyphus+294521.100.1.1 1643785095 installed <13>Mar 2 01:57:23 rpmi: libcairo-devel-1:1.16.0-alt1 sisyphus+275343.100.2.3 1624578007 installed <13>Mar 2 01:57:23 rpmi: libgio-devel-2.70.4-alt1 sisyphus+295979.100.1.1 1645946715 installed <13>Mar 2 01:57:23 rpmi: libgdk-pixbuf-devel-2.42.6-alt1 sisyphus+277964.100.1.1 1625927113 installed <13>Mar 2 01:57:23 rpmi: libXft-devel-2.3.4-alt1 sisyphus+284644.500.1.1 1630910476 installed <13>Mar 2 01:57:23 rpmi: libpango-devel-1.48.11-alt1 sisyphus+293302.100.1.1 1641918225 installed <13>Mar 2 01:57:23 rpmi: libatk-devel-2.36.0-alt1 sisyphus+275092.100.2.1 1624560096 installed <13>Mar 2 01:57:23 rpmi: libpulseaudio-devel-15.0-alt1 sisyphus+281243.100.1.2 1627477159 installed <13>Mar 2 01:57:23 rpmi: gtk-builder-convert-2.24.33-alt1 sisyphus+278555.100.1.2 1626252653 installed <86>Mar 2 01:57:23 groupadd[314673]: group added to /etc/group: name=_keytab, GID=498 <86>Mar 2 01:57:23 groupadd[314673]: group added to /etc/gshadow: name=_keytab <86>Mar 2 01:57:23 groupadd[314673]: new group: name=_keytab, GID=498 <13>Mar 2 01:57:23 rpmi: libkrb5-1.19.2-alt2 sisyphus+281652.100.1.1 1627900207 installed <86>Mar 2 01:57:23 groupadd[314958]: group added to /etc/group: name=sasl, GID=497 <86>Mar 2 01:57:23 groupadd[314958]: group added to /etc/gshadow: name=sasl <86>Mar 2 01:57:23 groupadd[314958]: new group: name=sasl, GID=497 <13>Mar 2 01:57:23 rpmi: libsasl2-3-2.1.27-alt2.2 sisyphus+282040.40.2.1 1628929840 installed <13>Mar 2 01:57:23 rpmi: libldap-2.4.59-alt1 sisyphus+282933.100.1.1 1629124747 installed <13>Mar 2 01:57:23 rpmi: libGConf-3.2.6-alt4 sisyphus+275029.100.1.1 1624391042 installed <13>Mar 2 01:57:23 rpmi: libncurses-6.3.20211106-alt2 sisyphus+294456.100.3.1 1643966445 installed <13>Mar 2 01:57:23 rpmi: libtinfo-devel-6.3.20211106-alt2 sisyphus+294456.100.3.1 1643966445 installed <13>Mar 2 01:57:23 rpmi: libncurses-devel-6.3.20211106-alt2 sisyphus+294456.100.3.1 1643966445 installed <13>Mar 2 01:57:23 rpmi: libpython-2.7.18-alt8 sisyphus+286676.100.1.1 1633726916 installed <13>Mar 2 01:57:23 rpmi: python2-base-2.7.18-alt8 sisyphus+286676.100.1.1 1633726916 installed <13>Mar 2 01:57:23 rpmi: python-modules-compiler-2.7.18-alt8 sisyphus+286676.100.1.1 1633726916 installed <13>Mar 2 01:57:23 rpmi: python-modules-email-2.7.18-alt8 sisyphus+286676.100.1.1 1633726916 installed <13>Mar 2 01:57:23 rpmi: python-modules-unittest-2.7.18-alt8 sisyphus+286676.100.1.1 1633726916 installed <13>Mar 2 01:57:24 rpmi: python-modules-2.7.18-alt8 sisyphus+286676.100.1.1 1633726916 installed <13>Mar 2 01:57:24 rpmi: python-modules-encodings-2.7.18-alt8 sisyphus+286676.100.1.1 1633726916 installed <13>Mar 2 01:57:24 rpmi: python-modules-xml-2.7.18-alt8 sisyphus+286676.100.1.1 1633726916 installed <13>Mar 2 01:57:24 rpmi: python-modules-hotshot-2.7.18-alt8 sisyphus+286676.100.1.1 1633726916 installed <13>Mar 2 01:57:24 rpmi: python-modules-bsddb-2.7.18-alt8 sisyphus+286676.100.1.1 1633726916 installed <13>Mar 2 01:57:24 rpmi: python-modules-ctypes-2.7.18-alt8 sisyphus+286676.100.1.1 1633726916 installed <13>Mar 2 01:57:24 rpmi: python-modules-multiprocessing-2.7.18-alt8 sisyphus+286676.100.1.1 1633726916 installed <13>Mar 2 01:57:24 rpmi: python-modules-logging-2.7.18-alt8 sisyphus+286676.100.1.1 1633726916 installed <13>Mar 2 01:57:24 rpmi: rpm-build-python-0.43.2-alt1 sisyphus+271106.100.1.1 1619868598 installed <13>Mar 2 01:57:24 rpmi: python-modules-curses-2.7.18-alt8 sisyphus+286676.100.1.1 1633726916 installed <13>Mar 2 01:57:24 rpmi: python-2.7.18-alt8 sisyphus+286676.100.1.1 1633726916 installed <13>Mar 2 01:57:24 rpmi: python-modules-distutils-2.7.18-alt8 sisyphus+286676.100.1.1 1633726916 installed <13>Mar 2 01:57:24 rpmi: python-dev-2.7.18-alt8 sisyphus+286676.100.1.1 1633726916 installed <13>Mar 2 01:57:24 rpmi: GConf-3.2.6-alt4 sisyphus+275029.100.1.1 1624391042 installed <13>Mar 2 01:57:24 rpmi: libgtk+2-devel-2.24.33-alt1 sisyphus+278555.100.1.2 1626252653 installed <13>Mar 2 01:57:24 rpmi: libmikmod-devel-3.3.11.1-alt2 sisyphus+278211.100.1.1 1626077581 installed <13>Mar 2 01:57:24 rpmi: dumb-devel-0.9.3-alt5 sisyphus+275716.100.1.1 1624748888 installed <13>Mar 2 01:57:24 rpmi: libguichan-devel-0.8.2-alt3.1 1433991057 installed <13>Mar 2 01:57:24 rpmi: libSDL_ttf-devel-2.0.11-alt1.git1ed61fe sisyphus+278696.400.4.1 1626250621 installed <13>Mar 2 01:57:24 rpmi: libSDL_net-devel-1.2.8-alt3.git9a629d6 sisyphus+284017.100.1.1 1630068458 installed <13>Mar 2 01:57:24 rpmi: libSDL_mixer-devel-1.2.12-alt2.git40a7e1a sisyphus+278696.140.4.1 1626250504 installed <13>Mar 2 01:57:24 rpmi: libSDL_gfx-devel-2.0.25-alt1 sisyphus+275321.100.1.3 1624484299 installed <13>Mar 2 01:57:24 rpmi: radius-engine-devel-1.1-alt1_16 sisyphus+248809.100.1.1 1585429381 installed <13>Mar 2 01:57:24 rpmi: libSDL_image-devel-1.2.12-alt3.gitd0ea78d sisyphus+278696.40.4.1 1626250409 installed <13>Mar 2 01:57:24 rpmi: gcc-c++-11-alt1 sisyphus+285602.400.1.1 1632238564 installed <13>Mar 2 01:57:24 rpmi: gcc-fortran-11-alt1 sisyphus+285602.400.1.1 1632238564 installed <13>Mar 2 01:57:24 rpmi: unzip-6.0-alt4 sisyphus+278477.100.1.1 1626103435 installed <13>Mar 2 01:57:24 rpmi: libSM-devel-1.2.3-alt1 sisyphus+278820.100.1.1 1626219264 installed <13>Mar 2 01:57:24 rpmi: libxml2-devel-1:2.9.12-alt1 sisyphus+291245.3700.54.1 1643297460 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/maxr-0.2.6-alt2_3.nosrc.rpm (w1.gzdio) Installing maxr-0.2.6-alt2_3.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.77193 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf maxr-0.2.6 + echo 'Source #0 (maxr-0.2.6.tar.gz):' Source #0 (maxr-0.2.6.tar.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/maxr-0.2.6.tar.gz + /bin/tar -xf - + cd maxr-0.2.6 + /bin/chmod -c -Rf u+rwX,go-w . + sed -i 's/\r//' CHANGELOG + iconv -f iso-8859-1 -t utf-8 -o COPYING.README.utf8 COPYING.README + touch -c -r COPYING.README COPYING.README.utf8 + mv -f COPYING.README.utf8 COPYING.README + iconv -f iso-8859-1 -t utf-8 -o ABOUT.utf8 ABOUT + touch -c -r ABOUT ABOUT.utf8 + mv -f ABOUT.utf8 ABOUT + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.40972 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd maxr-0.2.6 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FCFLAGS + '[' -n '' ']' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + ASFLAGS= + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + xargs -ri dirname -- '{}' + sort -u + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + readlink -e -- ./configure + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext configure: WARNING: unrecognized options: --disable-silent-rules, --without-included-gettext checking for a sed that does not truncate output... /bin/sed checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for x86_64-alt-linux-gcc... x86_64-alt-linux-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of x86_64-alt-linux-gcc... none checking for x86_64-alt-linux-g++... x86_64-alt-linux-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-alt-linux-g++ accepts -g... yes checking dependency style of x86_64-alt-linux-g++... none checking for gawk... (cached) gawk checking build system type... x86_64-alt-linux-gnu checking host system type... x86_64-alt-linux-gnu checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by x86_64-alt-linux-gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... -r checking for x86_64-alt-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... (cached) pass_all checking for x86_64-alt-linux-ar... no checking for ar... ar checking for x86_64-alt-linux-strip... no checking for strip... strip checking for x86_64-alt-linux-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from x86_64-alt-linux-gcc object... ok checking how to run the C preprocessor... x86_64-alt-linux-gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking whether we are using the GNU C++ compiler... (cached) yes checking whether x86_64-alt-linux-g++ accepts -g... (cached) yes checking dependency style of x86_64-alt-linux-g++... (cached) none checking how to run the C++ preprocessor... x86_64-alt-linux-g++ -E checking for objdir... .libs checking if x86_64-alt-linux-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-alt-linux-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-alt-linux-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-alt-linux-gcc static flag -static works... no checking if x86_64-alt-linux-gcc supports -c -o file.o... yes checking if x86_64-alt-linux-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-alt-linux-gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for ld used by x86_64-alt-linux-g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the x86_64-alt-linux-g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for x86_64-alt-linux-g++ option to produce PIC... -fPIC -DPIC checking if x86_64-alt-linux-g++ PIC flag -fPIC -DPIC works... yes checking if x86_64-alt-linux-g++ static flag -static works... no checking if x86_64-alt-linux-g++ supports -c -o file.o... yes checking if x86_64-alt-linux-g++ supports -c -o file.o... (cached) yes checking whether the x86_64-alt-linux-g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for sdl-config... sdl-config checking for SDL_Init in -lSDL... yes checking SDL/SDL.h usability... yes checking SDL/SDL.h presence... yes checking for SDL/SDL.h... yes checking for Mix_OpenAudio in -lSDL_mixer... yes checking SDL/SDL_mixer.h usability... yes checking SDL/SDL_mixer.h presence... yes checking for SDL/SDL_mixer.h... yes checking for SDLNet_Init in -lSDL_net... yes checking SDL/SDL_net.h usability... yes checking SDL/SDL_net.h presence... yes checking for SDL/SDL_net.h... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands configure: WARNING: unrecognized options: --disable-silent-rules, --without-included-gettext + make -j8 make all-recursive Making all in . make[2]: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6' /bin/sh ./buildinfo.sh /usr/share/maxr Creating autoversion.h Couldn't read svn info from src/.svn make[2]: Leaving directory '/usr/src/RPM/BUILD/maxr-0.2.6' Making all in src make[2]: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_AUTOVERSION_H -DRELEASE -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o clientevents.o clientevents.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_AUTOVERSION_H -DRELEASE -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o drawingcache.o drawingcache.cpp drawingcache.cpp: In member function 'SDL_Surface* cDrawingCache::getCachedImage(cVehicle*)': drawingcache.cpp:205:42: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 205 | if ( entry.frame != Client->iFrame % 4 ) continue; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_AUTOVERSION_H -DRELEASE -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o clans.o clans.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_AUTOVERSION_H -DRELEASE -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o automjobs.o automjobs.cpp automjobs.cpp: In member function 'float cAutoMJob::CalcFactor(int, int)': automjobs.cpp:221:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 221 | if ( i == iNumber ) continue; | ~~^~~~~~~~~~ automjobs.cpp: In member function 'void cAutoMJob::PlanLongMove()': automjobs.cpp:265:39: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 265 | if (i == iNumber || autoMJobs[i]->vehicle->owner != vehicle->owner) continue; | ~~^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_AUTOVERSION_H -DRELEASE -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o attackJobs.o attackJobs.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_AUTOVERSION_H -DRELEASE -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o base.o base.cpp In file included from base.cpp:19: base.h: In constructor 'sSubBase::sSubBase(int, cPlayer*)': base.h:154:13: warning: 'sSubBase::GoldProd' will be initialized after [-Wreorder] 154 | int GoldProd; | ^~~~~~~~ base.h:59:13: warning: 'int sSubBase::HumanProd' [-Wreorder] 59 | int HumanProd; | ^~~~~~~~~ base.cpp:25:1: warning: when initialized here [-Wreorder] 25 | sSubBase::sSubBase( int iNextID, cPlayer* owner_ ) : | ^~~~~~~~ In file included from base.cpp:19: base.h:61:13: warning: 'sSubBase::MaxHumanNeed' will be initialized after [-Wreorder] 61 | int MaxHumanNeed; | ^~~~~~~~~~~~ base.h:39:13: warning: 'int sSubBase::iID' [-Wreorder] 39 | int iID; | ^~~ base.cpp:25:1: warning: when initialized here [-Wreorder] 25 | sSubBase::sSubBase( int iNextID, cPlayer* owner_ ) : | ^~~~~~~~ In file included from base.cpp:19: base.h:39:13: warning: 'sSubBase::iID' will be initialized after [-Wreorder] 39 | int iID; | ^~~ base.h:37:18: warning: 'cPlayer* sSubBase::owner' [-Wreorder] 37 | cPlayer* owner; | ^~~~~ base.cpp:25:1: warning: when initialized here [-Wreorder] 25 | sSubBase::sSubBase( int iNextID, cPlayer* owner_ ) : | ^~~~~~~~ In file included from base.cpp:19: base.h: In copy constructor 'sSubBase::sSubBase(const sSubBase&)': base.h:154:13: warning: 'sSubBase::GoldProd' will be initialized after [-Wreorder] 154 | int GoldProd; | ^~~~~~~~ base.h:59:13: warning: 'int sSubBase::HumanProd' [-Wreorder] 59 | int HumanProd; | ^~~~~~~~~ base.cpp:53:1: warning: when initialized here [-Wreorder] 53 | sSubBase::sSubBase( const sSubBase& sb ) : | ^~~~~~~~ In file included from base.cpp:19: base.h:61:13: warning: 'sSubBase::MaxHumanNeed' will be initialized after [-Wreorder] 61 | int MaxHumanNeed; | ^~~~~~~~~~~~ base.h:39:13: warning: 'int sSubBase::iID' [-Wreorder] 39 | int iID; | ^~~ base.cpp:53:1: warning: when initialized here [-Wreorder] 53 | sSubBase::sSubBase( const sSubBase& sb ) : | ^~~~~~~~ base.cpp: In member function 'void sSubBase::addRessouce(sUnitData::eStorageResType, int)': base.cpp:430:16: warning: enumeration value 'STORE_RES_NONE' not handled in switch [-Wswitch] 430 | switch ( storeResType ) | ^ base.cpp: In member function 'void sSubBase::addBuilding(cBuilding*)': base.cpp:1098:16: warning: enumeration value 'STORE_RES_NONE' not handled in switch [-Wswitch] 1098 | switch ( b->data.storeResType ) | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_AUTOVERSION_H -DRELEASE -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o extendedtinyxml.o extendedtinyxml.cpp extendedtinyxml.cpp: In member function 'ExTiXmlNode::XmlGetFirstNodeChild()': extendedtinyxml.cpp:88:9: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] 88 | if( this == NULL ) | ^~ extendedtinyxml.cpp: In member function 'ExTiXmlNode::XmlGetNextNodeSibling()': extendedtinyxml.cpp:102:9: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] 102 | if( this == NULL ) | ^~ extendedtinyxml.cpp: In member function 'ExTiXmlNode::XmlReadNodeData(std::__cxx11::basic_string, std::allocator >&, ExTiXmlNode::XML_NODE_TYPE)': extendedtinyxml.cpp:120:9: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] 120 | if( this == NULL ) | ^~ extendedtinyxml.cpp: In member function 'ExTiXmlNode::XmlReadNodeData(std::__cxx11::basic_string, std::allocator >&, ExTiXmlNode::XML_NODE_TYPE, char const*)': extendedtinyxml.cpp:191:9: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] 191 | if( this == NULL ) | ^~ make[2]: Leaving directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_AUTOVERSION_H -DRELEASE -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o dialog.o dialog.cpp In file included from dialog.h:22, from dialog.cpp:22: menus.h: In constructor 'sClientLandData::sClientLandData()': menus.h:55:25: warning: 'sClientLandData::iLastLandY' will be initialized after [-Wreorder] 55 | int iLastLandX, iLastLandY; | ^~~~~~~~~~ menus.h:54:23: warning: 'eLandingState sClientLandData::landingState' [-Wreorder] 54 | eLandingState landingState; | ^~~~~~~~~~~~ menus.h:58:9: warning: when initialized here [-Wreorder] 58 | sClientLandData() : iLandX(0), iLandY(0), iLastLandX(0), iLastLandY(0), landingState ( LANDING_STATE_UNKNOWN ), receivedOK(true) {} | ^~~~~~~~~~~~~~~ In file included from dialog.h:22, from dialog.cpp:22: menus.h: In constructor 'cGameDataContainer::cGameDataContainer()': menus.h:154:15: warning: 'cGameDataContainer::map' will be initialized after [-Wreorder] 154 | cMap *map; | ^~~ menus.h:144:20: warning: 'eGameTypes cGameDataContainer::type' [-Wreorder] 144 | eGameTypes type; | ^~~~ menus.h:164:9: warning: when initialized here [-Wreorder] 164 | cGameDataContainer() : settings(NULL), map(NULL), type(GAME_TYPE_SINGLE), savegameNum(-1) {} | ^~~~~~~~~~~~~~~~~~ dialog.cpp: In destructor 'cDialogYesNow::~cDialogYesNow()': dialog.cpp:54:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 54 | delete textLabel; | ^~~~~~~~~~~~~~~~ dialog.cpp:55:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 55 | delete yesButton; | ^~~~~~~~~~~~~~~~ dialog.cpp:56:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 56 | delete noButton; | ^~~~~~~~~~~~~~~ dialog.cpp: In member function 'virtual void cDialogYesNow::handleKeyInput(SDL_KeyboardEvent&, std::string)': dialog.cpp:63:16: warning: enumeration value 'SDLK_UNKNOWN' not handled in switch [-Wswitch] 63 | switch ( key.keysym.sym ) | ^ dialog.cpp:63:16: warning: enumeration value 'SDLK_FIRST' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_BACKSPACE' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_TAB' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_CLEAR' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_PAUSE' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_SPACE' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_EXCLAIM' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_QUOTEDBL' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_HASH' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_DOLLAR' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_AMPERSAND' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_QUOTE' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_LEFTPAREN' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_RIGHTPAREN' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_ASTERISK' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_PLUS' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_COMMA' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_MINUS' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_PERIOD' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_SLASH' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_0' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_1' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_2' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_3' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_4' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_5' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_6' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_7' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_8' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_9' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_COLON' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_SEMICOLON' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_LESS' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_EQUALS' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_GREATER' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_QUESTION' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_AT' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_LEFTBRACKET' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_BACKSLASH' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_RIGHTBRACKET' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_CARET' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_UNDERSCORE' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_BACKQUOTE' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_a' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_b' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_c' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_d' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_e' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_f' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_g' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_h' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_i' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_j' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_k' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_l' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_m' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_n' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_o' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_p' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_q' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_r' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_s' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_t' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_u' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_v' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_w' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_x' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_y' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_z' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_DELETE' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_0' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_1' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_2' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_3' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_4' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_5' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_6' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_7' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_8' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_9' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_10' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_11' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_12' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_13' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_14' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_15' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_16' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_17' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_18' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_19' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_20' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_21' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_22' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_23' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_24' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_25' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_26' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_27' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_28' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_29' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_30' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_31' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_32' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_33' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_34' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_35' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_36' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_37' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_38' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_39' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_40' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_41' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_42' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_43' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_44' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_45' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_46' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_47' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_48' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_49' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_50' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_51' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_52' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_53' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_54' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_55' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_56' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_57' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_58' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_59' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_60' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_61' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_62' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_63' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_64' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_65' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_66' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_67' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_68' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_69' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_70' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_71' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_72' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_73' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_74' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_75' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_76' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_77' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_78' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_79' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_80' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_81' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_82' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_83' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_84' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_85' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_86' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_87' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_88' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_89' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_90' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_91' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_92' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_93' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_94' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_WORLD_95' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_KP0' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_KP1' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_KP2' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_KP3' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_KP4' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_KP5' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_KP6' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_KP7' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_KP8' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_KP9' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_KP_PERIOD' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_KP_DIVIDE' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_KP_MULTIPLY' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_KP_MINUS' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_KP_PLUS' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_KP_ENTER' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_KP_EQUALS' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_UP' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_DOWN' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_RIGHT' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_LEFT' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_INSERT' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_HOME' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_END' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_PAGEUP' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_PAGEDOWN' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_F1' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_F2' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_F3' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_F4' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_F5' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_F6' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_F7' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_F8' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_F9' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_F10' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_F11' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_F12' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_F13' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_F14' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_F15' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_NUMLOCK' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_CAPSLOCK' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_SCROLLOCK' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_RSHIFT' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_LSHIFT' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_RCTRL' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_LCTRL' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_RALT' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_LALT' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_RMETA' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_LMETA' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_LSUPER' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_RSUPER' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_MODE' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_COMPOSE' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_HELP' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_PRINT' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_SYSREQ' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_BREAK' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_MENU' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_POWER' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_EURO' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_UNDO' not handled in switch [-Wswitch] dialog.cpp:63:16: warning: enumeration value 'SDLK_LAST' not handled in switch [-Wswitch] dialog.cpp: In destructor 'cDialogOK::~cDialogOK()': dialog.cpp:102:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 102 | delete textLabel; | ^~~~~~~~~~~~~~~~ dialog.cpp:103:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 103 | delete okButton; | ^~~~~~~~~~~~~~~ dialog.cpp: In destructor 'cDialogLicence::~cDialogLicence()': dialog.cpp:157:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 157 | delete maxrLabel; | ^~~~~~~~~~~~~~~~ dialog.cpp:158:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 158 | delete headerLabel; | ^~~~~~~~~~~~~~~~~~ dialog.cpp:159:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 159 | delete textLabel; | ^~~~~~~~~~~~~~~~ dialog.cpp:161:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 161 | delete okButton; | ^~~~~~~~~~~~~~~ dialog.cpp:162:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 162 | delete upButton; | ^~~~~~~~~~~~~~~ dialog.cpp:163:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 163 | delete downButton; | ^~~~~~~~~~~~~~~~~ dialog.cpp: In destructor 'cDialogPreferences::~cDialogPreferences()': dialog.cpp:404:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 404 | delete titleLabel; | ^~~~~~~~~~~~~~~~~ dialog.cpp:406:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 406 | delete volumeLabel; | ^~~~~~~~~~~~~~~~~~ dialog.cpp:407:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 407 | delete musicLabel; | ^~~~~~~~~~~~~~~~~ dialog.cpp:408:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 408 | delete effectsLabel; | ^~~~~~~~~~~~~~~~~~~ dialog.cpp:409:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 409 | delete voicesLabel; | ^~~~~~~~~~~~~~~~~~ dialog.cpp:410:9: warning: deleting object of polymorphic class type 'cMenuCheckButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 410 | delete disableMusicChBox; | ^~~~~~~~~~~~~~~~~~~~~~~~ dialog.cpp:411:9: warning: deleting object of polymorphic class type 'cMenuCheckButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 411 | delete disableEffectsChBox; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ dialog.cpp:412:9: warning: deleting object of polymorphic class type 'cMenuCheckButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 412 | delete disableVoicesChBox; | ^~~~~~~~~~~~~~~~~~~~~~~~~ dialog.cpp:413:9: warning: deleting object of polymorphic class type 'cMenuSlider' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 413 | delete musicSlider; | ^~~~~~~~~~~~~~~~~~ dialog.cpp:414:9: warning: deleting object of polymorphic class type 'cMenuSlider' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 414 | delete effectsSlider; | ^~~~~~~~~~~~~~~~~~~~ dialog.cpp:415:9: warning: deleting object of polymorphic class type 'cMenuSlider' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 415 | delete voicesSlider; | ^~~~~~~~~~~~~~~~~~~ dialog.cpp:417:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 417 | delete nameLabel; | ^~~~~~~~~~~~~~~~ dialog.cpp:418:9: warning: deleting object of polymorphic class type 'cMenuLineEdit' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 418 | delete nameEdit; | ^~~~~~~~~~~~~~~ dialog.cpp:420:9: warning: deleting object of polymorphic class type 'cMenuCheckButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 420 | delete animationChBox; | ^~~~~~~~~~~~~~~~~~~~~ dialog.cpp:421:9: warning: deleting object of polymorphic class type 'cMenuCheckButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 421 | delete shadowsChBox; | ^~~~~~~~~~~~~~~~~~~ dialog.cpp:422:9: warning: deleting object of polymorphic class type 'cMenuCheckButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 422 | delete alphaChBox; | ^~~~~~~~~~~~~~~~~ dialog.cpp:423:9: warning: deleting object of polymorphic class type 'cMenuCheckButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 423 | delete demageBuilChBox; | ^~~~~~~~~~~~~~~~~~~~~~ dialog.cpp:424:9: warning: deleting object of polymorphic class type 'cMenuCheckButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 424 | delete demageVehChBox; | ^~~~~~~~~~~~~~~~~~~~~ dialog.cpp:425:9: warning: deleting object of polymorphic class type 'cMenuCheckButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 425 | delete tracksChBox; | ^~~~~~~~~~~~~~~~~~ dialog.cpp:427:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 427 | delete scrollSpeedLabel; | ^~~~~~~~~~~~~~~~~~~~~~~ dialog.cpp:428:9: warning: deleting object of polymorphic class type 'cMenuSlider' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 428 | delete scrollSpeedSlider; | ^~~~~~~~~~~~~~~~~~~~~~~~ dialog.cpp:430:9: warning: deleting object of polymorphic class type 'cMenuCheckButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 430 | delete autosaveChBox; | ^~~~~~~~~~~~~~~~~~~~ dialog.cpp:431:9: warning: deleting object of polymorphic class type 'cMenuCheckButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 431 | delete introChBox; | ^~~~~~~~~~~~~~~~~ dialog.cpp:432:9: warning: deleting object of polymorphic class type 'cMenuCheckButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 432 | delete windowChBox; | ^~~~~~~~~~~~~~~~~~ dialog.cpp:434:9: warning: deleting object of polymorphic class type 'cMenuRadioGroup' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 434 | delete resoulutionGroup; | ^~~~~~~~~~~~~~~~~~~~~~~ dialog.cpp:436:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 436 | delete okButton; | ^~~~~~~~~~~~~~~ dialog.cpp:437:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 437 | delete cancelButton; | ^~~~~~~~~~~~~~~~~~~ In file included from dialog.cpp:22: dialog.h: In constructor 'cDialogTransfer::cDialogTransfer(cBuilding*, cVehicle*, cBuilding*, cVehicle*)': dialog.h:154:19: warning: 'cDialogTransfer::srcVehicle' will be initialized after [-Wreorder] 154 | cVehicle *srcVehicle, *destVehicle; | ^~~~~~~~~~ dialog.h:153:34: warning: 'cBuilding* cDialogTransfer::destBuilding' [-Wreorder] 153 | cBuilding *srcBuilding, *destBuilding; | ^~~~~~~~~~~~ dialog.cpp:571:1: warning: when initialized here [-Wreorder] 571 | cDialogTransfer::cDialogTransfer( cBuilding *srcBuilding_, cVehicle *srcVehicle_, cBuilding *destBuilding_, cVehicle *destVehicle_ ) : | ^~~~~~~~~~~~~~~ dialog.cpp: In destructor 'cDialogTransfer::~cDialogTransfer()': dialog.cpp:634:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 634 | delete doneButton; | ^~~~~~~~~~~~~~~~~ dialog.cpp:635:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 635 | delete cancelButton; | ^~~~~~~~~~~~~~~~~~~ dialog.cpp:637:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 637 | delete incButton; | ^~~~~~~~~~~~~~~~ dialog.cpp:638:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 638 | delete decButton; | ^~~~~~~~~~~~~~~~ dialog.cpp:640:9: warning: deleting object of polymorphic class type 'cMenuMaterialBar' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 640 | delete resBar; | ^~~~~~~~~~~~~ dialog.cpp:642:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 642 | delete transferLabel; | ^~~~~~~~~~~~~~~~~~~~ dialog.cpp:646:17: warning: deleting object of polymorphic class type 'cMenuImage' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 646 | delete unitImages[i]; | ^~~~~~~~~~~~~~~~~~~~ dialog.cpp:648:17: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 648 | delete unitNameLabels[i]; | ^~~~~~~~~~~~~~~~~~~~~~~~ dialog.cpp:649:17: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 649 | delete unitCargoLabels[i]; | ^~~~~~~~~~~~~~~~~~~~~~~~~ dialog.cpp: In member function 'void cDialogTransfer::getTransferType()': dialog.cpp:687:16: warning: enumeration value 'STORE_RES_NONE' not handled in switch [-Wswitch] 687 | switch ( tmpTransferType ) | ^ dialog.cpp: In member function 'void cDialogTransfer::getNamesNCargoNImages()': dialog.cpp:708:63: warning: narrowing conversion of '((cDialogTransfer*)this)->cDialogTransfer::srcBuilding->cBuilding::typ->sBuilding::img->SDL_Surface::w' from 'int' to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] 708 | SDL_Rect src = { 0, 0, srcBuilding->typ->img->w, srcBuilding->typ->img->h }; | ~~~~~~~~~~~~~~~~~~~~~~~^ dialog.cpp:708:89: warning: narrowing conversion of '((cDialogTransfer*)this)->cDialogTransfer::srcBuilding->cBuilding::typ->sBuilding::img->SDL_Surface::h' from 'int' to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] 708 | SDL_Rect src = { 0, 0, srcBuilding->typ->img->w, srcBuilding->typ->img->h }; | ~~~~~~~~~~~~~~~~~~~~~~~^ dialog.cpp:720:32: warning: enumeration value 'STORE_RES_NONE' not handled in switch [-Wswitch] 720 | switch ( destVehicle->data.storeResType ) | ^ dialog.cpp:758:64: warning: narrowing conversion of '((cDialogTransfer*)this)->cDialogTransfer::destBuilding->cBuilding::typ->sBuilding::img->SDL_Surface::w' from 'int' to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] 758 | SDL_Rect src = { 0, 0, destBuilding->typ->img->w, destBuilding->typ->img->h }; | ~~~~~~~~~~~~~~~~~~~~~~~~^ dialog.cpp:758:91: warning: narrowing conversion of '((cDialogTransfer*)this)->cDialogTransfer::destBuilding->cBuilding::typ->sBuilding::img->SDL_Surface::h' from 'int' to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] 758 | SDL_Rect src = { 0, 0, destBuilding->typ->img->w, destBuilding->typ->img->h }; | ~~~~~~~~~~~~~~~~~~~~~~~~^ dialog.cpp:770:32: warning: enumeration value 'STORE_RES_NONE' not handled in switch [-Wswitch] 770 | switch ( srcVehicle->data.storeResType ) | ^ dialog.cpp: In member function 'virtual void cDialogTransfer::handleKeyInput(SDL_KeyboardEvent&, std::string)': dialog.cpp:827:16: warning: enumeration value 'SDLK_UNKNOWN' not handled in switch [-Wswitch] 827 | switch ( key.keysym.sym ) | ^ dialog.cpp:827:16: warning: enumeration value 'SDLK_FIRST' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_BACKSPACE' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_TAB' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_CLEAR' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_PAUSE' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_SPACE' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_EXCLAIM' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_QUOTEDBL' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_HASH' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_DOLLAR' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_AMPERSAND' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_QUOTE' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_LEFTPAREN' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_RIGHTPAREN' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_ASTERISK' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_PLUS' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_COMMA' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_MINUS' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_PERIOD' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_SLASH' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_0' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_1' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_2' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_3' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_4' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_5' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_6' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_7' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_8' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_9' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_COLON' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_SEMICOLON' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_LESS' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_EQUALS' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_GREATER' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_QUESTION' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_AT' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_LEFTBRACKET' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_BACKSLASH' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_RIGHTBRACKET' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_CARET' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_UNDERSCORE' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_BACKQUOTE' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_a' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_b' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_c' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_d' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_e' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_f' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_g' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_h' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_i' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_j' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_k' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_l' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_m' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_n' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_o' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_p' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_q' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_r' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_s' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_t' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_u' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_v' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_w' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_x' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_y' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_z' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_DELETE' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_0' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_1' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_2' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_3' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_4' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_5' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_6' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_7' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_8' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_9' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_10' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_11' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_12' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_13' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_14' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_15' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_16' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_17' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_18' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_19' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_20' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_21' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_22' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_23' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_24' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_25' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_26' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_27' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_28' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_29' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_30' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_31' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_32' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_33' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_34' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_35' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_36' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_37' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_38' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_39' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_40' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_41' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_42' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_43' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_44' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_45' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_46' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_47' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_48' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_49' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_50' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_51' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_52' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_53' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_54' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_55' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_56' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_57' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_58' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_59' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_60' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_61' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_62' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_63' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_64' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_65' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_66' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_67' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_68' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_69' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_70' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_71' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_72' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_73' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_74' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_75' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_76' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_77' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_78' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_79' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_80' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_81' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_82' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_83' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_84' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_85' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_86' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_87' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_88' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_89' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_90' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_91' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_92' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_93' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_94' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_WORLD_95' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_KP0' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_KP1' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_KP2' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_KP3' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_KP4' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_KP5' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_KP6' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_KP7' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_KP8' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_KP9' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_KP_PERIOD' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_KP_DIVIDE' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_KP_MULTIPLY' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_KP_MINUS' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_KP_PLUS' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_KP_ENTER' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_KP_EQUALS' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_UP' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_DOWN' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_RIGHT' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_LEFT' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_INSERT' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_HOME' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_END' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_PAGEUP' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_PAGEDOWN' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_F1' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_F2' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_F3' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_F4' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_F5' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_F6' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_F7' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_F8' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_F9' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_F10' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_F11' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_F12' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_F13' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_F14' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_F15' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_NUMLOCK' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_CAPSLOCK' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_SCROLLOCK' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_RSHIFT' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_LSHIFT' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_RCTRL' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_LCTRL' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_RALT' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_LALT' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_RMETA' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_LMETA' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_LSUPER' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_RSUPER' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_MODE' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_COMPOSE' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_HELP' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_PRINT' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_SYSREQ' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_BREAK' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_MENU' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_POWER' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_EURO' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_UNDO' not handled in switch [-Wswitch] dialog.cpp:827:16: warning: enumeration value 'SDLK_LAST' not handled in switch [-Wswitch] dialog.cpp: In function 'void drawContextItem(std::string, bool, int, int, SDL_Surface*)': dialog.cpp:899:24: warning: narrowing conversion of 'x' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 899 | SDL_Rect dest={x,y,42,21}; | ^ dialog.cpp:899:26: warning: narrowing conversion of 'y' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 899 | SDL_Rect dest={x,y,42,21}; | ^ dialog.cpp: In member function 'virtual void cDialogResearch::handleKeyInput(SDL_KeyboardEvent&, std::string)': dialog.cpp:1041:16: warning: enumeration value 'SDLK_UNKNOWN' not handled in switch [-Wswitch] 1041 | switch ( key.keysym.sym ) | ^ dialog.cpp:1041:16: warning: enumeration value 'SDLK_FIRST' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_BACKSPACE' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_TAB' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_CLEAR' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_PAUSE' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_SPACE' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_EXCLAIM' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_QUOTEDBL' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_HASH' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_DOLLAR' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_AMPERSAND' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_QUOTE' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_LEFTPAREN' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_RIGHTPAREN' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_ASTERISK' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_PLUS' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_COMMA' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_MINUS' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_PERIOD' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_SLASH' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_0' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_1' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_2' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_3' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_4' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_5' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_6' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_7' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_8' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_9' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_COLON' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_SEMICOLON' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_LESS' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_EQUALS' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_GREATER' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_QUESTION' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_AT' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_LEFTBRACKET' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_BACKSLASH' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_RIGHTBRACKET' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_CARET' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_UNDERSCORE' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_BACKQUOTE' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_a' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_b' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_c' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_d' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_e' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_f' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_g' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_h' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_i' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_j' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_k' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_l' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_m' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_n' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_o' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_p' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_q' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_r' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_s' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_t' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_u' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_v' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_w' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_x' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_y' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_z' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_DELETE' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_0' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_1' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_2' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_3' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_4' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_5' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_6' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_7' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_8' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_9' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_10' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_11' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_12' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_13' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_14' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_15' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_16' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_17' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_18' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_19' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_20' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_21' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_22' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_23' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_24' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_25' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_26' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_27' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_28' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_29' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_30' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_31' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_32' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_33' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_34' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_35' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_36' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_37' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_38' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_39' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_40' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_41' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_42' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_43' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_44' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_45' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_46' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_47' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_48' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_49' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_50' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_51' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_52' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_53' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_54' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_55' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_56' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_57' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_58' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_59' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_60' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_61' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_62' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_63' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_64' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_65' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_66' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_67' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_68' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_69' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_70' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_71' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_72' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_73' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_74' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_75' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_76' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_77' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_78' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_79' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_80' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_81' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_82' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_83' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_84' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_85' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_86' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_87' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_88' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_89' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_90' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_91' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_92' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_93' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_94' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_WORLD_95' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_KP0' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_KP1' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_KP2' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_KP3' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_KP4' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_KP5' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_KP6' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_KP7' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_KP8' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_KP9' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_KP_PERIOD' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_KP_DIVIDE' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_KP_MULTIPLY' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_KP_MINUS' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_KP_PLUS' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_KP_ENTER' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_KP_EQUALS' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_UP' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_DOWN' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_RIGHT' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_LEFT' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_INSERT' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_HOME' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_END' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_PAGEUP' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_PAGEDOWN' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_F1' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_F2' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_F3' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_F4' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_F5' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_F6' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_F7' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_F8' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_F9' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_F10' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_F11' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_F12' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_F13' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_F14' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_F15' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_NUMLOCK' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_CAPSLOCK' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_SCROLLOCK' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_RSHIFT' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_LSHIFT' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_RCTRL' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_LCTRL' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_RALT' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_LALT' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_RMETA' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_LMETA' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_LSUPER' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_RSUPER' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_MODE' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_COMPOSE' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_HELP' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_PRINT' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_SYSREQ' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_BREAK' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_MENU' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_POWER' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_EURO' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_UNDO' not handled in switch [-Wswitch] dialog.cpp:1041:16: warning: enumeration value 'SDLK_LAST' not handled in switch [-Wswitch] make[2]: Leaving directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_AUTOVERSION_H -DRELEASE -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o files.o files.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_AUTOVERSION_H -DRELEASE -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o events.o events.cpp In file included from menuevents.h:23, from events.cpp:22: menus.h: In constructor 'sClientLandData::sClientLandData()': menus.h:55:25: warning: 'sClientLandData::iLastLandY' will be initialized after [-Wreorder] 55 | int iLastLandX, iLastLandY; | ^~~~~~~~~~ menus.h:54:23: warning: 'eLandingState sClientLandData::landingState' [-Wreorder] 54 | eLandingState landingState; | ^~~~~~~~~~~~ menus.h:58:9: warning: when initialized here [-Wreorder] 58 | sClientLandData() : iLandX(0), iLandY(0), iLastLandX(0), iLastLandY(0), landingState ( LANDING_STATE_UNKNOWN ), receivedOK(true) {} | ^~~~~~~~~~~~~~~ In file included from menuevents.h:23, from events.cpp:22: menus.h: In constructor 'cGameDataContainer::cGameDataContainer()': menus.h:154:15: warning: 'cGameDataContainer::map' will be initialized after [-Wreorder] 154 | cMap *map; | ^~~ menus.h:144:20: warning: 'eGameTypes cGameDataContainer::type' [-Wreorder] 144 | eGameTypes type; | ^~~~ menus.h:164:9: warning: when initialized here [-Wreorder] 164 | cGameDataContainer() : settings(NULL), map(NULL), type(GAME_TYPE_SINGLE), savegameNum(-1) {} | ^~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_AUTOVERSION_H -DRELEASE -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o buildings.o buildings.cpp In file included from buildings.cpp:31: menus.h: In constructor 'sClientLandData::sClientLandData()': menus.h:55:25: warning: 'sClientLandData::iLastLandY' will be initialized after [-Wreorder] 55 | int iLastLandX, iLastLandY; | ^~~~~~~~~~ menus.h:54:23: warning: 'eLandingState sClientLandData::landingState' [-Wreorder] 54 | eLandingState landingState; | ^~~~~~~~~~~~ menus.h:58:9: warning: when initialized here [-Wreorder] 58 | sClientLandData() : iLandX(0), iLandY(0), iLastLandX(0), iLastLandY(0), landingState ( LANDING_STATE_UNKNOWN ), receivedOK(true) {} | ^~~~~~~~~~~~~~~ In file included from buildings.cpp:31: menus.h: In constructor 'cGameDataContainer::cGameDataContainer()': menus.h:154:15: warning: 'cGameDataContainer::map' will be initialized after [-Wreorder] 154 | cMap *map; | ^~~ menus.h:144:20: warning: 'eGameTypes cGameDataContainer::type' [-Wreorder] 144 | eGameTypes type; | ^~~~ menus.h:164:9: warning: when initialized here [-Wreorder] 164 | cGameDataContainer() : settings(NULL), map(NULL), type(GAME_TYPE_SINGLE), savegameNum(-1) {} | ^~~~~~~~~~~~~~~~~~ buildings.cpp: In member function 'void cBuilding::DrawExitPoints(sVehicle*)': buildings.cpp:1469:23: warning: variable 'size' set but not used [-Wunused-but-set-variable] 1469 | int spx, spy, size; | ^~~~ buildings.cpp: In member function 'bool cBuilding::canLoad(cVehicle*, bool)': buildings.cpp:1549:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1549 | if ( i == data.storeUnitsTypes.size() ) return false; | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buildings.cpp: In member function 'void cBuilding::ShowDetails(bool, int, int, SDL_Surface*, bool)': buildings.cpp:2689:45: warning: narrowing conversion of '(((int)dest.SDL_Rect::x) + 2)' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 2689 | SDL_Rect lineRect = { dest.x+2, dest.y+14, 153, 1 }; | ~~~~~~^~ buildings.cpp:2689:55: warning: narrowing conversion of '(((int)dest.SDL_Rect::y) + 14)' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 2689 | SDL_Rect lineRect = { dest.x+2, dest.y+14, 153, 1 }; | ~~~~~~^~~ buildings.cpp:2712:32: warning: enumeration value 'STORE_RES_NONE' not handled in switch [-Wswitch] 2712 | switch ( data.storeResType ) | ^ buildings.cpp:2735:32: warning: enumeration value 'STORE_UNIT_IMG_NONE' not handled in switch [-Wswitch] 2735 | switch ( data.storeUnitsImageType ) | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_AUTOVERSION_H -DRELEASE -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o log.o log.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_AUTOVERSION_H -DRELEASE -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o keys.o keys.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_AUTOVERSION_H -DRELEASE -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o language.o language.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_AUTOVERSION_H -DRELEASE -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o mapdownload.o mapdownload.cpp In file included from mapdownload.cpp:28: menus.h: In constructor 'sClientLandData::sClientLandData()': menus.h:55:25: warning: 'sClientLandData::iLastLandY' will be initialized after [-Wreorder] 55 | int iLastLandX, iLastLandY; | ^~~~~~~~~~ menus.h:54:23: warning: 'eLandingState sClientLandData::landingState' [-Wreorder] 54 | eLandingState landingState; | ^~~~~~~~~~~~ menus.h:58:9: warning: when initialized here [-Wreorder] 58 | sClientLandData() : iLandX(0), iLandY(0), iLastLandX(0), iLastLandY(0), landingState ( LANDING_STATE_UNKNOWN ), receivedOK(true) {} | ^~~~~~~~~~~~~~~ In file included from mapdownload.cpp:28: menus.h: In constructor 'cGameDataContainer::cGameDataContainer()': menus.h:154:15: warning: 'cGameDataContainer::map' will be initialized after [-Wreorder] 154 | cMap *map; | ^~~ menus.h:144:20: warning: 'eGameTypes cGameDataContainer::type' [-Wreorder] 144 | eGameTypes type; | ^~~~ menus.h:164:9: warning: when initialized here [-Wreorder] 164 | cGameDataContainer() : settings(NULL), map(NULL), type(GAME_TYPE_SINGLE), savegameNum(-1) {} | ^~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_AUTOVERSION_H -DRELEASE -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o map.o map.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_AUTOVERSION_H -DRELEASE -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o client.o client.cpp In file included from client.cpp:32: menus.h: In constructor 'sClientLandData::sClientLandData()': menus.h:55:25: warning: 'sClientLandData::iLastLandY' will be initialized after [-Wreorder] 55 | int iLastLandX, iLastLandY; | ^~~~~~~~~~ menus.h:54:23: warning: 'eLandingState sClientLandData::landingState' [-Wreorder] 54 | eLandingState landingState; | ^~~~~~~~~~~~ menus.h:58:9: warning: when initialized here [-Wreorder] 58 | sClientLandData() : iLandX(0), iLandY(0), iLastLandX(0), iLastLandY(0), landingState ( LANDING_STATE_UNKNOWN ), receivedOK(true) {} | ^~~~~~~~~~~~~~~ In file included from client.cpp:32: menus.h: In constructor 'cGameDataContainer::cGameDataContainer()': menus.h:154:15: warning: 'cGameDataContainer::map' will be initialized after [-Wreorder] 154 | cMap *map; | ^~~ menus.h:144:20: warning: 'eGameTypes cGameDataContainer::type' [-Wreorder] 144 | eGameTypes type; | ^~~~ menus.h:164:9: warning: when initialized here [-Wreorder] 164 | cGameDataContainer() : settings(NULL), map(NULL), type(GAME_TYPE_SINGLE), savegameNum(-1) {} | ^~~~~~~~~~~~~~~~~~ client.cpp: In constructor 'sFX::sFX(eFXTyps, int, int)': client.cpp:64:16: warning: enumeration value 'fxMuzzleBig' not handled in switch [-Wswitch] 64 | switch ( typ ) | ^ client.cpp:64:16: warning: enumeration value 'fxMuzzleSmall' not handled in switch [-Wswitch] client.cpp:64:16: warning: enumeration value 'fxMuzzleMed' not handled in switch [-Wswitch] client.cpp:64:16: warning: enumeration value 'fxMuzzleMedLong' not handled in switch [-Wswitch] client.cpp:64:16: warning: enumeration value 'fxExploSmall' not handled in switch [-Wswitch] client.cpp:64:16: warning: enumeration value 'fxExploBig' not handled in switch [-Wswitch] client.cpp:64:16: warning: enumeration value 'fxExploAir' not handled in switch [-Wswitch] client.cpp:64:16: warning: enumeration value 'fxExploWater' not handled in switch [-Wswitch] client.cpp:64:16: warning: enumeration value 'fxHit' not handled in switch [-Wswitch] client.cpp:64:16: warning: enumeration value 'fxSmoke' not handled in switch [-Wswitch] client.cpp:64:16: warning: enumeration value 'fxBubbles' not handled in switch [-Wswitch] client.cpp:64:16: warning: enumeration value 'fxCorpse' not handled in switch [-Wswitch] client.cpp:64:16: warning: enumeration value 'fxAbsorb' not handled in switch [-Wswitch] client.cpp: In member function 'void cClient::run()': client.cpp:338:78: warning: narrowing conversion of '(SettingsData.cSettings::iScreenH - 30)' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 338 | SDL_Rect bottomDisplay = {240, SettingsData.iScreenH - 30, 400, 30}; | ~~~~~~~~~~~~~~~~~~~~~~^~~~ client.cpp: In member function 'void cClient::handleMouseInput(sMouseState)': client.cpp:556:61: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 556 | if ( SelectedVehicle && SelectedVehicle->MenuActive && SelectedVehicle->MouseOverMenu ( mouse->x, mouse->y ) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client.cpp: In member function 'void cClient::drawMap(bool)': client.cpp:1549:62: warning: narrowing conversion of '(SettingsData.cSettings::iScreenW - 192)' from 'int' to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] 1549 | SDL_Rect clipRect = { 180, 18, SettingsData.iScreenW - 192, SettingsData.iScreenH - 32 }; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ client.cpp:1549:91: warning: narrowing conversion of '(SettingsData.cSettings::iScreenH - 32)' from 'int' to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] 1549 | SDL_Rect clipRect = { 180, 18, SettingsData.iScreenW - 192, SettingsData.iScreenH - 32 }; | ~~~~~~~~~~~~~~~~~~~~~~^~~~ client.cpp:1545:15: warning: unused variable 'factor' [-Wunused-variable] 1545 | float factor = (float)(Hud.Zoom/64.0); | ^~~~~~ client.cpp: In member function 'void cClient::displayFX()': client.cpp:2230:62: warning: narrowing conversion of '(SettingsData.cSettings::iScreenW - 192)' from 'int' to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] 2230 | SDL_Rect clipRect = { 180, 18, SettingsData.iScreenW - 192, SettingsData.iScreenH - 32 }; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ client.cpp:2230:91: warning: narrowing conversion of '(SettingsData.cSettings::iScreenH - 32)' from 'int' to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] 2230 | SDL_Rect clipRect = { 180, 18, SettingsData.iScreenW - 192, SettingsData.iScreenH - 32 }; | ~~~~~~~~~~~~~~~~~~~~~~^~~~ client.cpp: In member function 'void cClient::displayFXBottom()': client.cpp:2245:62: warning: narrowing conversion of '(SettingsData.cSettings::iScreenW - 192)' from 'int' to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] 2245 | SDL_Rect clipRect = { 180, 18, SettingsData.iScreenW - 192, SettingsData.iScreenH - 32 }; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ client.cpp:2245:91: warning: narrowing conversion of '(SettingsData.cSettings::iScreenH - 32)' from 'int' to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] 2245 | SDL_Rect clipRect = { 180, 18, SettingsData.iScreenW - 192, SettingsData.iScreenH - 32 }; | ~~~~~~~~~~~~~~~~~~~~~~^~~~ client.cpp: In member function 'void cClient::drawFX(int)': client.cpp:2339:16: warning: enumeration value 'fxTorpedo' not handled in switch [-Wswitch] 2339 | switch ( fx->typ ) | ^ client.cpp:2339:16: warning: enumeration value 'fxTracks' not handled in switch [-Wswitch] client.cpp:2339:16: warning: enumeration value 'fxBubbles' not handled in switch [-Wswitch] client.cpp:2339:16: warning: enumeration value 'fxCorpse' not handled in switch [-Wswitch] client.cpp: In member function 'void cClient::drawFXBottom(int)': client.cpp:2590:16: warning: enumeration value 'fxMuzzleBig' not handled in switch [-Wswitch] 2590 | switch ( fx->typ ) | ^ client.cpp:2590:16: warning: enumeration value 'fxMuzzleSmall' not handled in switch [-Wswitch] client.cpp:2590:16: warning: enumeration value 'fxMuzzleMed' not handled in switch [-Wswitch] client.cpp:2590:16: warning: enumeration value 'fxMuzzleMedLong' not handled in switch [-Wswitch] client.cpp:2590:16: warning: enumeration value 'fxExploSmall' not handled in switch [-Wswitch] client.cpp:2590:16: warning: enumeration value 'fxExploBig' not handled in switch [-Wswitch] client.cpp:2590:16: warning: enumeration value 'fxExploAir' not handled in switch [-Wswitch] client.cpp:2590:16: warning: enumeration value 'fxExploWater' not handled in switch [-Wswitch] client.cpp:2590:16: warning: enumeration value 'fxHit' not handled in switch [-Wswitch] client.cpp:2590:16: warning: enumeration value 'fxSmoke' not handled in switch [-Wswitch] client.cpp:2590:16: warning: enumeration value 'fxRocket' not handled in switch [-Wswitch] client.cpp:2590:16: warning: enumeration value 'fxDarkSmoke' not handled in switch [-Wswitch] client.cpp:2590:16: warning: enumeration value 'fxAbsorb' not handled in switch [-Wswitch] client.cpp: In member function 'void cClient::drawUnitCircles()': client.cpp:2695:62: warning: narrowing conversion of '(SettingsData.cSettings::iScreenW - 192)' from 'int' to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] 2695 | SDL_Rect clipRect = { 180, 18, SettingsData.iScreenW - 192, SettingsData.iScreenH - 32 }; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ client.cpp:2695:91: warning: narrowing conversion of '(SettingsData.cSettings::iScreenH - 32)' from 'int' to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] 2695 | SDL_Rect clipRect = { 180, 18, SettingsData.iScreenW - 192, SettingsData.iScreenH - 32 }; | ~~~~~~~~~~~~~~~~~~~~~~^~~~ client.cpp:2721:54: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2721 | v.IsBuilding && v.BuildRounds == 0 || | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ client.cpp: In member function 'void cClient::displayDebugOutput()': client.cpp:2843:63: warning: narrowing conversion of '(SettingsData.cSettings::iScreenW - 140)' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 2843 | #define DEBUGOUT_X_POS (SettingsData.iScreenW-140) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ client.cpp:2852:36: note: in expansion of macro 'DEBUGOUT_X_POS' 2852 | SDL_Rect rDest = { DEBUGOUT_X_POS, iDebugOff, 20, 10 }; | ^~~~~~~~~~~~~~ client.cpp:2852:52: warning: narrowing conversion of '((cClient*)this)->cClient::iDebugOff' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 2852 | SDL_Rect rDest = { DEBUGOUT_X_POS, iDebugOff, 20, 10 }; | ^~~~~~~~~ client.cpp:2854:52: warning: narrowing conversion of '((SettingsData.cSettings::iScreenW - 140) - 10)' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 2854 | SDL_Rect rDotDest = {DEBUGOUT_X_POS-10, iDebugOff, 10, 10 }; | ^ client.cpp:2854:57: warning: narrowing conversion of '((cClient*)this)->cClient::iDebugOff' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 2854 | SDL_Rect rDotDest = {DEBUGOUT_X_POS-10, iDebugOff, 10, 10 }; | ^~~~~~~~~ client.cpp:2855:53: warning: narrowing conversion of '((SettingsData.cSettings::iScreenW - 140) + 20)' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 2855 | SDL_Rect rBlackOut = {DEBUGOUT_X_POS+20, iDebugOff, 0, 10 }; | ^ client.cpp:2855:58: warning: narrowing conversion of '((cClient*)this)->cClient::iDebugOff' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 2855 | SDL_Rect rBlackOut = {DEBUGOUT_X_POS+20, iDebugOff, 0, 10 }; | ^~~~~~~~~ client.cpp: In member function 'void cClient::mouseMoveCallback(bool)': client.cpp:3546:24: warning: '0' flag ignored with precision and '%d' gnu_printf format [-Wformat=] 3546 | sprintf ( str, "%0.3d-%0.3d", iX, iY ); | ^~~~~~~~~~~~~ client.cpp:3546:24: warning: '0' flag ignored with precision and '%d' gnu_printf format [-Wformat=] client.cpp: In member function 'void cClient::handleMessages()': client.cpp:3732:77: warning: narrowing conversion of 'font->cUnicodeFont::getFontHeight(FONT_LATIN_NORMAL)' from 'int' to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] 3732 | SDL_Rect rColorSrc = { 0, 0, 10, font->getFontHeight() }; | ~~~~~~~~~~~~~~~~~~~^~ client.cpp: In member function 'int cClient::HandleNetMessage(cNetMessage*)': client.cpp:4090:56: warning: suggest parentheses around comparison in operand of '!=' [-Wparentheses] 4090 | if ( Vehicle->Disabled > 0 != bWasDisabled ) Vehicle->owner->DoScan(); | ~~~~~~~~~~~~~~~~~~^~~ client.cpp:4110:57: warning: suggest parentheses around comparison in operand of '!=' [-Wparentheses] 4110 | if ( Building->Disabled > 0 != bWasDisabled ) Building->owner->DoScan(); | ~~~~~~~~~~~~~~~~~~~^~~ client.cpp:4034:34: warning: unused variable 'Player' [-Wunused-variable] 4034 | cPlayer *Player = getPlayerFromNumber ( message->popInt16() ); | ^~~~~~ client.cpp: In member function 'cVehicle* cClient::getVehicleFromID(int)': client.cpp:5609:43: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 5609 | if ( Vehicle->iID == iID ) return Vehicle; | ~~~~~~~~~~~~~^~~~~~ client.cpp: In member function 'cBuilding* cClient::getBuildingFromID(int)': client.cpp:5624:44: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 5624 | if ( Building->iID == iID ) return Building; | ~~~~~~~~~~~~~~^~~~~~ client.cpp:5632:36: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 5632 | if ( Building->iID == iID ) return Building; | ~~~~~~~~~~~~~~^~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_AUTOVERSION_H -DRELEASE -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o hud.o hud.cpp In file included from dialog.h:22, from hud.cpp:24: menus.h: In constructor 'sClientLandData::sClientLandData()': menus.h:55:25: warning: 'sClientLandData::iLastLandY' will be initialized after [-Wreorder] 55 | int iLastLandX, iLastLandY; | ^~~~~~~~~~ menus.h:54:23: warning: 'eLandingState sClientLandData::landingState' [-Wreorder] 54 | eLandingState landingState; | ^~~~~~~~~~~~ menus.h:58:9: warning: when initialized here [-Wreorder] 58 | sClientLandData() : iLandX(0), iLandY(0), iLastLandX(0), iLastLandY(0), landingState ( LANDING_STATE_UNKNOWN ), receivedOK(true) {} | ^~~~~~~~~~~~~~~ In file included from dialog.h:22, from hud.cpp:24: menus.h: In constructor 'cGameDataContainer::cGameDataContainer()': menus.h:154:15: warning: 'cGameDataContainer::map' will be initialized after [-Wreorder] 154 | cMap *map; | ^~~ menus.h:144:20: warning: 'eGameTypes cGameDataContainer::type' [-Wreorder] 144 | eGameTypes type; | ^~~~ menus.h:164:9: warning: when initialized here [-Wreorder] 164 | cGameDataContainer() : settings(NULL), map(NULL), type(GAME_TYPE_SINGLE), savegameNum(-1) {} | ^~~~~~~~~~~~~~~~~~ hud.cpp: In member function 'void cHud::ExtraPlayers(std::string, int, int, bool, bool)': hud.cpp:1482:77: warning: narrowing conversion of 'GraphicsData.cGraphicsData::gfx_hud_extra_players->SDL_Surface::w' from 'int' to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] 1482 | SDL_Rect rSrc = { 0, 0, GraphicsData.gfx_hud_extra_players->w, GraphicsData.gfx_hud_extra_players->h}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ hud.cpp:1482:116: warning: narrowing conversion of 'GraphicsData.cGraphicsData::gfx_hud_extra_players->SDL_Surface::h' from 'int' to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] 1482 | SDL_Rect rSrc = { 0, 0, GraphicsData.gfx_hud_extra_players->w, GraphicsData.gfx_hud_extra_players->h}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ hud.cpp:1499:52: warning: narrowing conversion of '((((int)rDest.SDL_Rect::x) + 23) - ((int)rSrc.SDL_Rect::x))' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 1499 | SDL_Rect rDotDest = { rDest.x + 23 - rSrc.x, rDest.y + 6, rDot.w, rDot.h }; | ~~~~~~~~~~~~~^~~~~~~~ hud.cpp:1499:70: warning: narrowing conversion of '(((int)rDest.SDL_Rect::y) + 6)' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 1499 | SDL_Rect rDotDest = { rDest.x + 23 - rSrc.x, rDest.y + 6, rDot.w, rDot.h }; | ~~~~~~~~^~~ hud.cpp:1502:54: warning: narrowing conversion of '((((int)rDest.SDL_Rect::x) + 40) - ((int)rSrc.SDL_Rect::x))' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 1502 | SDL_Rect rColorDest = { rDest.x + 40 - rSrc.x, rDest.y + 6, rColorSrc.w, rColorSrc.h }; | ~~~~~~~~~~~~~^~~~~~~~ hud.cpp:1502:72: warning: narrowing conversion of '(((int)rDest.SDL_Rect::y) + 6)' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 1502 | SDL_Rect rColorDest = { rDest.x + 40 - rSrc.x, rDest.y + 6, rColorSrc.w, rColorSrc.h }; | ~~~~~~~~^~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_AUTOVERSION_H -DRELEASE -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o input.o input.cpp In file included from input.cpp:21: menus.h: In constructor 'sClientLandData::sClientLandData()': menus.h:55:25: warning: 'sClientLandData::iLastLandY' will be initialized after [-Wreorder] 55 | int iLastLandX, iLastLandY; | ^~~~~~~~~~ menus.h:54:23: warning: 'eLandingState sClientLandData::landingState' [-Wreorder] 54 | eLandingState landingState; | ^~~~~~~~~~~~ menus.h:58:9: warning: when initialized here [-Wreorder] 58 | sClientLandData() : iLandX(0), iLandY(0), iLastLandX(0), iLastLandY(0), landingState ( LANDING_STATE_UNKNOWN ), receivedOK(true) {} | ^~~~~~~~~~~~~~~ In file included from input.cpp:21: menus.h: In constructor 'cGameDataContainer::cGameDataContainer()': menus.h:154:15: warning: 'cGameDataContainer::map' will be initialized after [-Wreorder] 154 | cMap *map; | ^~~ menus.h:144:20: warning: 'eGameTypes cGameDataContainer::type' [-Wreorder] 144 | eGameTypes type; | ^~~~ menus.h:164:9: warning: when initialized here [-Wreorder] 164 | cGameDataContainer() : settings(NULL), map(NULL), type(GAME_TYPE_SINGLE), savegameNum(-1) {} | ^~~~~~~~~~~~~~~~~~ input.cpp: In member function 'void cInput::inputkey(SDL_KeyboardEvent&)': input.cpp:74:48: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 74 | if ( stringpos < (int)inputStr.length() ) | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ input.cpp:99:48: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 99 | if ( stringpos < (int)inputStr.length() ) | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ input.cpp: In member function 'std::string cInput::getInputStr(eCursorBehavior)': input.cpp:300:16: warning: enumeration value 'CURSOR_DISABLED' not handled in switch [-Wswitch] 300 | switch ( showcursor ) | ^ input.cpp:300:16: warning: enumeration value 'CURSOR_STANDARD' not handled in switch [-Wswitch] make[2]: Leaving directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_AUTOVERSION_H -DRELEASE -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o loaddata.o loaddata.cpp loaddata.cpp: In function 'void MakeLog(std::string, int, int)': loaddata.cpp:348:60: warning: narrowing conversion of 'font->cUnicodeFont::getFontHeight(FONT_LATIN_BIG_GOLD)' from 'int' to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] 348 | SDL_Rect rDest = {22, 152, 228, font->getFontHeight(FONT_LATIN_BIG_GOLD)}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ loaddata.cpp:349:62: warning: narrowing conversion of 'font->cUnicodeFont::getFontHeight(FONT_LATIN_BIG_GOLD)' from 'int' to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] 349 | SDL_Rect rDest2 = {250, 152, 230, font->getFontHeight(FONT_LATIN_BIG_GOLD)}; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ loaddata.cpp: In function 'int LoadVehicles()': loaddata.cpp:1908:55: warning: '0' flag ignored with precision and '%d' gnu_printf format [-Wformat=] 1908 | sprintf(sztmp,"img%d_%0.2d.pcx",n,j); | ^~~~~~~~~~~~~~~~~ loaddata.cpp: In function 'void translateUnitData(sID, bool)': loaddata.cpp:2245:41: warning: comparison of integer expressions of different signedness: 'int' and 'const size_type' {aka 'const long unsigned int'} [-Wsign-compare] 2245 | while(iPosition != string::npos) | ~~~~~~~~~~^~~~~~~~~~~~~~~ loaddata.cpp: In function 'void LoadUnitData(sUnitData*, const char*, int)': loaddata.cpp:2637:49: warning: '0' flag ignored with precision and '%d' gnu_printf format [-Wformat=] 2637 | sprintf( szTmp, "unit with id %0.2d %0.2d already exists", UnitsData.vehicle[i].data.ID.iFirstPart, UnitsData.vehicle[i].data.ID.iSecondPart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ loaddata.cpp:2637:49: warning: '0' flag ignored with precision and '%d' gnu_printf format [-Wformat=] loaddata.cpp:2649:49: warning: '0' flag ignored with precision and '%d' gnu_printf format [-Wformat=] 2649 | sprintf( szTmp, "unit with id %0.2d %0.2d already exists", UnitsData.vehicle[i].data.ID.iFirstPart, UnitsData.vehicle[i].data.ID.iSecondPart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ loaddata.cpp:2649:49: warning: '0' flag ignored with precision and '%d' gnu_printf format [-Wformat=] loaddata.cpp:2660:33: warning: '0' flag ignored with precision and '%d' gnu_printf format [-Wformat=] 2660 | sprintf( szTmp, "ID %0.2d %0.2d isn't equal with ID for unit \"%s\" ", atoi(idString.substr(0,idString.find(" ",0)).c_str()), atoi(idString.substr(idString.find(" ",0),idString.length()).c_str()), directory); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ loaddata.cpp:2660:33: warning: '0' flag ignored with precision and '%d' gnu_printf format [-Wformat=] loaddata.cpp:2666:33: warning: '0' flag ignored with precision and '%d' gnu_printf format [-Wformat=] 2666 | sprintf( szTmp, "ID %0.2d %0.2d verified", atoi(idString.substr(0,idString.find(" ",0)).c_str()), atoi(idString.substr(idString.find(" ",0),idString.length()).c_str()), directory); | ^~~~~~~~~~~~~~~~~~~~~~~~~ loaddata.cpp:2666:33: warning: '0' flag ignored with precision and '%d' gnu_printf format [-Wformat=] loaddata.cpp:2666:33: warning: too many arguments for format [-Wformat-extra-args] loaddata.cpp:2672:23: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2672 | if(pExXmlNode = pExXmlNode->XmlGetFirstNode( unitDataXml, "Unit", "Description", NULL) ) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ loaddata.cpp:2676:33: warning: comparison of integer expressions of different signedness: 'int' and 'const size_type' {aka 'const long unsigned int'} [-Wsign-compare] 2676 | while(iPosition != string::npos) | ~~~~~~~~~~^~~~~~~~~~~~~~~ loaddata.cpp:2813:34: warning: comparison of integer expressions of different signedness: 'int' and 'const size_type' {aka 'const long unsigned int'} [-Wsign-compare] 2813 | if ( pos == string::npos ) pos = storeUnitsString.length(); | ~~~~^~~~~~~~~~~~~~~ loaddata.cpp: In function 'void LoadUnitGraphicData(sUnitData*, const char*)': loaddata.cpp:2834:22: warning: unused variable 'pExXmlNode' [-Wunused-variable] 2834 | ExTiXmlNode *pExXmlNode = NULL; | ^~~~~~~~~~ loaddata.cpp: In function 'int LoadClans()': loaddata.cpp:2882:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2882 | while (clanNode = xmlNode->IterateChildren (clanNode)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ loaddata.cpp:2899:53: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2899 | while (changedUnitStatsNode = clanNode->IterateChildren ("ChangedUnitStat", changedUnitStatsNode)) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ loaddata.cpp:2917:65: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2917 | while (modificationNode = changedUnitStatsNode->IterateChildren (modificationNode)) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_AUTOVERSION_H -DRELEASE -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o main.o main.cpp In file included from main.cpp:55: menus.h: In constructor 'sClientLandData::sClientLandData()': menus.h:55:25: warning: 'sClientLandData::iLastLandY' will be initialized after [-Wreorder] 55 | int iLastLandX, iLastLandY; | ^~~~~~~~~~ menus.h:54:23: warning: 'eLandingState sClientLandData::landingState' [-Wreorder] 54 | eLandingState landingState; | ^~~~~~~~~~~~ menus.h:58:9: warning: when initialized here [-Wreorder] 58 | sClientLandData() : iLandX(0), iLandY(0), iLastLandX(0), iLastLandY(0), landingState ( LANDING_STATE_UNKNOWN ), receivedOK(true) {} | ^~~~~~~~~~~~~~~ In file included from main.cpp:55: menus.h: In constructor 'cGameDataContainer::cGameDataContainer()': menus.h:154:15: warning: 'cGameDataContainer::map' will be initialized after [-Wreorder] 154 | cMap *map; | ^~~ menus.h:144:20: warning: 'eGameTypes cGameDataContainer::type' [-Wreorder] 144 | eGameTypes type; | ^~~~ menus.h:164:9: warning: when initialized here [-Wreorder] 164 | cGameDataContainer() : settings(NULL), map(NULL), type(GAME_TYPE_SINGLE), savegameNum(-1) {} | ^~~~~~~~~~~~~~~~~~ main.cpp: In function 'void drawCircle(int, int, int, int, SDL_Surface*)': main.cpp:484:23: warning: variable 'ptr' set but not used [-Wunused-but-set-variable] 484 | unsigned int *ptr; | ^~~ main.cpp: In member function 'std::string sID::getText()': main.cpp:584:24: warning: '0' flag ignored with precision and '%d' gnu_printf format [-Wformat=] 584 | sprintf ( tmp, "%0.2d %0.2d", iFirstPart, iSecondPart ); | ^~~~~~~~~~~~~ main.cpp:584:24: warning: '0' flag ignored with precision and '%d' gnu_printf format [-Wformat=] make[2]: Leaving directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_AUTOVERSION_H -DRELEASE -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o mveplayer.o mveplayer.cpp mveplayer.cpp: In function 'int MVEPlayer(const char*, int, int, int, int)': mveplayer.cpp:135:53: warning: variable 'width' set but not used [-Wunused-but-set-variable] 135 | Uint16 width_blocks = 0, height_blocks = 0, width = 0, height = 0; | ^~~~~ mveplayer.cpp:135:64: warning: variable 'height' set but not used [-Wunused-but-set-variable] 135 | Uint16 width_blocks = 0, height_blocks = 0, width = 0, height = 0; | ^~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_AUTOVERSION_H -DRELEASE -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o mouse.o mouse.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_AUTOVERSION_H -DRELEASE -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o menuevents.o menuevents.cpp In file included from menuevents.h:23, from menuevents.cpp:19: menus.h: In constructor 'sClientLandData::sClientLandData()': menus.h:55:25: warning: 'sClientLandData::iLastLandY' will be initialized after [-Wreorder] 55 | int iLastLandX, iLastLandY; | ^~~~~~~~~~ menus.h:54:23: warning: 'eLandingState sClientLandData::landingState' [-Wreorder] 54 | eLandingState landingState; | ^~~~~~~~~~~~ menus.h:58:9: warning: when initialized here [-Wreorder] 58 | sClientLandData() : iLandX(0), iLandY(0), iLastLandX(0), iLastLandY(0), landingState ( LANDING_STATE_UNKNOWN ), receivedOK(true) {} | ^~~~~~~~~~~~~~~ In file included from menuevents.h:23, from menuevents.cpp:19: menus.h: In constructor 'cGameDataContainer::cGameDataContainer()': menus.h:154:15: warning: 'cGameDataContainer::map' will be initialized after [-Wreorder] 154 | cMap *map; | ^~~ menus.h:144:20: warning: 'eGameTypes cGameDataContainer::type' [-Wreorder] 144 | eGameTypes type; | ^~~~ menus.h:164:9: warning: when initialized here [-Wreorder] 164 | cGameDataContainer() : settings(NULL), map(NULL), type(GAME_TYPE_SINGLE), savegameNum(-1) {} | ^~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_AUTOVERSION_H -DRELEASE -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o netmessage.o netmessage.cpp In file included from menuevents.h:23, from netmessage.cpp:26: menus.h: In constructor 'sClientLandData::sClientLandData()': menus.h:55:25: warning: 'sClientLandData::iLastLandY' will be initialized after [-Wreorder] 55 | int iLastLandX, iLastLandY; | ^~~~~~~~~~ menus.h:54:23: warning: 'eLandingState sClientLandData::landingState' [-Wreorder] 54 | eLandingState landingState; | ^~~~~~~~~~~~ menus.h:58:9: warning: when initialized here [-Wreorder] 58 | sClientLandData() : iLandX(0), iLandY(0), iLastLandX(0), iLastLandY(0), landingState ( LANDING_STATE_UNKNOWN ), receivedOK(true) {} | ^~~~~~~~~~~~~~~ In file included from menuevents.h:23, from netmessage.cpp:26: menus.h: In constructor 'cGameDataContainer::cGameDataContainer()': menus.h:154:15: warning: 'cGameDataContainer::map' will be initialized after [-Wreorder] 154 | cMap *map; | ^~~ menus.h:144:20: warning: 'eGameTypes cGameDataContainer::type' [-Wreorder] 144 | eGameTypes type; | ^~~~ menus.h:164:9: warning: when initialized here [-Wreorder] 164 | cGameDataContainer() : settings(NULL), map(NULL), type(GAME_TYPE_SINGLE), savegameNum(-1) {} | ^~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_AUTOVERSION_H -DRELEASE -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o movejobs.o movejobs.cpp In file included from movejobs.cpp:20: movejobs.h: In constructor 'cPathDestHandler::cPathDestHandler(ePathDestinationTypes, int, int, cVehicle*, cBuilding*, cVehicle*)': movejobs.h:72:20: warning: 'cPathDestHandler::destY' will be initialized after [-Wreorder] 72 | int destX, destY; | ^~~~~ movejobs.h:68:19: warning: 'cVehicle* cPathDestHandler::srcVehicle' [-Wreorder] 68 | cVehicle *srcVehicle; | ^~~~~~~~~~ movejobs.cpp:30:1: warning: when initialized here [-Wreorder] 30 | cPathDestHandler::cPathDestHandler ( ePathDestinationTypes type_, int destX_, int destY_, cVehicle *srcVehicle_, cBuilding *destBuilding_, cVehicle *destVehicle_ ) : | ^~~~~~~~~~~~~~~~ In file included from movejobs.cpp:20: movejobs.h: In constructor 'cEndMoveAction::cEndMoveAction(eEndMoveActionType, cBuilding*, cVehicle*, cBuilding*, cVehicle*, int, int)': movejobs.h:199:28: warning: 'cEndMoveAction::endMoveActionType' will be initialized after [-Wreorder] 199 | eEndMoveActionType endMoveActionType; | ^~~~~~~~~~~~~~~~~ movejobs.h:190:20: warning: 'cBuilding* cEndMoveAction::srcBuilding' [-Wreorder] 190 | cBuilding *srcBuilding; | ^~~~~~~~~~~ movejobs.cpp:711:1: warning: when initialized here [-Wreorder] 711 | cEndMoveAction::cEndMoveAction( eEndMoveActionType endMoveActionType_, cBuilding *srcBuilding_, cVehicle *srcVehicle_, cBuilding *destBuilding_, cVehicle *destVehicle_, int destX_, int destY_ ) : | ^~~~~~~~~~~~~~ In file included from movejobs.cpp:20: movejobs.h:201:25: warning: 'cEndMoveAction::moveJob' will be initialized after [-Wreorder] 201 | cClientMoveJob *moveJob; | ^~~~~~~ movejobs.h:197:14: warning: 'bool cEndMoveAction::success' [-Wreorder] 197 | bool success; | ^~~~~~~ movejobs.cpp:711:1: warning: when initialized here [-Wreorder] 711 | cEndMoveAction::cEndMoveAction( eEndMoveActionType endMoveActionType_, cBuilding *srcBuilding_, cVehicle *srcVehicle_, cBuilding *destBuilding_, cVehicle *destVehicle_, int destX_, int destY_ ) : | ^~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_AUTOVERSION_H -DRELEASE -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c SDL_flic.c make[2]: Leaving directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_AUTOVERSION_H -DRELEASE -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o menuitems.o menuitems.cpp In file included from menuitems.cpp:20: menus.h: In constructor 'sClientLandData::sClientLandData()': menus.h:55:25: warning: 'sClientLandData::iLastLandY' will be initialized after [-Wreorder] 55 | int iLastLandX, iLastLandY; | ^~~~~~~~~~ menus.h:54:23: warning: 'eLandingState sClientLandData::landingState' [-Wreorder] 54 | eLandingState landingState; | ^~~~~~~~~~~~ menus.h:58:9: warning: when initialized here [-Wreorder] 58 | sClientLandData() : iLandX(0), iLandY(0), iLastLandX(0), iLastLandY(0), landingState ( LANDING_STATE_UNKNOWN ), receivedOK(true) {} | ^~~~~~~~~~~~~~~ In file included from menuitems.cpp:20: menus.h: In constructor 'cGameDataContainer::cGameDataContainer()': menus.h:154:15: warning: 'cGameDataContainer::map' will be initialized after [-Wreorder] 154 | cMap *map; | ^~~ menus.h:144:20: warning: 'eGameTypes cGameDataContainer::type' [-Wreorder] 144 | eGameTypes type; | ^~~~ menus.h:164:9: warning: when initialized here [-Wreorder] 164 | cGameDataContainer() : settings(NULL), map(NULL), type(GAME_TYPE_SINGLE), savegameNum(-1) {} | ^~~~~~~~~~~~~~~~~~ In file included from menuitems.cpp:19: menuitems.h: In constructor 'cMenuButton::cMenuButton(int, int, std::string, cMenuButton::eButtonTypes, eUnicodeFontType, Mix_Chunk*)': menuitems.h:385:22: warning: 'cMenuButton::buttonType' will be initialized after [-Wreorder] 385 | eButtonTypes buttonType; | ^~~~~~~~~~ menuitems.h:382:22: warning: 'SDL_Surface* cMenuButton::surface' [-Wreorder] 382 | SDL_Surface* surface; | ^~~~~~~ menuitems.cpp:353:1: warning: when initialized here [-Wreorder] 353 | cMenuButton::cMenuButton ( int x, int y, string text_, eButtonTypes buttonType_, eUnicodeFontType fontType_, sSOUND *clickSound_ ) : cMenuItem( x, y ), fontType( fontType_ ), buttonType( buttonType_ ), surface( NULL ) | ^~~~~~~~~~~ In file included from menuitems.cpp:19: menuitems.h: In constructor 'cMenuCheckButton::cMenuCheckButton(int, int, std::string, bool, bool, cMenuCheckButton::eCheckButtonTypes, cMenuCheckButton::eCheckButtonTextOriantation, eUnicodeFontType, Mix_Chunk*)': menuitems.h:438:37: warning: 'cMenuCheckButton::textOrientation' will be initialized after [-Wreorder] 438 | eCheckButtonTextOriantation textOrientation; | ^~~~~~~~~~~~~~~ menuitems.h:435:22: warning: 'SDL_Surface* cMenuCheckButton::surface' [-Wreorder] 435 | SDL_Surface* surface; | ^~~~~~~ menuitems.cpp:545:1: warning: when initialized here [-Wreorder] 545 | cMenuCheckButton::cMenuCheckButton ( int x, int y, string text_, bool checked_, bool centered_, eCheckButtonTypes buttonType_, eCheckButtonTextOriantation textOrientation_, eUnicodeFontType fontType_, sSOUND *clickSound_ ) | ^~~~~~~~~~~~~~~~ menuitems.cpp: In member function 'virtual void cMenuCheckButton::draw()': menuitems.cpp:691:64: warning: narrowing conversion of '((((int)((cMenuCheckButton*)this)->cMenuCheckButton::.cMenuItem::position.SDL_Rect::x) + ((int)((cMenuCheckButton*)this)->cMenuCheckButton::.cMenuItem::position.SDL_Rect::w)) + 2)' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 691 | SDL_Rect dest = { position.x+position.w+2, position.y-1, 1, position.h+2 }; | ~~~~~~~~~~~~~~~~~~~~~^~ menuitems.cpp:691:78: warning: narrowing conversion of '(((int)((cMenuCheckButton*)this)->cMenuCheckButton::.cMenuItem::position.SDL_Rect::y) - 1)' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 691 | SDL_Rect dest = { position.x+position.w+2, position.y-1, 1, position.h+2 }; | ~~~~~~~~~~^~ menuitems.cpp:691:95: warning: narrowing conversion of '(((int)((cMenuCheckButton*)this)->cMenuCheckButton::.cMenuItem::position.SDL_Rect::h) + 2)' from 'int' to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] 691 | SDL_Rect dest = { position.x+position.w+2, position.y-1, 1, position.h+2 }; | ~~~~~~~~~~^~ menuitems.cpp: In destructor 'cMenuRadioGroup::~cMenuRadioGroup()': menuitems.cpp:732:17: warning: deleting object of polymorphic class type 'cMenuCheckButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 732 | delete buttonList[0]; | ^~~~~~~~~~~~~~~~~~~~ In file included from menuitems.cpp:19: menuitems.h: In constructor 'cMenuUnitListItem::cMenuUnitListItem(sID, cPlayer*, sUnitUpgrade*, eMenuUnitListDisplayTypes, cMenuUnitsList*, bool)': menuitems.h:514:23: warning: 'cMenuUnitListItem::upgrades' will be initialized after [-Wreorder] 514 | sUnitUpgrade *upgrades; | ^~~~~~~~ menuitems.h:503:35: warning: 'eMenuUnitListDisplayTypes cMenuUnitListItem::displayType' [-Wreorder] 503 | eMenuUnitListDisplayTypes displayType; | ^~~~~~~~~~~ menuitems.cpp:791:1: warning: when initialized here [-Wreorder] 791 | cMenuUnitListItem::cMenuUnitListItem( sID unitID_, cPlayer *owner_, sUnitUpgrade *upgrades_, eMenuUnitListDisplayTypes displayType_, cMenuUnitsList* parent, bool fixedResValue_ ) | ^~~~~~~~~~~~~~~~~ In file included from menuitems.cpp:19: menuitems.h:518:14: warning: 'cMenuUnitListItem::fixedResValue' will be initialized after [-Wreorder] 518 | bool fixedResValue; | ^~~~~~~~~~~~~ menuitems.h:504:25: warning: 'cMenuUnitsList* cMenuUnitListItem::parentList' [-Wreorder] 504 | cMenuUnitsList* parentList; | ^~~~~~~~~~ menuitems.cpp:791:1: warning: when initialized here [-Wreorder] 791 | cMenuUnitListItem::cMenuUnitListItem( sID unitID_, cPlayer *owner_, sUnitUpgrade *upgrades_, eMenuUnitListDisplayTypes displayType_, cMenuUnitsList* parent, bool fixedResValue_ ) | ^~~~~~~~~~~~~~~~~ In file included from menuitems.cpp:19: menuitems.h: In constructor 'cMenuUnitListItem::cMenuUnitListItem(sUnitData*, cPlayer*, sUnitUpgrade*, eMenuUnitListDisplayTypes, cMenuUnitsList*, bool)': menuitems.h:514:23: warning: 'cMenuUnitListItem::upgrades' will be initialized after [-Wreorder] 514 | sUnitUpgrade *upgrades; | ^~~~~~~~ menuitems.h:503:35: warning: 'eMenuUnitListDisplayTypes cMenuUnitListItem::displayType' [-Wreorder] 503 | eMenuUnitListDisplayTypes displayType; | ^~~~~~~~~~~ menuitems.cpp:804:1: warning: when initialized here [-Wreorder] 804 | cMenuUnitListItem::cMenuUnitListItem( sUnitData *unitData_, cPlayer *owner_, sUnitUpgrade *upgrades_, eMenuUnitListDisplayTypes displayType_, cMenuUnitsList* parent, bool fixedResValue_ ) | ^~~~~~~~~~~~~~~~~ In file included from menuitems.cpp:19: menuitems.h:518:14: warning: 'cMenuUnitListItem::fixedResValue' will be initialized after [-Wreorder] 518 | bool fixedResValue; | ^~~~~~~~~~~~~ menuitems.h:504:25: warning: 'cMenuUnitsList* cMenuUnitListItem::parentList' [-Wreorder] 504 | cMenuUnitsList* parentList; | ^~~~~~~~~~ menuitems.cpp:804:1: warning: when initialized here [-Wreorder] 804 | cMenuUnitListItem::cMenuUnitListItem( sUnitData *unitData_, cPlayer *owner_, sUnitUpgrade *upgrades_, eMenuUnitListDisplayTypes displayType_, cMenuUnitsList* parent, bool fixedResValue_ ) | ^~~~~~~~~~~~~~~~~ menuitems.cpp: In member function 'int cMenuUnitListItem::drawName(bool)': menuitems.cpp:914:40: warning: narrowing conversion of '((((int)((cMenuUnitListItem*)this)->cMenuUnitListItem::.cMenuItem::position.SDL_Rect::x) + 32) + 4)' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 914 | SDL_Rect dest = { position.x+32+4, position.y+12, position.w-(32+4)-12, 0 }; | ~~~~~~~~~~~~~^~ menuitems.cpp:914:54: warning: narrowing conversion of '(((int)((cMenuUnitListItem*)this)->cMenuUnitListItem::.cMenuItem::position.SDL_Rect::y) + 12)' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 914 | SDL_Rect dest = { position.x+32+4, position.y+12, position.w-(32+4)-12, 0 }; | ~~~~~~~~~~^~~ menuitems.cpp:914:76: warning: narrowing conversion of '((((int)((cMenuUnitListItem*)this)->cMenuUnitListItem::.cMenuItem::position.SDL_Rect::w) - (32 + 4)) - 12)' from 'int' to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] 914 | SDL_Rect dest = { position.x+32+4, position.y+12, position.w-(32+4)-12, 0 }; | ~~~~~~~~~~~~~~~~~^~~ menuitems.cpp: In member function 'void cMenuUnitListItem::drawCargo(int)': menuitems.cpp:948:40: warning: narrowing conversion of '((((int)((cMenuUnitListItem*)this)->cMenuUnitListItem::.cMenuItem::position.SDL_Rect::x) + 32) + 4)' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 948 | SDL_Rect dest = { position.x+32+4, destY, 0, 0 }; | ~~~~~~~~~~~~~^~ menuitems.cpp:948:44: warning: narrowing conversion of 'destY' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 948 | SDL_Rect dest = { position.x+32+4, destY, 0, 0 }; | ^~~~~ menuitems.cpp: In destructor 'cMenuUnitsList::~cMenuUnitsList()': menuitems.cpp:1060:17: warning: deleting object of polymorphic class type 'cMenuUnitListItem' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1060 | delete unitsList[0]; | ^~~~~~~~~~~~~~~~~~~ menuitems.cpp: In member function 'void cMenuUnitsList::removeUnit(cMenuUnitListItem*)': menuitems.cpp:1194:42: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1194 | if ( i+1 < (int)unitsList.Size() ) nextSelUnit = unitsList[i+1]; | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ menuitems.cpp:1198:25: warning: deleting object of polymorphic class type 'cMenuUnitListItem' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1198 | delete unitsList[i]; | ^~~~~~~~~~~~~~~~~~~ menuitems.cpp: In member function 'void cMenuUnitsList::clear()': menuitems.cpp:1216:17: warning: deleting object of polymorphic class type 'cMenuUnitListItem' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1216 | delete unitsList[0]; | ^~~~~~~~~~~~~~~~~~~ menuitems.cpp: In static member function 'static void cUnitDataSymbolHandler::drawSymbols(cUnitDataSymbolHandler::eUnitDataSymbols, int, int, int, bool, int, int)': menuitems.cpp:1269:26: warning: narrowing conversion of 'x' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 1269 | SDL_Rect dest = {x, y, 0, 0}; | ^ menuitems.cpp:1269:29: warning: narrowing conversion of 'y' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 1269 | SDL_Rect dest = {x, y, 0, 0}; | ^ menuitems.cpp: In static member function 'static SDL_Rect cUnitDataSymbolHandler::getBigSymbolPosition(cUnitDataSymbolHandler::eUnitDataSymbols)': menuitems.cpp:1298:16: warning: enumeration value 'MENU_SYMBOLS_TRANS_TANK' not handled in switch [-Wswitch] 1298 | switch ( symType ) | ^ menuitems.cpp:1298:16: warning: enumeration value 'MENU_SYMBOLS_TRANS_AIR' not handled in switch [-Wswitch] menuitems.cpp: In static member function 'static SDL_Rect cUnitDataSymbolHandler::getSmallSymbolPosition(cUnitDataSymbolHandler::eUnitDataSymbols)': menuitems.cpp:1372:16: warning: enumeration value 'MENU_SYMBOLS_ATTACK' not handled in switch [-Wswitch] 1372 | switch ( symType ) | ^ menuitems.cpp:1372:16: warning: enumeration value 'MENU_SYMBOLS_RANGE' not handled in switch [-Wswitch] menuitems.cpp:1372:16: warning: enumeration value 'MENU_SYMBOLS_ARMOR' not handled in switch [-Wswitch] menuitems.cpp:1372:16: warning: enumeration value 'MENU_SYMBOLS_SCAN' not handled in switch [-Wswitch] menuitems.cpp: In member function 'virtual void cMenuUnitDetails::draw()': menuitems.cpp:1502:24: warning: enumeration value 'STORE_RES_NONE' not handled in switch [-Wswitch] 1502 | switch ( transport ) | ^ menuitems.cpp: In destructor 'cMenuMaterialBar::~cMenuMaterialBar()': menuitems.cpp:1667:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1667 | delete valueLabel; | ^~~~~~~~~~~~~~~~~ menuitems.cpp: In destructor 'cMenuUpgradeHandler::~cMenuUpgradeHandler()': menuitems.cpp:1794:17: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1794 | delete decreaseButtons[i]; | ^~~~~~~~~~~~~~~~~~~~~~~~~ menuitems.cpp:1795:17: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1795 | delete increaseButtons[i]; | ^~~~~~~~~~~~~~~~~~~~~~~~~ menuitems.cpp:1796:17: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1796 | delete costsLabel[i]; | ^~~~~~~~~~~~~~~~~~~~ menuitems.cpp: In member function 'cUpgradeCalculator::UpgradeTypes cMenuUpgradeHandler::getUpgradeType(sUnitUpgrade)': menuitems.cpp:1892:16: warning: enumeration value 'UPGRADE_TYPE_NONE' not handled in switch [-Wswitch] 1892 | switch ( upgrade.type ) | ^ In file included from menuitems.cpp:19: menuitems.h: In constructor 'cMenuScroller::cMenuScroller(int, int, cMenuScroller::eMenuScrollerTypes, cMenuItem*, void (*)(void*))': menuitems.h:761:28: warning: 'cMenuScroller::scrollerType' will be initialized after [-Wreorder] 761 | eMenuScrollerTypes scrollerType; | ^~~~~~~~~~~~ menuitems.h:760:20: warning: 'cMenuItem* cMenuScroller::parent' [-Wreorder] 760 | cMenuItem *parent; | ^~~~~~ menuitems.cpp:1915:1: warning: when initialized here [-Wreorder] 1915 | cMenuScroller::cMenuScroller ( int x, int y, eMenuScrollerTypes scrollerType_, cMenuItem *parent_, void (*movedCallback_)(void *) ) : | ^~~~~~~~~~~~~ In file included from menuitems.cpp:19: menuitems.h: In constructor 'cMenuScrollBar::cMenuScrollBar(int, int, int, int, cMenu*, cMenuItem*)': menuitems.h:791:13: warning: 'cMenuScrollBar::pageSteps' will be initialized after [-Wreorder] 791 | int pageSteps; | ^~~~~~~~~ menuitems.h:785:16: warning: 'cMenu* cMenuScrollBar::parentMenu' [-Wreorder] 785 | cMenu *parentMenu; | ^~~~~~~~~~ menuitems.cpp:1988:1: warning: when initialized here [-Wreorder] 1988 | cMenuScrollBar::cMenuScrollBar ( int x, int y, int h, int pageSteps_, cMenu *parentMenu_, cMenuItem *parentItem_ ) : cMenuItemContainer ( x, y ), pageSteps(pageSteps_), parentMenu(parentMenu_), parentItem(parentItem_) | ^~~~~~~~~~~~~~ menuitems.cpp: In destructor 'cMenuScrollBar::~cMenuScrollBar()': menuitems.cpp:2011:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2011 | delete upButton; | ^~~~~~~~~~~~~~~ menuitems.cpp:2012:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2012 | delete downButton; | ^~~~~~~~~~~~~~~~~ menuitems.cpp:2013:9: warning: deleting object of polymorphic class type 'cMenuScroller' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2013 | delete scroller; | ^~~~~~~~~~~~~~~ In file included from menuitems.cpp:19: menuitems.h: In constructor 'cMenuListBox::cMenuListBox(int, int, int, int, int, cMenu*)': menuitems.h:823:13: warning: 'cMenuListBox::maxLines' will be initialized after [-Wreorder] 823 | int maxLines; | ^~~~~~~~ menuitems.h:820:16: warning: 'cMenu* cMenuListBox::parentMenu' [-Wreorder] 820 | cMenu *parentMenu; | ^~~~~~~~~~ menuitems.cpp:2082:1: warning: when initialized here [-Wreorder] 2082 | cMenuListBox::cMenuListBox ( int x, int y, int w, int h, int maxLines_, cMenu *parentMenu_ ) : cMenuItemContainer ( x, y ), maxLines(maxLines_), parentMenu(parentMenu_) | ^~~~~~~~~~~~ menuitems.cpp: In destructor 'cMenuListBox::~cMenuListBox()': menuitems.cpp:2095:9: warning: deleting object of polymorphic class type 'cMenuScrollBar' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2095 | delete scrollBar; | ^~~~~~~~~~~~~~~~ menuitems.cpp: In destructor 'cMenuPlayersBox::~cMenuPlayersBox()': menuitems.cpp:2356:9: warning: deleting object of polymorphic class type 'cMenuScrollBar' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2356 | delete scrollBar; | ^~~~~~~~~~~~~~~~ menuitems.cpp:2359:17: warning: deleting object of polymorphic class type 'cMenuImage' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2359 | delete playerColors[i]; | ^~~~~~~~~~~~~~~~~~~~~~ menuitems.cpp:2360:17: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2360 | delete playerNames[i]; | ^~~~~~~~~~~~~~~~~~~~~ menuitems.cpp:2361:17: warning: deleting object of polymorphic class type 'cMenuImage' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2361 | delete playerReadys[i]; | ^~~~~~~~~~~~~~~~~~~~~~ menuitems.cpp: In destructor 'cMenuSaveSlot::~cMenuSaveSlot()': menuitems.cpp:2447:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2447 | delete saveNumber; | ^~~~~~~~~~~~~~~~~ menuitems.cpp:2448:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2448 | delete saveType; | ^~~~~~~~~~~~~~~ menuitems.cpp:2449:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2449 | delete saveTime; | ^~~~~~~~~~~~~~~ menuitems.cpp:2450:9: warning: deleting object of polymorphic class type 'cMenuLineEdit' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2450 | delete saveName; | ^~~~~~~~~~~~~~~ menuitems.cpp: In destructor 'cMenuBuildSpeedHandler::~cMenuBuildSpeedHandler()': menuitems.cpp:2512:17: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2512 | delete turnsLabels[i]; | ^~~~~~~~~~~~~~~~~~~~~ menuitems.cpp:2513:17: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2513 | delete costsLabels[i]; | ^~~~~~~~~~~~~~~~~~~~~ menuitems.cpp:2515:9: warning: deleting object of polymorphic class type 'cMenuRadioGroup' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2515 | delete speedGroup; | ^~~~~~~~~~~~~~~~~ menuitems.cpp: In destructor 'cMenuUpgradeFilter::~cMenuUpgradeFilter()': menuitems.cpp:2592:9: warning: deleting object of polymorphic class type 'cMenuCheckButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2592 | delete checkButtonTank; | ^~~~~~~~~~~~~~~~~~~~~~ menuitems.cpp:2593:9: warning: deleting object of polymorphic class type 'cMenuCheckButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2593 | delete checkButtonPlane; | ^~~~~~~~~~~~~~~~~~~~~~~ menuitems.cpp:2594:9: warning: deleting object of polymorphic class type 'cMenuCheckButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2594 | delete checkButtonShip; | ^~~~~~~~~~~~~~~~~~~~~~ menuitems.cpp:2595:9: warning: deleting object of polymorphic class type 'cMenuCheckButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2595 | delete checkButtonBuilding; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ menuitems.cpp:2596:9: warning: deleting object of polymorphic class type 'cMenuCheckButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2596 | delete checkButtonTNT; | ^~~~~~~~~~~~~~~~~~~~~ menuitems.cpp: In destructor 'cMenuSlider::~cMenuSlider()': menuitems.cpp:2708:9: warning: deleting object of polymorphic class type 'cMenuScroller' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2708 | delete scroller; | ^~~~~~~~~~~~~~~ menuitems.cpp: In destructor 'cMenuScrollerHandler::~cMenuScrollerHandler()': menuitems.cpp:2767:9: warning: deleting object of polymorphic class type 'cMenuScroller' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2767 | delete scroller; | ^~~~~~~~~~~~~~~ menuitems.cpp: In member function 'void cMenuReportsScreen::drawUnitsScreen()': menuitems.cpp:2833:48: warning: narrowing conversion of '(((int)((cMenuReportsScreen*)this)->cMenuReportsScreen::.cMenuItem::position.SDL_Rect::x) + 13)' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 2833 | SDL_Rect selDest = { position.x+13, position.y+26+55*selIndex, 8, 1 }; | ~~~~~~~~~~^~~ menuitems.cpp:2833:66: warning: narrowing conversion of '((((int)((cMenuReportsScreen*)this)->cMenuReportsScreen::.cMenuItem::position.SDL_Rect::y) + 26) + (55 * selIndex))' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 2833 | SDL_Rect selDest = { position.x+13, position.y+26+55*selIndex, 8, 1 }; | ~~~~~~~~~~~~~^~~~~~~~~~~~ menuitems.cpp: In member function 'void cMenuReportsScreen::drawReportsScreen()': menuitems.cpp:2867:41: warning: narrowing conversion of '(((int)((cMenuReportsScreen*)this)->cMenuReportsScreen::.cMenuItem::position.SDL_Rect::x) + 54)' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 2867 | SDL_Rect textDest = { position.x+54, position.y+25, 410, 30 }; | ~~~~~~~~~~^~~ menuitems.cpp:2867:56: warning: narrowing conversion of '(((int)((cMenuReportsScreen*)this)->cMenuReportsScreen::.cMenuItem::position.SDL_Rect::y) + 25)' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 2867 | SDL_Rect textDest = { position.x+54, position.y+25, 410, 30 }; | ~~~~~~~~~~^~~ menuitems.cpp:2882:61: warning: narrowing conversion of '(((int)((cMenuReportsScreen*)this)->cMenuReportsScreen::.cMenuItem::position.SDL_Rect::x) + 17)' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 2882 | SDL_Rect dest = { position.x+17, position.y+30+(i-(index)*maxItems)*55, 0, 0 }; | ~~~~~~~~~~^~~ menuitems.cpp:2882:79: warning: narrowing conversion of '(((unsigned int)(((int)((cMenuReportsScreen*)this)->cMenuReportsScreen::.cMenuItem::position.SDL_Rect::y) + 30)) + ((i - ((unsigned int)(((cMenuReportsScreen*)this)->cMenuReportsScreen::index * ((cMenuReportsScreen*)this)->cMenuReportsScreen::maxItems))) * 55))' from 'unsigned int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 2882 | SDL_Rect dest = { position.x+17, position.y+30+(i-(index)*maxItems)*55, 0, 0 }; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ menuitems.cpp:2904:56: warning: narrowing conversion of '(((int)((cMenuReportsScreen*)this)->cMenuReportsScreen::.cMenuItem::position.SDL_Rect::x) + 15)' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 2904 | SDL_Rect selDest = { position.x+15, position.y+23+55*selIndex, 1, 53 }; | ~~~~~~~~~~^~~ menuitems.cpp:2904:74: warning: narrowing conversion of '((((int)((cMenuReportsScreen*)this)->cMenuReportsScreen::.cMenuItem::position.SDL_Rect::y) + 23) + (55 * selIndex))' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 2904 | SDL_Rect selDest = { position.x+15, position.y+23+55*selIndex, 1, 53 }; | ~~~~~~~~~~~~~^~~~~~~~~~~~ menuitems.cpp: In member function 'bool cMenuReportsScreen::goThroughUnits(bool, int*, cVehicle**, cBuilding**)': menuitems.cpp:2953:37: warning: narrowing conversion of '(((int)((cMenuReportsScreen*)this)->cMenuReportsScreen::.cMenuItem::position.SDL_Rect::x) + 17)' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 2953 | SDL_Rect dest = { position.x+17, position.y+30, 0, 0 }; | ~~~~~~~~~~^~~ menuitems.cpp:2953:52: warning: narrowing conversion of '(((int)((cMenuReportsScreen*)this)->cMenuReportsScreen::.cMenuItem::position.SDL_Rect::y) + 30)' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 2953 | SDL_Rect dest = { position.x+17, position.y+30, 0, 0 }; | ~~~~~~~~~~^~~ menuitems.cpp:2954:41: warning: narrowing conversion of '(((int)((cMenuReportsScreen*)this)->cMenuReportsScreen::.cMenuItem::position.SDL_Rect::x) + 54)' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 2954 | SDL_Rect nameDest = { position.x+54, position.y+25, 75, 30 }; | ~~~~~~~~~~^~~ menuitems.cpp:2954:56: warning: narrowing conversion of '(((int)((cMenuReportsScreen*)this)->cMenuReportsScreen::.cMenuItem::position.SDL_Rect::y) + 25)' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 2954 | SDL_Rect nameDest = { position.x+54, position.y+25, 75, 30 }; | ~~~~~~~~~~^~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_AUTOVERSION_H -DRELEASE -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o pcx.o pcx.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_AUTOVERSION_H -DRELEASE -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o settings.o settings.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_AUTOVERSION_H -DRELEASE -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o tinystr.o tinystr.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_AUTOVERSION_H -DRELEASE -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o tinyxml.o tinyxml.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_AUTOVERSION_H -DRELEASE -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o tinyxmlerror.o tinyxmlerror.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_AUTOVERSION_H -DRELEASE -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o network.o network.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_AUTOVERSION_H -DRELEASE -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o serverevents.o serverevents.cpp In file included from menuevents.h:23, from serverevents.cpp:26: menus.h: In constructor 'sClientLandData::sClientLandData()': menus.h:55:25: warning: 'sClientLandData::iLastLandY' will be initialized after [-Wreorder] 55 | int iLastLandX, iLastLandY; | ^~~~~~~~~~ menus.h:54:23: warning: 'eLandingState sClientLandData::landingState' [-Wreorder] 54 | eLandingState landingState; | ^~~~~~~~~~~~ menus.h:58:9: warning: when initialized here [-Wreorder] 58 | sClientLandData() : iLandX(0), iLandY(0), iLastLandX(0), iLastLandY(0), landingState ( LANDING_STATE_UNKNOWN ), receivedOK(true) {} | ^~~~~~~~~~~~~~~ In file included from menuevents.h:23, from serverevents.cpp:26: menus.h: In constructor 'cGameDataContainer::cGameDataContainer()': menus.h:154:15: warning: 'cGameDataContainer::map' will be initialized after [-Wreorder] 154 | cMap *map; | ^~~ menus.h:144:20: warning: 'eGameTypes cGameDataContainer::type' [-Wreorder] 144 | eGameTypes type; | ^~~~ menus.h:164:9: warning: when initialized here [-Wreorder] 164 | cGameDataContainer() : settings(NULL), map(NULL), type(GAME_TYPE_SINGLE), savegameNum(-1) {} | ^~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_AUTOVERSION_H -DRELEASE -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o tinyxmlparser.o tinyxmlparser.cpp tinyxmlparser.cpp: In static member function 'static const char* TiXmlBase::SkipWhiteSpace(const char*, TiXmlEncoding)': tinyxmlparser.cpp:357:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 357 | while ( *p && IsWhiteSpace( *p ) || *p == '\n' || *p =='\r' ) | ~~~^~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_AUTOVERSION_H -DRELEASE -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o sound.o sound.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_AUTOVERSION_H -DRELEASE -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o upgradecalculator.o upgradecalculator.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_AUTOVERSION_H -DRELEASE -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o player.o player.cpp In file included from player.cpp:20: player.h: In constructor 'cPlayer::cPlayer(std::string, SDL_Surface*, int, int)': player.h:88:15: warning: 'cPlayer::base' will be initialized after [-Wreorder] 88 | cBase base; // Die Basis dieses Spielers. | ^~~~ player.h:77:16: warning: 'std::string cPlayer::name' [-Wreorder] 77 | string name; | ^~~~ player.cpp:30:1: warning: when initialized here [-Wreorder] 30 | cPlayer::cPlayer(string Name, SDL_Surface* Color, int nr, int iSocketNum) | ^~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_AUTOVERSION_H -DRELEASE -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o server.o server.cpp In file included from server.cpp:28: menus.h: In constructor 'sClientLandData::sClientLandData()': menus.h:55:25: warning: 'sClientLandData::iLastLandY' will be initialized after [-Wreorder] 55 | int iLastLandX, iLastLandY; | ^~~~~~~~~~ menus.h:54:23: warning: 'eLandingState sClientLandData::landingState' [-Wreorder] 54 | eLandingState landingState; | ^~~~~~~~~~~~ menus.h:58:9: warning: when initialized here [-Wreorder] 58 | sClientLandData() : iLandX(0), iLandY(0), iLastLandX(0), iLastLandY(0), landingState ( LANDING_STATE_UNKNOWN ), receivedOK(true) {} | ^~~~~~~~~~~~~~~ In file included from server.cpp:28: menus.h: In constructor 'cGameDataContainer::cGameDataContainer()': menus.h:154:15: warning: 'cGameDataContainer::map' will be initialized after [-Wreorder] 154 | cMap *map; | ^~~ menus.h:144:20: warning: 'eGameTypes cGameDataContainer::type' [-Wreorder] 144 | eGameTypes type; | ^~~~ menus.h:164:9: warning: when initialized here [-Wreorder] 164 | cGameDataContainer() : settings(NULL), map(NULL), type(GAME_TYPE_SINGLE), savegameNum(-1) {} | ^~~~~~~~~~~~~~~~~~ server.cpp: In member function 'int cServer::HandleNetMessage(cNetMessage*)': server.cpp:1120:53: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1120 | if (upgradeAll || i == storageSlot) | ~~^~~~~~~~~~~~~~ server.cpp: In member function 'cVehicle* cServer::getVehicleFromID(int)': server.cpp:2850:43: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 2850 | if ( Vehicle->iID == iID ) return Vehicle; | ~~~~~~~~~~~~~^~~~~~ server.cpp: In member function 'cBuilding* cServer::getBuildingFromID(int)': server.cpp:2866:44: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 2866 | if ( Building->iID == iID ) return Building; | ~~~~~~~~~~~~~~^~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_AUTOVERSION_H -DRELEASE -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o savegame.o savegame.cpp In file included from savegame.cpp:25: menus.h: In constructor 'sClientLandData::sClientLandData()': menus.h:55:25: warning: 'sClientLandData::iLastLandY' will be initialized after [-Wreorder] 55 | int iLastLandX, iLastLandY; | ^~~~~~~~~~ menus.h:54:23: warning: 'eLandingState sClientLandData::landingState' [-Wreorder] 54 | eLandingState landingState; | ^~~~~~~~~~~~ menus.h:58:9: warning: when initialized here [-Wreorder] 58 | sClientLandData() : iLandX(0), iLandY(0), iLastLandX(0), iLastLandY(0), landingState ( LANDING_STATE_UNKNOWN ), receivedOK(true) {} | ^~~~~~~~~~~~~~~ In file included from savegame.cpp:25: menus.h: In constructor 'cGameDataContainer::cGameDataContainer()': menus.h:154:15: warning: 'cGameDataContainer::map' will be initialized after [-Wreorder] 154 | cMap *map; | ^~~ menus.h:144:20: warning: 'eGameTypes cGameDataContainer::type' [-Wreorder] 144 | eGameTypes type; | ^~~~ menus.h:164:9: warning: when initialized here [-Wreorder] 164 | cGameDataContainer() : settings(NULL), map(NULL), type(GAME_TYPE_SINGLE), savegameNum(-1) {} | ^~~~~~~~~~~~~~~~~~ savegame.cpp: In constructor 'cSavegame::cSavegame(int)': savegame.cpp:33:30: warning: '0' flag ignored with precision and '%d' gnu_printf format [-Wformat=] 33 | sprintf ( numberstr, "%0.3d", number ); | ^~~~~~~ savegame.cpp: In member function 'void cSavegame::loadGameInfo()': savegame.cpp:232:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 232 | if ( element = gameInfoNode->FirstChildElement( "Hotseat" ) ) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:237:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 237 | if ( element = gameInfoNode->FirstChildElement( "PlayTurns" ) ) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp: In member function 'cPlayer* cSavegame::loadPlayer(TiXmlElement*, cMap*)': savegame.cpp:304:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 304 | if ( element = playerNode->FirstChildElement ("Clan" ) ) element->Attribute ( "num", &clan ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:393:27: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 393 | if ( subbasesNode = playerNode->FirstChildElement( "Subbases" ) ) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp: In member function 'void cSavegame::loadUpgrade(TiXmlElement*, sUnitData*)': savegame.cpp:423:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 423 | if ( element = upgradeNode->FirstChildElement( "Ammo" ) ) element->Attribute ( "num", &data->ammoMax ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:424:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 424 | if ( element = upgradeNode->FirstChildElement( "HitPoints" ) ) element->Attribute ( "num", &data->hitpointsMax ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:425:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 425 | if ( element = upgradeNode->FirstChildElement( "Shots" ) ) element->Attribute ( "num", &data->shotsMax ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:426:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 426 | if ( element = upgradeNode->FirstChildElement( "Speed" ) ) element->Attribute ( "num", &data->speedMax ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:427:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 427 | if ( element = upgradeNode->FirstChildElement( "Armor" ) ) element->Attribute ( "num", &data->armor ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:428:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 428 | if ( element = upgradeNode->FirstChildElement( "Costs" ) ) element->Attribute ( "num", &data->buildCosts ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:429:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 429 | if ( element = upgradeNode->FirstChildElement( "Damage" ) ) element->Attribute ( "num", &data->damage ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:430:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 430 | if ( element = upgradeNode->FirstChildElement( "Range" ) ) element->Attribute ( "num", &data->range ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:431:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 431 | if ( element = upgradeNode->FirstChildElement( "Scan" ) ) element->Attribute ( "num", &data->scan ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp: In member function 'void cSavegame::loadVehicle(TiXmlElement*, sID&)': savegame.cpp:563:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 563 | if ( element = unitNode->FirstChildElement( "CommandoRank" ) ) { element->Attribute ( "num", &tmpdouble ); vehicle->CommandoRank = (float)tmpdouble; } | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:574:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 574 | if ( element = unitNode->FirstChildElement( "Building" ) ) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:599:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 599 | if ( element = unitNode->FirstChildElement( "Clearing" ) ) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:606:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 606 | if ( element = unitNode->FirstChildElement( "Movejob" ) ) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:618:27: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 618 | if ( detectedNode = unitNode->FirstChildElement( "IsDetectedByPlayers" ) ) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:621:33: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 621 | while ( element = detectedNode->FirstChildElement ( ("Player_" + iToStr( playerNodeNum )).c_str() ) ) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:635:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 635 | if ( element = unitNode->FirstChildElement( "Stored_In" ) ) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp: In member function 'void cSavegame::loadBuilding(TiXmlElement*, sID&)': savegame.cpp:707:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 707 | if ( element = unitNode->FirstChildElement( "Building" ) ) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:710:30: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 710 | if ( element = buildNode->FirstChildElement( "BuildSpeed" ) ) element->Attribute ( "num", &building->BuildSpeed ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:711:30: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 711 | if ( element = buildNode->FirstChildElement( "MetalPerRound" ) ) element->Attribute ( "num", &building->MetalPerRound ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:749:27: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 749 | if ( detectedNode = unitNode->FirstChildElement( "IsDetectedByPlayers" ) ) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:752:33: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 752 | while ( element = detectedNode->FirstChildElement ( ("Player_" + iToStr( playerNodeNum )).c_str() ) ) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp: In member function 'void cSavegame::loadUnitValues(TiXmlElement*, sUnitData*)': savegame.cpp:785:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 785 | if ( Element = unitNode->FirstChildElement( "Version" ) ) Element->Attribute ( "num", &Data->version ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:787:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 787 | if ( Element = unitNode->FirstChildElement( "Max_Hitpoints" ) ) Element->Attribute ( "num", &Data->hitpointsMax ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:788:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 788 | if ( Element = unitNode->FirstChildElement( "Max_Ammo" ) ) Element->Attribute ( "num", &Data->ammoMax ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:789:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 789 | if ( Element = unitNode->FirstChildElement( "Max_Speed" ) ) Element->Attribute ( "num", &Data->speedMax ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:790:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 790 | if ( Element = unitNode->FirstChildElement( "Max_Shots" ) ) Element->Attribute ( "num", &Data->shotsMax ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:791:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 791 | if ( Element = unitNode->FirstChildElement( "Armor" ) ) Element->Attribute ( "num", &Data->armor ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:792:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 792 | if ( Element = unitNode->FirstChildElement( "Damage" ) ) Element->Attribute ( "num", &Data->damage ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:793:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 793 | if ( Element = unitNode->FirstChildElement( "Range" ) ) Element->Attribute ( "num", &Data->range ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:794:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 794 | if ( Element = unitNode->FirstChildElement( "Scan" ) ) Element->Attribute ( "num", &Data->scan ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:796:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 796 | if ( Element = unitNode->FirstChildElement( "Hitpoints" ) ) Element->Attribute ( "num", &Data->hitpointsCur ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:798:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 798 | if ( Element = unitNode->FirstChildElement( "Ammo" ) ) Element->Attribute ( "num", &Data->ammoCur ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:801:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 801 | if ( Element = unitNode->FirstChildElement( "ResCargo" ) ) Element->Attribute ( "num", &Data->storageResCur ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:802:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 802 | if ( Element = unitNode->FirstChildElement( "UnitCargo" ) ) Element->Attribute ( "num", &Data->storageUnitsCur ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:804:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 804 | if ( Element = unitNode->FirstChildElement( "Cargo" ) ) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:810:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 810 | if ( Element = unitNode->FirstChildElement( "Speed" ) ) Element->Attribute ( "num", &Data->speedCur ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:812:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 812 | if ( Element = unitNode->FirstChildElement( "Shots" ) ) Element->Attribute ( "num", &Data->shotsCur ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp: In member function 'void cSavegame::loadStandardUnitValues(TiXmlElement*)': savegame.cpp:865:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 865 | if ( Element = unitNode->FirstChildElement( "Scan" ) ) Element->Attribute ( "num", &Data->scan ); else Data->scan = 0; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:866:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 866 | if ( Element = unitNode->FirstChildElement( "Movement" ) ) Element->Attribute ( "num", &Data->speedMax ); else Data->speedMax = 0; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:871:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 871 | if ( Element = unitNode->FirstChildElement( "MuzzleType" ) ) { Element->Attribute ( "num", &tmpInt ); Data->muzzleType = (sUnitData::eMuzzleType)tmpInt; } else Data->muzzleType = sUnitData::MUZZLE_TYPE_NONE; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:872:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 872 | if ( Element = unitNode->FirstChildElement( "Shots" ) ) Element->Attribute ( "num", &Data->shotsMax ); else Data->shotsMax = 0; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:873:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 873 | if ( Element = unitNode->FirstChildElement( "Ammo" ) ) Element->Attribute ( "num", &Data->ammoMax ); else Data->ammoMax = 0; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:874:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 874 | if ( Element = unitNode->FirstChildElement( "Range" ) ) Element->Attribute ( "num", &Data->range ); else Data->range = 0; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:875:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 875 | if ( Element = unitNode->FirstChildElement( "Damage" ) ) Element->Attribute ( "num", &Data->damage ); else Data->damage = 0; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:876:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 876 | if ( Element = unitNode->FirstChildElement( "Can_Attack" ) ) { Element->Attribute ( "num", &tmpInt ); Data->canAttack = tmpInt; } else Data->canAttack = TERRAIN_NONE; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:878:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 878 | if ( Element = unitNode->FirstChildElement( "Can_Build" ) ) Data->canBuild = Element->Attribute ( "string" ); else Data->canBuild = ""; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:879:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 879 | if ( Element = unitNode->FirstChildElement( "Build_As" ) ) Data->buildAs = Element->Attribute ( "string" ); else Data->buildAs = ""; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:880:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 880 | if ( Element = unitNode->FirstChildElement( "Max_Build_Factor" ) ) Element->Attribute ( "num", &Data->maxBuildFactor ); else Data->maxBuildFactor = 0; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:882:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 882 | if ( Element = unitNode->FirstChildElement( "Storage_Res_Max" ) ) Element->Attribute ( "num", &Data->storageResMax ); else Data->storageResMax = 0; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:883:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 883 | if ( Element = unitNode->FirstChildElement( "Storage_Units_Max" ) ) Element->Attribute ( "num", &Data->storageUnitsMax ); else Data->storageUnitsMax = 0; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:884:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 884 | if ( Element = unitNode->FirstChildElement( "Store_Res_Type" ) ) { Element->Attribute ( "num", &tmpInt ); Data->storeResType = (sUnitData::eStorageResType)tmpInt; } else Data->storeResType = sUnitData::STORE_RES_NONE; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:885:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 885 | if ( Element = unitNode->FirstChildElement( "StoreUnits_Image_Type" ) ) { Element->Attribute ( "num", &tmpInt ); Data->storeUnitsImageType = (sUnitData::eStorageUnitsImageType)tmpInt; } else Data->storeUnitsImageType = sUnitData::STORE_UNIT_IMG_NONE; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:886:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 886 | if ( Element = unitNode->FirstChildElement( "Is_Storage_Type" ) ) Data->isStorageType = Element->Attribute ( "string" ); else Data->isStorageType = ""; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:887:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 887 | if ( Element = unitNode->FirstChildElement( "StoreUnitsTypes" ) ) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:897:42: warning: comparison of integer expressions of different signedness: 'int' and 'const size_type' {aka 'const long unsigned int'} [-Wsign-compare] 897 | if ( pos == string::npos ) pos = storeUnitsString.length(); | ~~~~^~~~~~~~~~~~~~~ savegame.cpp:904:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 904 | if ( Element = unitNode->FirstChildElement( "Needs_Energy" ) ) Element->Attribute ( "num", &Data->needsEnergy ); else Data->needsEnergy = 0; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:905:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 905 | if ( Element = unitNode->FirstChildElement( "Needs_Humans" ) ) Element->Attribute ( "num", &Data->needsHumans ); else Data->needsHumans = 0; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:906:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 906 | if ( Element = unitNode->FirstChildElement( "Needs_Oil" ) ) Element->Attribute ( "num", &Data->needsOil ); else Data->needsOil = 0; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:907:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 907 | if ( Element = unitNode->FirstChildElement( "Needs_Metal" ) ) Element->Attribute ( "num", &Data->needsMetal ); else Data->needsMetal = 0; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:908:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 908 | if ( Element = unitNode->FirstChildElement( "Converts_Gold" ) ) Element->Attribute ( "num", &Data->convertsGold ); else Data->convertsGold = 0; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:909:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 909 | if ( Element = unitNode->FirstChildElement( "Can_Mine_Max_Res" ) ) Element->Attribute ( "num", &Data->canMineMaxRes ); else Data->canMineMaxRes = 0; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:921:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 921 | if ( Element = unitNode->FirstChildElement( "Is_Stealth_On" ) ) { Element->Attribute ( "num", &tmpInt ); Data->isStealthOn = tmpInt; } else Data->isStealthOn = TERRAIN_NONE; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:922:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 922 | if ( Element = unitNode->FirstChildElement( "Can_Detect_Stealth_On" ) ) { Element->Attribute ( "num", &tmpInt ); Data->canDetectStealthOn = tmpInt; } else Data->canDetectStealthOn = TERRAIN_NONE; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:924:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 924 | if ( Element = unitNode->FirstChildElement( "Surface_Position" ) ) { Element->Attribute ( "num", &tmpInt ); Data->surfacePosition = (sUnitData::eSurfacePosition)tmpInt; } else Data->surfacePosition = sUnitData::SURFACE_POS_GROUND; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:925:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 925 | if ( Element = unitNode->FirstChildElement( "Can_Be_Overbuild" ) ) { Element->Attribute ( "num", &tmpInt ); Data->canBeOverbuild = (sUnitData::eOverbuildType)tmpInt; } else Data->canBeOverbuild = sUnitData::OVERBUILD_TYPE_NO; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:928:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 928 | if ( Element = unitNode->FirstChildElement( "Factor_Air" ) ) { Element->Attribute ( "num", &tmpdouble ); Data->factorAir = (float)tmpdouble; } else Data->factorAir = 0; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:929:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 929 | if ( Element = unitNode->FirstChildElement( "Factor_Coast" ) ) { Element->Attribute ( "num", &tmpdouble ); Data->factorCoast = (float)tmpdouble; } else Data->factorCoast = 0; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:930:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 930 | if ( Element = unitNode->FirstChildElement( "Factor_Ground" ) ) { Element->Attribute ( "num", &tmpdouble ); Data->factorGround = (float)tmpdouble; } else Data->factorGround = 0; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:931:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 931 | if ( Element = unitNode->FirstChildElement( "Factor_Sea" ) ) { Element->Attribute ( "num", &tmpdouble ); Data->factorSea = (float)tmpdouble; } else Data->factorSea = 0; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:933:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 933 | if ( Element = unitNode->FirstChildElement( "Factor_Sea" ) ) { Element->Attribute ( "num", &tmpdouble ); Data->modifiesSpeed = (float)tmpdouble; } else Data->modifiesSpeed = 0; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:822:13: warning: variable 'unitNum' set but not used [-Wunused-but-set-variable] 822 | int unitNum; | ^~~~~~~ savegame.cpp:823:14: warning: variable 'isVehicle' set but not used [-Wunused-but-set-variable] 823 | bool isVehicle; | ^~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_AUTOVERSION_H -DRELEASE -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o unifonts.o unifonts.cpp unifonts.cpp: In member function 'void cUnicodeFont::loadChars(eUnicodeFontCharset, eUnicodeFontType)': unifonts.cpp:131:37: warning: unused variable 'stop' [-Wunused-variable] 131 | int stop = 0; | ^~~~ unifonts.cpp: In member function 'void cUnicodeFont::showText(int, int, std::string, eUnicodeFontType, SDL_Surface*, bool)': unifonts.cpp:330:15: warning: enumeration value 'FONT_LATIN_NORMAL' not handled in switch [-Wswitch] 330 | switch( fonttype ) | ^ unifonts.cpp:330:15: warning: enumeration value 'FONT_LATIN_BIG' not handled in switch [-Wswitch] unifonts.cpp:330:15: warning: enumeration value 'FONT_LATIN_BIG_GOLD' not handled in switch [-Wswitch] unifonts.cpp:379:50: warning: narrowing conversion of 'offX' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 379 | SDL_Rect rTmp = {offX, offY, 16, 16}; | ^~~~ unifonts.cpp:379:56: warning: narrowing conversion of 'offY' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 379 | SDL_Rect rTmp = {offX, offY, 16, 16}; | ^~~~ unifonts.cpp: In member function 'int cUnicodeFont::drawWithBreakLines(SDL_Rect, std::string, eUnicodeFontType, SDL_Surface*, bool)': unifonts.cpp:402:100: warning: comparison of integer expressions of different signedness: 'int' and 'const size_type' {aka 'const long unsigned int'} [-Wsign-compare] 402 | while ( getTextWide ( sText.substr ( 0, pos ), fonttype, encode ) < rDest.w && pos != string::npos ); | ~~~~^~~~~~~~~~~~~~~ unifonts.cpp: In member function 'int cUnicodeFont::showTextAsBlock(SDL_Rect, std::string, eUnicodeFontType, SDL_Surface*, bool)': unifonts.cpp:453:24: warning: comparison of integer expressions of different signedness: 'int' and 'const size_type' {aka 'const long unsigned int'} [-Wsign-compare] 453 | if ( k != string::npos ) | ~~^~~~~~~~~~~~~~~ unifonts.cpp:459:19: warning: comparison of integer expressions of different signedness: 'int' and 'const size_type' {aka 'const long unsigned int'} [-Wsign-compare] 459 | while ( k != string::npos ); | ~~^~~~~~~~~~~~~~~ unifonts.cpp:466:24: warning: comparison of integer expressions of different signedness: 'int' and 'const size_type' {aka 'const long unsigned int'} [-Wsign-compare] 466 | if ( k != string::npos ) | ~~^~~~~~~~~~~~~~~ unifonts.cpp:471:19: warning: comparison of integer expressions of different signedness: 'int' and 'const size_type' {aka 'const long unsigned int'} [-Wsign-compare] 471 | while ( k != string::npos ); | ~~^~~~~~~~~~~~~~~ unifonts.cpp:478:24: warning: comparison of integer expressions of different signedness: 'int' and 'const size_type' {aka 'const long unsigned int'} [-Wsign-compare] 478 | if ( k != string::npos ) | ~~^~~~~~~~~~~~~~~ unifonts.cpp:490:19: warning: comparison of integer expressions of different signedness: 'int' and 'const size_type' {aka 'const long unsigned int'} [-Wsign-compare] 490 | while ( k != string::npos ); | ~~^~~~~~~~~~~~~~~ unifonts.cpp: In member function 'SDL_Rect cUnicodeFont::getTextSize(std::string, eUnicodeFontType, bool)': unifonts.cpp:520:15: warning: enumeration value 'FONT_LATIN_NORMAL' not handled in switch [-Wswitch] 520 | switch( fonttype ) | ^ unifonts.cpp:520:15: warning: enumeration value 'FONT_LATIN_BIG' not handled in switch [-Wswitch] unifonts.cpp:520:15: warning: enumeration value 'FONT_LATIN_BIG_GOLD' not handled in switch [-Wswitch] make[2]: Leaving directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_AUTOVERSION_H -DRELEASE -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o vehicles.o vehicles.cpp In file included from dialog.h:22, from vehicles.cpp:25: menus.h: In constructor 'sClientLandData::sClientLandData()': menus.h:55:25: warning: 'sClientLandData::iLastLandY' will be initialized after [-Wreorder] 55 | int iLastLandX, iLastLandY; | ^~~~~~~~~~ menus.h:54:23: warning: 'eLandingState sClientLandData::landingState' [-Wreorder] 54 | eLandingState landingState; | ^~~~~~~~~~~~ menus.h:58:9: warning: when initialized here [-Wreorder] 58 | sClientLandData() : iLandX(0), iLandY(0), iLastLandX(0), iLastLandY(0), landingState ( LANDING_STATE_UNKNOWN ), receivedOK(true) {} | ^~~~~~~~~~~~~~~ In file included from dialog.h:22, from vehicles.cpp:25: menus.h: In constructor 'cGameDataContainer::cGameDataContainer()': menus.h:154:15: warning: 'cGameDataContainer::map' will be initialized after [-Wreorder] 154 | cMap *map; | ^~~ menus.h:144:20: warning: 'eGameTypes cGameDataContainer::type' [-Wreorder] 144 | eGameTypes type; | ^~~~ menus.h:164:9: warning: when initialized here [-Wreorder] 164 | cGameDataContainer() : settings(NULL), map(NULL), type(GAME_TYPE_SINGLE), savegameNum(-1) {} | ^~~~~~~~~~~~~~~~~~ vehicles.cpp: In member function 'void cVehicle::ShowDetails(bool, int, int, SDL_Surface*, bool)': vehicles.cpp:990:45: warning: narrowing conversion of '(((int)dest.SDL_Rect::x) + 2)' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 990 | SDL_Rect lineRect = { dest.x+2, dest.y+14, 153, 1 }; | ~~~~~~^~ vehicles.cpp:990:55: warning: narrowing conversion of '(((int)dest.SDL_Rect::y) + 14)' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 990 | SDL_Rect lineRect = { dest.x+2, dest.y+14, 153, 1 }; | ~~~~~~^~~ vehicles.cpp:1016:32: warning: enumeration value 'STORE_RES_NONE' not handled in switch [-Wswitch] 1016 | switch ( data.storeResType ) | ^ vehicles.cpp:1033:32: warning: enumeration value 'STORE_UNIT_IMG_NONE' not handled in switch [-Wswitch] 1033 | switch ( data.storeUnitsImageType ) | ^ vehicles.cpp: In member function 'void cVehicle::DrawSymbol(eSymbols, int, int, int, int, int, SDL_Surface*)': vehicles.cpp:1078:16: warning: enumeration value 'SAir' not handled in switch [-Wswitch] 1078 | switch ( sym ) | ^ vehicles.cpp: In member function 'void cVehicle::DrawSymbolBig(eSymbolsBig, int, int, int, int, int, SDL_Surface*)': vehicles.cpp:1249:16: warning: enumeration value 'SBEnergy' not handled in switch [-Wswitch] 1249 | switch ( sym ) | ^ vehicles.cpp:1249:16: warning: enumeration value 'SBHuman' not handled in switch [-Wswitch] vehicles.cpp: In member function 'void cVehicle::DrawExitPoints(sVehicle*) const': vehicles.cpp:2936:23: warning: variable 'size' set but not used [-Wunused-but-set-variable] 2936 | int spx, spy, size; | ^~~~ vehicles.cpp: In member function 'bool cVehicle::canLoad(cVehicle*, bool)': vehicles.cpp:2987:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 2987 | if ( i == data.storeUnitsTypes.size() ) return false; | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vehicles.cpp: In member function 'bool cVehicle::canDoCommandoAction(int, int, cMap*, bool)': vehicles.cpp:3188:18: warning: variable 'boff' set but not used [-Wunused-but-set-variable] 3188 | int off, boff; | ^~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_AUTOVERSION_H -DRELEASE -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o menus.o menus.cpp In file included from menus.cpp:22: menus.h: In constructor 'sClientLandData::sClientLandData()': menus.h:55:25: warning: 'sClientLandData::iLastLandY' will be initialized after [-Wreorder] 55 | int iLastLandX, iLastLandY; | ^~~~~~~~~~ menus.h:54:23: warning: 'eLandingState sClientLandData::landingState' [-Wreorder] 54 | eLandingState landingState; | ^~~~~~~~~~~~ menus.h:58:9: warning: when initialized here [-Wreorder] 58 | sClientLandData() : iLandX(0), iLandY(0), iLastLandX(0), iLastLandY(0), landingState ( LANDING_STATE_UNKNOWN ), receivedOK(true) {} | ^~~~~~~~~~~~~~~ In file included from menus.cpp:22: menus.h: In constructor 'cGameDataContainer::cGameDataContainer()': menus.h:154:15: warning: 'cGameDataContainer::map' will be initialized after [-Wreorder] 154 | cMap *map; | ^~~ menus.h:144:20: warning: 'eGameTypes cGameDataContainer::type' [-Wreorder] 144 | eGameTypes type; | ^~~~ menus.h:164:9: warning: when initialized here [-Wreorder] 164 | cGameDataContainer() : settings(NULL), map(NULL), type(GAME_TYPE_SINGLE), savegameNum(-1) {} | ^~~~~~~~~~~~~~~~~~ menus.cpp: In destructor 'cMainMenu::~cMainMenu()': menus.cpp:618:9: warning: deleting object of polymorphic class type 'cMenuImage' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 618 | delete infoImage; | ^~~~~~~~~~~~~~~~ menus.cpp:619:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 619 | delete creditsLabel; | ^~~~~~~~~~~~~~~~~~~ menus.cpp: In destructor 'cStartMenu::~cStartMenu()': menus.cpp:699:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 699 | delete titleLabel; | ^~~~~~~~~~~~~~~~~ menus.cpp:700:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 700 | delete singleButton; | ^~~~~~~~~~~~~~~~~~~ menus.cpp:701:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 701 | delete multiButton; | ^~~~~~~~~~~~~~~~~~ menus.cpp:702:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 702 | delete preferenceButton; | ^~~~~~~~~~~~~~~~~~~~~~~ menus.cpp:703:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 703 | delete licenceButton; | ^~~~~~~~~~~~~~~~~~~~ menus.cpp:704:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 704 | delete exitButton; | ^~~~~~~~~~~~~~~~~ menus.cpp: In destructor 'cSinglePlayerMenu::~cSinglePlayerMenu()': menus.cpp:766:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 766 | delete titleLabel; | ^~~~~~~~~~~~~~~~~ menus.cpp:767:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 767 | delete newGameButton; | ^~~~~~~~~~~~~~~~~~~~ menus.cpp:768:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 768 | delete loadGameButton; | ^~~~~~~~~~~~~~~~~~~~~ menus.cpp:769:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 769 | delete backButton; | ^~~~~~~~~~~~~~~~~ menus.cpp: In destructor 'cMultiPlayersMenu::~cMultiPlayersMenu()': menus.cpp:831:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 831 | delete titleLabel; | ^~~~~~~~~~~~~~~~~ menus.cpp:832:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 832 | delete tcpHostButton; | ^~~~~~~~~~~~~~~~~~~~ menus.cpp:833:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 833 | delete tcpClientButton; | ^~~~~~~~~~~~~~~~~~~~~~ menus.cpp:834:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 834 | delete newHotseatButton; | ^~~~~~~~~~~~~~~~~~~~~~~ menus.cpp:835:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 835 | delete loadHotseatButton; | ^~~~~~~~~~~~~~~~~~~~~~~~ menus.cpp:836:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 836 | delete backButton; | ^~~~~~~~~~~~~~~~~ menus.cpp: In destructor 'cSettingsMenu::~cSettingsMenu()': menus.cpp:1008:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1008 | delete titleLabel; | ^~~~~~~~~~~~~~~~~ menus.cpp:1009:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1009 | delete okButton; | ^~~~~~~~~~~~~~~ menus.cpp:1010:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1010 | delete backButton; | ^~~~~~~~~~~~~~~~~ menus.cpp:1012:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1012 | delete metalLabel; | ^~~~~~~~~~~~~~~~~ menus.cpp:1013:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1013 | delete oilLabel; | ^~~~~~~~~~~~~~~ menus.cpp:1014:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1014 | delete goldLabel; | ^~~~~~~~~~~~~~~~ menus.cpp:1015:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1015 | delete creditsLabel; | ^~~~~~~~~~~~~~~~~~~ menus.cpp:1016:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1016 | delete bridgeheadLabel; | ^~~~~~~~~~~~~~~~~~~~~~ menus.cpp:1018:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1018 | delete clansLabel; | ^~~~~~~~~~~~~~~~~ menus.cpp:1019:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1019 | delete resFrequencyLabel; | ^~~~~~~~~~~~~~~~~~~~~~~~ menus.cpp:1020:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1020 | delete gameTypeLabel; | ^~~~~~~~~~~~~~~~~~~~ menus.cpp:1022:9: warning: deleting object of polymorphic class type 'cMenuRadioGroup' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1022 | delete metalGroup; | ^~~~~~~~~~~~~~~~~ menus.cpp:1023:9: warning: deleting object of polymorphic class type 'cMenuRadioGroup' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1023 | delete oilGroup; | ^~~~~~~~~~~~~~~ menus.cpp:1024:9: warning: deleting object of polymorphic class type 'cMenuRadioGroup' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1024 | delete goldGroup; | ^~~~~~~~~~~~~~~~ menus.cpp:1025:9: warning: deleting object of polymorphic class type 'cMenuRadioGroup' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1025 | delete creditsGroup; | ^~~~~~~~~~~~~~~~~~~ menus.cpp:1026:9: warning: deleting object of polymorphic class type 'cMenuRadioGroup' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1026 | delete bridgeheadGroup; | ^~~~~~~~~~~~~~~~~~~~~~ menus.cpp:1028:9: warning: deleting object of polymorphic class type 'cMenuRadioGroup' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1028 | delete clansGroup; | ^~~~~~~~~~~~~~~~~ menus.cpp:1029:9: warning: deleting object of polymorphic class type 'cMenuRadioGroup' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1029 | delete resFrequencyGroup; | ^~~~~~~~~~~~~~~~~~~~~~~~ menus.cpp:1030:9: warning: deleting object of polymorphic class type 'cMenuRadioGroup' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1030 | delete gameTypeGroup; | ^~~~~~~~~~~~~~~~~~~~ menus.cpp: In destructor 'cPlanetsSelectionMenu::~cPlanetsSelectionMenu()': menus.cpp:1164:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1164 | delete titleLabel; | ^~~~~~~~~~~~~~~~~ menus.cpp:1166:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1166 | delete okButton; | ^~~~~~~~~~~~~~~ menus.cpp:1167:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1167 | delete backButton; | ^~~~~~~~~~~~~~~~~ menus.cpp:1169:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1169 | delete arrowUpButton; | ^~~~~~~~~~~~~~~~~~~~ menus.cpp:1170:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1170 | delete arrowDownButton; | ^~~~~~~~~~~~~~~~~~~~~~ menus.cpp:1174:17: warning: deleting object of polymorphic class type 'cMenuImage' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1174 | delete planetImages[i]; | ^~~~~~~~~~~~~~~~~~~~~~ menus.cpp:1175:17: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1175 | delete planetTitles[i]; | ^~~~~~~~~~~~~~~~~~~~~~ menus.cpp: In destructor 'cClanSelectionMenu::~cClanSelectionMenu()': menus.cpp:1474:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1474 | delete okButton; | ^~~~~~~~~~~~~~~ menus.cpp:1475:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1475 | delete backButton; | ^~~~~~~~~~~~~~~~~ menus.cpp:1477:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1477 | delete titleLabel; | ^~~~~~~~~~~~~~~~~ menus.cpp:1478:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1478 | delete clanDescription1; | ^~~~~~~~~~~~~~~~~~~~~~~ menus.cpp:1479:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1479 | delete clanDescription2; | ^~~~~~~~~~~~~~~~~~~~~~~ menus.cpp:1483:17: warning: deleting object of polymorphic class type 'cMenuImage' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1483 | delete clanImages[i]; | ^~~~~~~~~~~~~~~~~~~~ menus.cpp:1484:17: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1484 | delete clanNames[i]; | ^~~~~~~~~~~~~~~~~~~ menus.cpp: In destructor 'cHangarMenu::~cHangarMenu()': menus.cpp:1625:9: warning: deleting object of polymorphic class type 'cMenuImage' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1625 | delete infoImage; | ^~~~~~~~~~~~~~~~ menus.cpp:1626:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1626 | delete infoText; | ^~~~~~~~~~~~~~~ menus.cpp:1627:9: warning: deleting object of polymorphic class type 'cMenuCheckButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1627 | delete infoTextCheckBox; | ^~~~~~~~~~~~~~~~~~~~~~~ menus.cpp:1629:9: warning: deleting object of polymorphic class type 'cMenuUnitDetails' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1629 | delete unitDetails; | ^~~~~~~~~~~~~~~~~~ menus.cpp:1631:9: warning: deleting object of polymorphic class type 'cMenuUnitsList' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1631 | delete selectionList; | ^~~~~~~~~~~~~~~~~~~~ menus.cpp:1633:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1633 | delete selListUpButton; | ^~~~~~~~~~~~~~~~~~~~~~ menus.cpp:1634:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1634 | delete selListDownButton; | ^~~~~~~~~~~~~~~~~~~~~~~~ menus.cpp:1636:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1636 | delete doneButton; | ^~~~~~~~~~~~~~~~~ menus.cpp:1637:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1637 | delete backButton; | ^~~~~~~~~~~~~~~~~ menus.cpp: In destructor 'cAdvListHangarMenu::~cAdvListHangarMenu()': menus.cpp:1708:9: warning: deleting object of polymorphic class type 'cMenuUnitsList' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1708 | delete secondList; | ^~~~~~~~~~~~~~~~~ menus.cpp:1710:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1710 | delete secondListUpButton; | ^~~~~~~~~~~~~~~~~~~~~~~~~ menus.cpp:1711:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1711 | delete secondListDownButton; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ menus.cpp: In destructor 'cStartupHangarMenu::~cStartupHangarMenu()': menus.cpp:1879:9: warning: deleting object of polymorphic class type 'cMenuRadioGroup' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1879 | delete upgradeBuyGroup; | ^~~~~~~~~~~~~~~~~~~~~~ menus.cpp:1881:9: warning: deleting object of polymorphic class type 'cMenuMaterialBar' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1881 | delete materialBar; | ^~~~~~~~~~~~~~~~~~ menus.cpp:1882:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1882 | delete materialBarLabel; | ^~~~~~~~~~~~~~~~~~~~~~~ menus.cpp:1883:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1883 | delete materialBarUpButton; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ menus.cpp:1884:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1884 | delete materialBarDownButton; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ menus.cpp: In member function 'void cStartupHangarMenu::updateUnitData()': menus.cpp:1898:32: warning: enumeration value 'UPGRADE_TYPE_NONE' not handled in switch [-Wswitch] 1898 | switch ( upgrades[j].type ) | ^ menus.cpp: In member function 'virtual void cStartupHangarMenu::generateSelectionList()': menus.cpp:2052:20: warning: unused variable 'oldSelectdBuilding' [-Wunused-variable] 2052 | sBuilding *oldSelectdBuilding = NULL; | ^~~~~~~~~~~~~~~~~~ In file included from menus.cpp:22: menus.h: In constructor 'cLandingMenu::cLandingMenu(cGameDataContainer*, cPlayer*)': menus.h:650:22: warning: 'cLandingMenu::mapSurface' will be initialized after [-Wreorder] 650 | SDL_Surface *mapSurface; | ^~~~~~~~~~ menus.h:643:29: warning: 'cGameDataContainer* cLandingMenu::gameDataContainer' [-Wreorder] 643 | cGameDataContainer *gameDataContainer; | ^~~~~~~~~~~~~~~~~ menus.cpp:2175:1: warning: when initialized here [-Wreorder] 2175 | cLandingMenu::cLandingMenu ( cGameDataContainer *gameDataContainer_, cPlayer *player_ ) : cMenu ( NULL ), hudSurface (NULL), mapSurface(NULL), gameDataContainer(gameDataContainer_), player(player_) | ^~~~~~~~~~~~ menus.cpp: In destructor 'cLandingMenu::~cLandingMenu()': menus.cpp:2199:9: warning: deleting object of polymorphic class type 'cMenuImage' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2199 | delete hudImage; | ^~~~~~~~~~~~~~~ menus.cpp:2200:9: warning: deleting object of polymorphic class type 'cMenuImage' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2200 | delete mapImage; | ^~~~~~~~~~~~~~~ menus.cpp:2201:9: warning: deleting object of polymorphic class type 'cMenuImage' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2201 | delete circlesImage; | ^~~~~~~~~~~~~~~~~~~ menus.cpp:2202:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2202 | delete infoLabel; | ^~~~~~~~~~~~~~~~ menus.cpp: In member function 'void cLandingMenu::hitPosition()': menus.cpp:2381:16: warning: enumeration value 'GAME_TYPE_HOTSEAT' not handled in switch [-Wswitch] 2381 | switch ( gameDataContainer->type ) | ^ menus.cpp: In destructor 'cNetworkMenu::~cNetworkMenu()': menus.cpp:2485:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2485 | delete backButton; | ^~~~~~~~~~~~~~~~~ menus.cpp:2486:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2486 | delete sendButton; | ^~~~~~~~~~~~~~~~~ menus.cpp:2488:9: warning: deleting object of polymorphic class type 'cMenuImage' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2488 | delete mapImage; | ^~~~~~~~~~~~~~~ menus.cpp:2489:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2489 | delete mapLabel; | ^~~~~~~~~~~~~~~ menus.cpp:2491:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2491 | delete settingsText; | ^~~~~~~~~~~~~~~~~~~ menus.cpp:2493:9: warning: deleting object of polymorphic class type 'cMenuListBox' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2493 | delete chatBox; | ^~~~~~~~~~~~~~ menus.cpp:2494:9: warning: deleting object of polymorphic class type 'cMenuLineEdit' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2494 | delete chatLine; | ^~~~~~~~~~~~~~~ menus.cpp:2496:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2496 | delete ipLabel; | ^~~~~~~~~~~~~~ menus.cpp:2497:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2497 | delete portLabel; | ^~~~~~~~~~~~~~~~ menus.cpp:2498:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2498 | delete nameLabel; | ^~~~~~~~~~~~~~~~ menus.cpp:2499:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2499 | delete colorLabel; | ^~~~~~~~~~~~~~~~~ menus.cpp:2501:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2501 | delete nextColorButton; | ^~~~~~~~~~~~~~~~~~~~~~ menus.cpp:2502:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2502 | delete prevColorButton; | ^~~~~~~~~~~~~~~~~~~~~~ menus.cpp:2503:9: warning: deleting object of polymorphic class type 'cMenuImage' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2503 | delete colorImage; | ^~~~~~~~~~~~~~~~~ menus.cpp:2505:9: warning: deleting object of polymorphic class type 'cMenuLineEdit' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2505 | delete ipLine; | ^~~~~~~~~~~~~ menus.cpp:2506:9: warning: deleting object of polymorphic class type 'cMenuLineEdit' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2506 | delete portLine; | ^~~~~~~~~~~~~~~ menus.cpp:2507:9: warning: deleting object of polymorphic class type 'cMenuLineEdit' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2507 | delete nameLine; | ^~~~~~~~~~~~~~~ menus.cpp:2509:9: warning: deleting object of polymorphic class type 'cMenuPlayersBox' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2509 | delete playersBox; | ^~~~~~~~~~~~~~~~~ menus.cpp: In member function 'void cNetworkMenu::showMap()': menus.cpp:2606:26: warning: unused variable 'rSrc' [-Wunused-variable] 2606 | SDL_Rect rSrc = { 0, 0, dest.w, dest.h }; | ^~~~ menus.cpp: In destructor 'cNetworkHostMenu::~cNetworkHostMenu()': menus.cpp:2766:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2766 | delete titleLabel; | ^~~~~~~~~~~~~~~~~ menus.cpp:2768:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2768 | delete okButton; | ^~~~~~~~~~~~~~~ menus.cpp:2770:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2770 | delete mapButton; | ^~~~~~~~~~~~~~~~ menus.cpp:2771:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2771 | delete settingsButton; | ^~~~~~~~~~~~~~~~~~~~~ menus.cpp:2772:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2772 | delete loadButton; | ^~~~~~~~~~~~~~~~~ menus.cpp:2773:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2773 | delete startButton; | ^~~~~~~~~~~~~~~~~~ menus.cpp: In destructor 'cNetworkClientMenu::~cNetworkClientMenu()': menus.cpp:3180:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 3180 | delete titleLabel; | ^~~~~~~~~~~~~~~~~ menus.cpp:3181:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 3181 | delete connectButton; | ^~~~~~~~~~~~~~~~~~~~ menus.cpp: In destructor 'cLoadMenu::~cLoadMenu()': menus.cpp:3591:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 3591 | delete titleLabel; | ^~~~~~~~~~~~~~~~~ menus.cpp:3593:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 3593 | delete backButton; | ^~~~~~~~~~~~~~~~~ menus.cpp:3594:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 3594 | delete loadButton; | ^~~~~~~~~~~~~~~~~ menus.cpp:3596:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 3596 | delete upButton; | ^~~~~~~~~~~~~~~ menus.cpp:3597:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 3597 | delete downButton; | ^~~~~~~~~~~~~~~~~ menus.cpp:3601:17: warning: deleting object of polymorphic class type 'cMenuSaveSlot' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 3601 | delete saveSlots[i]; | ^~~~~~~~~~~~~~~~~~~ menus.cpp: In destructor 'cLoadSaveMenu::~cLoadSaveMenu()': menus.cpp:3764:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 3764 | delete exitButton; | ^~~~~~~~~~~~~~~~~ menus.cpp:3765:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 3765 | delete saveButton; | ^~~~~~~~~~~~~~~~~ menus.cpp: In destructor 'cBuildingsBuildMenu::~cBuildingsBuildMenu()': menus.cpp:3860:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 3860 | delete titleLabel; | ^~~~~~~~~~~~~~~~~ menus.cpp:3862:43: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 3862 | if ( vehicle->data.canBuildPath ) delete pathButton; | ^~~~~~~~~~~~~~~~~ menus.cpp:3864:9: warning: deleting object of polymorphic class type 'cMenuBuildSpeedHandler' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 3864 | delete speedHandler; | ^~~~~~~~~~~~~~~~~~~ menus.cpp: In destructor 'cVehiclesBuildMenu::~cVehiclesBuildMenu()': menus.cpp:3996:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 3996 | delete titleLabel; | ^~~~~~~~~~~~~~~~~ menus.cpp:3997:9: warning: deleting object of polymorphic class type 'cMenuBuildSpeedHandler' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 3997 | delete speedHandler; | ^~~~~~~~~~~~~~~~~~~ menus.cpp:3999:9: warning: deleting object of polymorphic class type 'cMenuCheckButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 3999 | delete repeatButton; | ^~~~~~~~~~~~~~~~~~~ menus.cpp: In destructor 'cUpgradeHangarMenu::~cUpgradeHangarMenu()': menus.cpp:4133:9: warning: deleting object of polymorphic class type 'cMenuUpgradeFilter' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 4133 | delete upgradeFilter; | ^~~~~~~~~~~~~~~~~~~~ menus.cpp:4134:9: warning: deleting object of polymorphic class type 'cMenuUpgradeHandler' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 4134 | delete upgradeButtons; | ^~~~~~~~~~~~~~~~~~~~~ menus.cpp:4136:9: warning: deleting object of polymorphic class type 'cMenuMaterialBar' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 4136 | delete goldBar; | ^~~~~~~~~~~~~~ menus.cpp:4137:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 4137 | delete goldBarLabel; | ^~~~~~~~~~~~~~~~~~~ menus.cpp: In constructor 'cUpgradeMenu::cUpgradeMenu(cPlayer*)': menus.cpp:4259:143: warning: base 'cUpgradeHangarMenu' will be initialized after [-Wreorder] 4259 | cUpgradeMenu::cUpgradeMenu ( cPlayer *player ) : cUpgradeHangarMenu ( player ), cHangarMenu ( LoadPCX ( GFXOD_UPGRADE ), player, MNU_BG_ALPHA ) | ^ menus.cpp:4259:143: warning: base 'cHangarMenu' [-Wreorder] menus.cpp:4259:1: warning: when initialized here [-Wreorder] 4259 | cUpgradeMenu::cUpgradeMenu ( cPlayer *player ) : cUpgradeHangarMenu ( player ), cHangarMenu ( LoadPCX ( GFXOD_UPGRADE ), player, MNU_BG_ALPHA ) | ^~~~~~~~~~~~ menus.cpp: In destructor 'cUnitHelpMenu::~cUnitHelpMenu()': menus.cpp:4406:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 4406 | delete titleLabel; | ^~~~~~~~~~~~~~~~~ menus.cpp:4408:9: warning: deleting object of polymorphic class type 'cMenuImage' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 4408 | delete infoImage; | ^~~~~~~~~~~~~~~~ menus.cpp:4409:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 4409 | delete infoText; | ^~~~~~~~~~~~~~~ menus.cpp:4411:9: warning: deleting object of polymorphic class type 'cMenuUnitDetails' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 4411 | delete unitDetails; | ^~~~~~~~~~~~~~~~~~ menus.cpp:4413:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 4413 | delete doneButton; | ^~~~~~~~~~~~~~~~~ menus.cpp:4415:9: warning: deleting object of polymorphic class type 'cMenuUnitListItem' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 4415 | delete unit; | ^~~~~~~~~~~ In file included from menus.cpp:22: menus.h: In constructor 'cStorageMenu::cStorageMenu(cList&, cVehicle*, cBuilding*)': menus.h:966:28: warning: 'cStorageMenu::storageList' will be initialized after [-Wreorder] 966 | cList &storageList; | ^~~~~~~~~~~ menus.h:964:19: warning: 'cVehicle* cStorageMenu::ownerVehicle' [-Wreorder] 964 | cVehicle *ownerVehicle; | ^~~~~~~~~~~~ menus.cpp:4431:1: warning: when initialized here [-Wreorder] 4431 | cStorageMenu::cStorageMenu( cList &storageList_, cVehicle *vehicle, cBuilding *building ) : cMenu ( LoadPCX ( GFXOD_STORAGE ), MNU_BG_ALPHA ), storageList(storageList_), ownerVehicle( vehicle ), ownerBuilding(building) | ^~~~~~~~~~~~ menus.cpp: In destructor 'cStorageMenu::~cStorageMenu()': menus.cpp:4493:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 4493 | delete doneButton; | ^~~~~~~~~~~~~~~~~ In file included from menus.cpp:22: menus.h: In constructor 'cMineManagerMenu::cMineManagerMenu(cBuilding*)': menus.h:1028:18: warning: 'cMineManagerMenu::subBase' will be initialized after [-Wreorder] 1028 | sSubBase subBase; | ^~~~~~~ menus.h:1027:20: warning: 'cBuilding* cMineManagerMenu::building' [-Wreorder] 1027 | cBuilding *building; | ^~~~~~~~ menus.cpp:4800:1: warning: when initialized here [-Wreorder] 4800 | cMineManagerMenu::cMineManagerMenu( cBuilding *building_ ) : cMenu ( LoadPCX(GFXOD_MINEMANAGER), MNU_BG_ALPHA ), subBase( *building_->SubBase ), building(building_) | ^~~~~~~~~~~~~~~~ menus.cpp: In destructor 'cMineManagerMenu::~cMineManagerMenu()': menus.cpp:4869:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 4869 | delete titleLabel; | ^~~~~~~~~~~~~~~~~ menus.cpp:4870:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 4870 | delete doneButton; | ^~~~~~~~~~~~~~~~~ menus.cpp:4876:17: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 4876 | delete incButtons[i]; | ^~~~~~~~~~~~~~~~~~~~ menus.cpp:4877:17: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 4877 | delete decButtons[i]; | ^~~~~~~~~~~~~~~~~~~~ menus.cpp:4879:17: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 4879 | delete resourceLabels[i]; | ^~~~~~~~~~~~~~~~~~~~~~~~ menus.cpp:4880:17: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 4880 | delete usageLabels[i]; | ^~~~~~~~~~~~~~~~~~~~~ menus.cpp:4881:17: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 4881 | delete reserveLabels[i]; | ^~~~~~~~~~~~~~~~~~~~~~~ menus.cpp:4883:17: warning: deleting object of polymorphic class type 'cMenuMaterialBar' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 4883 | delete metalBars[i]; | ^~~~~~~~~~~~~~~~~~~ menus.cpp:4884:17: warning: deleting object of polymorphic class type 'cMenuMaterialBar' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 4884 | delete oilBars[i]; | ^~~~~~~~~~~~~~~~~ menus.cpp:4885:17: warning: deleting object of polymorphic class type 'cMenuMaterialBar' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 4885 | delete goldBars[i]; | ^~~~~~~~~~~~~~~~~~ menus.cpp:4887:17: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 4887 | delete metalBarLabels[i]; | ^~~~~~~~~~~~~~~~~~~~~~~~ menus.cpp:4888:17: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 4888 | delete oilBarLabels[i]; | ^~~~~~~~~~~~~~~~~~~~~~ menus.cpp:4889:17: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 4889 | delete goldBarLabels[i]; | ^~~~~~~~~~~~~~~~~~~~~~~ menus.cpp:4891:17: warning: deleting object of polymorphic class type 'cMenuMaterialBar' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 4891 | delete noneBars[i]; | ^~~~~~~~~~~~~~~~~~ menus.cpp: In destructor 'cReportsMenu::~cReportsMenu()': menus.cpp:5122:9: warning: deleting object of polymorphic class type 'cMenuRadioGroup' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 5122 | delete typeButtonGroup; | ^~~~~~~~~~~~~~~~~~~~~~ menus.cpp:5124:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 5124 | delete includedLabel; | ^~~~~~~~~~~~~~~~~~~~ menus.cpp:5125:9: warning: deleting object of polymorphic class type 'cMenuCheckButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 5125 | delete planesCheckBtn; | ^~~~~~~~~~~~~~~~~~~~~ menus.cpp:5126:9: warning: deleting object of polymorphic class type 'cMenuCheckButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 5126 | delete groundCheckBtn; | ^~~~~~~~~~~~~~~~~~~~~ menus.cpp:5127:9: warning: deleting object of polymorphic class type 'cMenuCheckButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 5127 | delete seaCheckBtn; | ^~~~~~~~~~~~~~~~~~ menus.cpp:5128:9: warning: deleting object of polymorphic class type 'cMenuCheckButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 5128 | delete stationaryCheckBtn; | ^~~~~~~~~~~~~~~~~~~~~~~~~ menus.cpp:5130:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 5130 | delete borderedLabel; | ^~~~~~~~~~~~~~~~~~~~ menus.cpp:5131:9: warning: deleting object of polymorphic class type 'cMenuCheckButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 5131 | delete buildCheckBtn; | ^~~~~~~~~~~~~~~~~~~~ menus.cpp:5132:9: warning: deleting object of polymorphic class type 'cMenuCheckButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 5132 | delete fightCheckBtn; | ^~~~~~~~~~~~~~~~~~~~ menus.cpp:5133:9: warning: deleting object of polymorphic class type 'cMenuCheckButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 5133 | delete damagedCheckBtn; | ^~~~~~~~~~~~~~~~~~~~~~ menus.cpp:5134:9: warning: deleting object of polymorphic class type 'cMenuCheckButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 5134 | delete stealthCheckBtn; | ^~~~~~~~~~~~~~~~~~~~~~ menus.cpp:5136:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 5136 | delete doneButton; | ^~~~~~~~~~~~~~~~~ menus.cpp:5137:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 5137 | delete upButton; | ^~~~~~~~~~~~~~~ menus.cpp:5138:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 5138 | delete downButton; | ^~~~~~~~~~~~~~~~~ menus.cpp:5140:9: warning: deleting object of polymorphic class type 'cMenuReportsScreen' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 5140 | delete dataScreen; | ^~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' /bin/sh ../libtool --tag=CXX --mode=link x86_64-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -o maxr attackJobs.o automjobs.o base.o buildings.o clans.o client.o clientevents.o dialog.o drawingcache.o events.o extendedtinyxml.o files.o hud.o input.o keys.o language.o loaddata.o log.o main.o map.o mapdownload.o menuevents.o menuitems.o menus.o mouse.o movejobs.o mveplayer.o netmessage.o network.o pcx.o player.o savegame.o SDL_flic.o server.o serverevents.o settings.o sound.o tinystr.o tinyxml.o tinyxmlerror.o tinyxmlparser.o unifonts.o upgradecalculator.o vehicles.o -lSDL -lSDL_mixer -lSDL_net libtool: link: x86_64-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -o maxr attackJobs.o automjobs.o base.o buildings.o clans.o client.o clientevents.o dialog.o drawingcache.o events.o extendedtinyxml.o files.o hud.o input.o keys.o language.o loaddata.o log.o main.o map.o mapdownload.o menuevents.o menuitems.o menus.o mouse.o movejobs.o mveplayer.o netmessage.o network.o pcx.o player.o savegame.o SDL_flic.o server.o serverevents.o settings.o sound.o tinystr.o tinyxml.o tinyxmlerror.o tinyxmlparser.o unifonts.o upgradecalculator.o vehicles.o -lSDL -lSDL_mixer -lSDL_net make[2]: Leaving directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.61885 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/maxr-buildroot + : + /bin/rm -rf -- /usr/src/tmp/maxr-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd maxr-0.2.6 + make DESTDIR=/usr/src/tmp/maxr-buildroot 'INSTALL=install -p' install make: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6' Making install in . make[1]: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6' /bin/sh ./buildinfo.sh /usr/share/maxr Recreating autoversion.h Couldn't read svn info from src/.svn make[2]: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6' make[2]: Nothing to be done for 'install-exec-am'. test -z "/usr/share/maxr" || /bin/mkdir -p "/usr/src/tmp/maxr-buildroot/usr/share/maxr" make install-data-hook make[3]: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6' /bin/sh /usr/src/RPM/BUILD/maxr-0.2.6/build-aux/install-sh -d /usr/src/tmp/maxr-buildroot/usr/share/maxr cp -a ./data/* /usr/src/tmp/maxr-buildroot/usr/share/maxr/ make[3]: Leaving directory '/usr/src/RPM/BUILD/maxr-0.2.6' make[2]: Leaving directory '/usr/src/RPM/BUILD/maxr-0.2.6' make[1]: Leaving directory '/usr/src/RPM/BUILD/maxr-0.2.6' Making install in src make[1]: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' test -z "/usr/bin" || /bin/mkdir -p "/usr/src/tmp/maxr-buildroot/usr/bin" /bin/sh ../libtool --mode=install install -p maxr '/usr/src/tmp/maxr-buildroot/usr/bin' libtool: install: install -p maxr /usr/src/tmp/maxr-buildroot/usr/bin/maxr make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' make[1]: Leaving directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' make: Leaving directory '/usr/src/RPM/BUILD/maxr-0.2.6' + desktop-file-install --dir=/usr/src/tmp/maxr-buildroot/usr/share/applications /usr/src/RPM/SOURCES/maxr.desktop + mkdir -p /usr/src/tmp/maxr-buildroot/usr/share/icons/hicolor/32x32/apps + install -p -m 0644 /usr/src/RPM/SOURCES/maxr.png /usr/src/tmp/maxr-buildroot/usr/share/icons/hicolor/32x32/apps/maxr.png + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/maxr-buildroot (auto) Verifying and fixing files in /usr/src/tmp/maxr-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) /usr/share/applications/maxr.desktop: performed minor cleanup: 3d2 < Encoding=UTF-8 Checking contents of files in /usr/src/tmp/maxr-buildroot/ (default) Compressing files in /usr/src/tmp/maxr-buildroot (auto) Verifying ELF objects in /usr/src/tmp/maxr-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Hardlinking identical .pyc and .pyo files Processing files: maxr-0.2.6-alt2_3 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.2725 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd maxr-0.2.6 + DOCDIR=/usr/src/tmp/maxr-buildroot/usr/share/doc/maxr-0.2.6 + export DOCDIR + rm -rf /usr/src/tmp/maxr-buildroot/usr/share/doc/maxr-0.2.6 + /bin/mkdir -p /usr/src/tmp/maxr-buildroot/usr/share/doc/maxr-0.2.6 + cp -prL ABOUT CHANGELOG COPYING COPYING.README /usr/src/tmp/maxr-buildroot/usr/share/doc/maxr-0.2.6 + chmod -R go-w /usr/src/tmp/maxr-buildroot/usr/share/doc/maxr-0.2.6 + chmod -R a+rX /usr/src/tmp/maxr-buildroot/usr/share/doc/maxr-0.2.6 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.E33sj9 find-provides: running scripts (alternatives,debuginfo,gir,lib,pam,perl,pkgconfig,python,python3,shell,typelib) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.EkUEpr find-requires: running scripts (cpp,debuginfo,files,gir-js,gir-python,gir,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services,typelib) Requires: icon-theme-hicolor, /lib64/ld-linux-x86-64.so.2, libSDL-1.2.so.0()(64bit) >= set:lfwMFF0LACvSV4em4i1KrsF3Pa5ZwAFjHxjydDdDbRrvQoqXZbQ8yns0Ir6PEDBLLV3cxZDx8mHZeszBJIoHzt0Zph923uALb6NDAKc9ZIaMAsIZ0v6aWm7HYQP4, libSDL_mixer-1.2.so.0()(64bit) >= set:kgIdSR7alvpQY3CJ1LnsNwguoZfonPln0, libSDL_net-1.2.so.0()(64bit) >= set:jfOufyTmBRoMyZKCV80WvukIVgeAs1, libc.so.6(GLIBC_2.11)(64bit), libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.34)(64bit), libc.so.6(GLIBC_2.4)(64bit), libc.so.6(GLIBC_2.7)(64bit), libgcc_s.so.1(GCC_3.0)(64bit), libgcc_s.so.1(GCC_3.3.1)(64bit), libm.so.6(GLIBC_2.2.5)(64bit), libm.so.6(GLIBC_2.27)(64bit), libm.so.6(GLIBC_2.29)(64bit), libstdc++.so.6(CXXABI_1.3)(64bit), libstdc++.so.6(CXXABI_1.3.1)(64bit), libstdc++.so.6(CXXABI_1.3.8)(64bit), libstdc++.so.6(CXXABI_1.3.9)(64bit), libstdc++.so.6(GLIBCXX_3.4)(64bit), libstdc++.so.6(GLIBCXX_3.4.20)(64bit), libstdc++.so.6(GLIBCXX_3.4.21)(64bit), libstdc++.so.6(GLIBCXX_3.4.26)(64bit), libstdc++.so.6(GLIBCXX_3.4.29)(64bit), libstdc++.so.6(GLIBCXX_3.4.9)(64bit), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.mFtpu2 Creating maxr-debuginfo package Processing files: maxr-debuginfo-0.2.6-alt2_3 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.N5bw8O find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.7gup2h find-requires: running scripts (debuginfo) Requires: maxr = 0.2.6-alt2_3, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libSDL-1.2.so.0), debug64(libSDL_mixer-1.2.so.0), debug64(libSDL_net-1.2.so.0), debug64(libc.so.6), debug64(libgcc_s.so.1), debug64(libm.so.6), debug64(libstdc++.so.6) Wrote: /usr/src/RPM/RPMS/x86_64/maxr-0.2.6-alt2_3.x86_64.rpm (w2T8.xzdio) Wrote: /usr/src/RPM/RPMS/x86_64/maxr-debuginfo-0.2.6-alt2_3.x86_64.rpm (w2T8.xzdio) 95.15user 6.77system 0:51.40elapsed 198%CPU (0avgtext+0avgdata 193452maxresident)k 0inputs+0outputs (0major+2699998minor)pagefaults 0swaps /.out/maxr-0.2.6-alt2_3.x86_64.rpm: license not found in '/usr/share/license' directory: GFDL /.out/maxr-debuginfo-0.2.6-alt2_3.x86_64.rpm: license not found in '/usr/share/license' directory: GFDL 115.86user 11.81system 1:20.67elapsed 158%CPU (0avgtext+0avgdata 193452maxresident)k 178528inputs+0outputs (45753major+3177137minor)pagefaults 0swaps --- maxr-0.2.6-alt2_3.x86_64.rpm.repo 2012-01-28 22:14:10.000000000 +0000 +++ maxr-0.2.6-alt2_3.x86_64.rpm.hasher 2022-03-02 01:58:23.336142976 +0000 @@ -1327,14 +1327,26 @@ Requires: rpmlib(SetVersions) -Requires: libSDL_mixer-1.2.so.0()(64bit) >= set:lhS63Cv0ubAX4nGZl6lZhoS6uLUdiJZnIH9 +Requires: libSDL_mixer-1.2.so.0()(64bit) >= set:kgIdSR7alvpQY3CJ1LnsNwguoZfonPln0 Requires: libSDL_net-1.2.so.0()(64bit) >= set:jfOufyTmBRoMyZKCV80WvukIVgeAs1 Requires: libc.so.6(GLIBC_2.11)(64bit) +Requires: libc.so.6(GLIBC_2.14)(64bit) Requires: libc.so.6(GLIBC_2.2.5)(64bit) +Requires: libc.so.6(GLIBC_2.3)(64bit) Requires: libc.so.6(GLIBC_2.3.4)(64bit) +Requires: libc.so.6(GLIBC_2.34)(64bit) Requires: libc.so.6(GLIBC_2.4)(64bit) +Requires: libc.so.6(GLIBC_2.7)(64bit) Requires: libgcc_s.so.1(GCC_3.0)(64bit) +Requires: libgcc_s.so.1(GCC_3.3.1)(64bit) Requires: libm.so.6(GLIBC_2.2.5)(64bit) -Requires: libpthread.so.0(GLIBC_2.2.5)(64bit) +Requires: libm.so.6(GLIBC_2.27)(64bit) +Requires: libm.so.6(GLIBC_2.29)(64bit) Requires: libstdc++.so.6(CXXABI_1.3)(64bit) Requires: libstdc++.so.6(CXXABI_1.3.1)(64bit) +Requires: libstdc++.so.6(CXXABI_1.3.8)(64bit) +Requires: libstdc++.so.6(CXXABI_1.3.9)(64bit) Requires: libstdc++.so.6(GLIBCXX_3.4)(64bit) +Requires: libstdc++.so.6(GLIBCXX_3.4.20)(64bit) +Requires: libstdc++.so.6(GLIBCXX_3.4.21)(64bit) +Requires: libstdc++.so.6(GLIBCXX_3.4.26)(64bit) +Requires: libstdc++.so.6(GLIBCXX_3.4.29)(64bit) Requires: libstdc++.so.6(GLIBCXX_3.4.9)(64bit) @@ -1343,4 +1355,4 @@ Provides: maxr = 0.2.6-alt2_3 -File: /usr/bin/maxr 100755 root:root c6219e4622850814cd58ed94902c8143 -File: /usr/share/applications/maxr.desktop 100644 root:root c34833fac0b396ebc269310d4cb7b6ae +File: /usr/bin/maxr 100755 root:root 6e7e861ec486679f18128ffa591e23e4 +File: /usr/share/applications/maxr.desktop 100644 root:root 7db7ab9e2db83d16543c4da4bf65136b File: /usr/share/doc/maxr-0.2.6 40755 root:root @@ -2666,2 +2678,2 @@ File: /usr/share/maxr/voices 40755 root:root -RPMIdentity: 28d3b729ca6e92e6edcf9b85f790908e8ce0adab0688b3dd53a4c30157607edf2a0476f8ab485dca386efba03877b36abd72a479850352da00fbd10c964a12ea +RPMIdentity: 0bd23052da8152f86e1ce800497aa6dcd4b0113004eca708866a833807f109d7a93eab072744ca55e89b0eab34f1a599158d15e4cb9487a4c0d754156cb08a60 --- maxr-debuginfo-0.2.6-alt2_3.x86_64.rpm.repo 2012-01-28 22:14:10.000000000 +0000 +++ maxr-debuginfo-0.2.6-alt2_3.x86_64.rpm.hasher 2022-03-02 01:58:23.546143325 +0000 @@ -1,4 +1,4 @@ -/usr/lib/debug/.build-id/93 40755 root:root -/usr/lib/debug/.build-id/93/19b9cb4f1a0415a03b199204a2e2214b09749d 120777 root:root ../../../../bin/maxr -/usr/lib/debug/.build-id/93/19b9cb4f1a0415a03b199204a2e2214b09749d.debug 120777 root:root ../../usr/bin/maxr.debug +/usr/lib/debug/.build-id/b7 40755 root:root +/usr/lib/debug/.build-id/b7/d83f22ee15d74a7e3a14a9bfadcfa1342edb30 120777 root:root ../../../../bin/maxr +/usr/lib/debug/.build-id/b7/d83f22ee15d74a7e3a14a9bfadcfa1342edb30.debug 120777 root:root ../../usr/bin/maxr.debug /usr/lib/debug/usr/bin/maxr.debug 100644 root:root @@ -33,2 +33,3 @@ /usr/src/debug/maxr-0.2.6/src/files.cpp 100644 root:root +/usr/src/debug/maxr-0.2.6/src/files.h 100644 root:root /usr/src/debug/maxr-0.2.6/src/hud.cpp 100644 root:root @@ -62,2 +63,3 @@ /usr/src/debug/maxr-0.2.6/src/mveplayer.cpp 100644 root:root +/usr/src/debug/maxr-0.2.6/src/mveplayer.h 100644 root:root /usr/src/debug/maxr-0.2.6/src/netmessage.cpp 100644 root:root @@ -67,2 +69,3 @@ /usr/src/debug/maxr-0.2.6/src/pcx.cpp 100644 root:root +/usr/src/debug/maxr-0.2.6/src/pcx.h 100644 root:root /usr/src/debug/maxr-0.2.6/src/player.cpp 100644 root:root @@ -100,3 +103,2 @@ Requires: debug64(libm.so.6) -Requires: debug64(libpthread.so.0) Requires: debug64(libstdc++.so.6) @@ -104,6 +106,6 @@ Provides: maxr-debuginfo = 0.2.6-alt2_3 -File: /usr/lib/debug/.build-id/93 40755 root:root -File: /usr/lib/debug/.build-id/93/19b9cb4f1a0415a03b199204a2e2214b09749d 120777 root:root ../../../../bin/maxr -File: /usr/lib/debug/.build-id/93/19b9cb4f1a0415a03b199204a2e2214b09749d.debug 120777 root:root ../../usr/bin/maxr.debug -File: /usr/lib/debug/usr/bin/maxr.debug 100644 root:root c047533c6bebd2d2f41e28de6e93c1b9 +File: /usr/lib/debug/.build-id/b7 40755 root:root +File: /usr/lib/debug/.build-id/b7/d83f22ee15d74a7e3a14a9bfadcfa1342edb30 120777 root:root ../../../../bin/maxr +File: /usr/lib/debug/.build-id/b7/d83f22ee15d74a7e3a14a9bfadcfa1342edb30.debug 120777 root:root ../../usr/bin/maxr.debug +File: /usr/lib/debug/usr/bin/maxr.debug 100644 root:root dec1abaaa4b899747baaa33dd3b6300c File: /usr/src/debug/maxr-0.2.6 40755 root:root @@ -137,2 +139,3 @@ File: /usr/src/debug/maxr-0.2.6/src/files.cpp 100644 root:root 1a757b9fee7a2965d219407b10d67cc8 +File: /usr/src/debug/maxr-0.2.6/src/files.h 100644 root:root 47cb02029ac862e143f4e851e782bc32 File: /usr/src/debug/maxr-0.2.6/src/hud.cpp 100644 root:root c9d5db433b52853e52e7ec351043e97a @@ -166,2 +169,3 @@ File: /usr/src/debug/maxr-0.2.6/src/mveplayer.cpp 100644 root:root 40ca1478c8e26699ace88998621fa8c6 +File: /usr/src/debug/maxr-0.2.6/src/mveplayer.h 100644 root:root d5c1458dd694076fb5c0013a40814b6a File: /usr/src/debug/maxr-0.2.6/src/netmessage.cpp 100644 root:root ebc36355c978dd0f9df6302352a0c1dc @@ -171,2 +175,3 @@ File: /usr/src/debug/maxr-0.2.6/src/pcx.cpp 100644 root:root 9a6ddacafe8433cc4627c65e94d1c40d +File: /usr/src/debug/maxr-0.2.6/src/pcx.h 100644 root:root a975bbd9edffee4c3574faea06120e93 File: /usr/src/debug/maxr-0.2.6/src/player.cpp 100644 root:root 2ec69428b46ce9140933ea906f4a8c1c @@ -196,2 +201,2 @@ File: /usr/src/debug/maxr-0.2.6/src/vehicles.h 100644 root:root f2604cd91485695e6b0109cc3c318c30 -RPMIdentity: 03684b60ad6b23982431a5c970cc84aaa920bb1e951d11fa0215ed396f35006bce108bda895145e9284e949dab8540ba3a1cf012e687051b0c46921dbd927b35 +RPMIdentity: 0ff9275b71a09201f5a64490b10b6c9ec184218a7d599e4606a1d8abc0cab3b91aefddb75f1e47a2faebf054f86461b90b0e3548cd94ac31b98c15b901a70b60