<86>Apr 20 07:32:04 userdel[3981239]: delete user 'rooter' <86>Apr 20 07:32:04 userdel[3981239]: removed group 'rooter' owned by 'rooter' <86>Apr 20 07:32:04 userdel[3981239]: removed shadow group 'rooter' owned by 'rooter' <86>Apr 20 07:32:04 groupadd[3981249]: group added to /etc/group: name=rooter, GID=1802 <86>Apr 20 07:32:04 groupadd[3981249]: group added to /etc/gshadow: name=rooter <86>Apr 20 07:32:04 groupadd[3981249]: new group: name=rooter, GID=1802 <86>Apr 20 07:32:04 useradd[3981262]: new user: name=rooter, UID=1802, GID=1802, home=/root, shell=/bin/bash, from=none <86>Apr 20 07:32:04 userdel[3981297]: delete user 'builder' <86>Apr 20 07:32:04 userdel[3981297]: removed group 'builder' owned by 'builder' <86>Apr 20 07:32:04 userdel[3981297]: removed shadow group 'builder' owned by 'builder' <86>Apr 20 07:32:04 groupadd[3981334]: group added to /etc/group: name=builder, GID=1803 <86>Apr 20 07:32:04 groupadd[3981334]: group added to /etc/gshadow: name=builder <86>Apr 20 07:32:04 groupadd[3981334]: new group: name=builder, GID=1803 <86>Apr 20 07:32:04 useradd[3981359]: new user: name=builder, UID=1803, GID=1803, home=/usr/src, shell=/bin/bash, from=none /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>Apr 20 07:32:08 rpmi: rpm-macros-kde-common-devel-14.12.1-alt1 1422279175 installed <13>Apr 20 07:32:08 rpmi: rpm-macros-generic-compat-0.05-alt1 sisyphus+332093.100.1.1 1697645292 installed <13>Apr 20 07:32:08 rpmi: rpm-macros-fedora-compat-0.159-alt1 sisyphus+258368.100.1.1 1600512138 installed <13>Apr 20 07:32:11 rpmi: libpng16-1.6.42-alt2 sisyphus+339555.100.1.1 1706781690 installed <13>Apr 20 07:32:11 rpmi: libjpeg-2:3.0.2-alt2.1 sisyphus+340135.100.1.1 1707449053 installed <13>Apr 20 07:32:11 rpmi: libexpat-2.5.0-alt1 sisyphus+309227.100.1.1 1667075766 installed <13>Apr 20 07:32:11 rpmi: xorg-proto-devel-2024.1-alt1 sisyphus+343583.40.1.1 1711440649 installed <13>Apr 20 07:32:11 rpmi: libogg-1.3.5-alt1 sisyphus+278100.3400.1.1 1626059695 installed <13>Apr 20 07:32:11 rpmi: libvorbis-1.3.7-alt1 sisyphus+275738.100.1.1 1624751609 installed <13>Apr 20 07:32:11 rpmi: zlib-devel-1.3.1-alt1 sisyphus+342532.100.1.1 1710232285 installed <13>Apr 20 07:32:11 rpmi: libglvnd-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424894 installed <13>Apr 20 07:32:11 rpmi: libpng-devel-1.6.42-alt2 sisyphus+339555.100.1.1 1706781690 installed <13>Apr 20 07:32:11 rpmi: libflac12-1.4.3-alt2 sisyphus+343354.100.1.1 1711119065 installed <13>Apr 20 07:32:11 rpmi: libphysfs-3.0.2-alt1 sisyphus+277966.100.1.1 1625927313 installed <13>Apr 20 07:32:11 rpmi: libserd-0.32.2-alt1 sisyphus+341428.200.1.1 1708949159 installed <13>Apr 20 07:32:11 rpmi: libltdl7-2.4.7-alt5 sisyphus+341963.200.3.1 1711659248 installed <13>Apr 20 07:32:11 rpmi: libwebp7-1.4.0-alt1 sisyphus+345159.200.1.1 1713168690 installed <13>Apr 20 07:32:11 rpmi: libICE-1.1.1-alt1 sisyphus+311428.500.1.1 1670577559 installed <13>Apr 20 07:32:11 rpmi: libSM-1.2.4-alt1 sisyphus+312057.200.1.1 1671526918 installed <13>Apr 20 07:32:11 rpmi: libogg-devel-1.3.5-alt1 sisyphus+278100.3400.1.1 1626059695 installed <13>Apr 20 07:32:11 rpmi: libquadmath0-13.2.1-alt3 sisyphus+339335.100.1.1 1706563095 installed <13>Apr 20 07:32:12 rpmi: libicu74-1:7.4.2-alt1 sisyphus+336372.200.1.1 1702422879 installed <13>Apr 20 07:32:12 rpmi: xml-utils-1:2.12.5-alt1 sisyphus+342268.100.2.1 1710156418 installed <13>Apr 20 07:32:12 rpmi: libwayland-server-1.22.0-alt1.1 sisyphus+318010.100.1.1 1680606300 installed <13>Apr 20 07:32:12 rpmi: libzix-0.4.2-alt1 sisyphus+341428.100.1.1 1708949132 installed <13>Apr 20 07:32:12 rpmi: libsord-0.16.16-alt1 sisyphus+341428.300.1.1 1708949186 installed <13>Apr 20 07:32:12 rpmi: libraw1394-11-2.1.2-alt1 sisyphus+278262.100.1.1 1626081867 installed <13>Apr 20 07:32:12 rpmi: libopus-1.5.1-alt1 sisyphus+342127.200.2.2 1709717984 installed <13>Apr 20 07:32:12 rpmi: libmpg123-1:1.32.6-alt1 sisyphus+344452.200.2.1 1712305496 installed <13>Apr 20 07:32:12 rpmi: libnettle8-3.9.1-alt1 sisyphus+322548.100.1.2 1686176897 installed <13>Apr 20 07:32:12 rpmi: liblcms2-2.16-alt1 sisyphus+335676.100.1.1 1701682605 installed <13>Apr 20 07:32:12 rpmi: libgomp1-13.2.1-alt3 sisyphus+339335.100.1.1 1706563095 installed <13>Apr 20 07:32:12 rpmi: libopenjpeg2.0-2.5.2-alt1 sisyphus+341637.100.1.1 1709150019 installed <13>Apr 20 07:32:12 rpmi: libatk-2.52.0-alt1 sisyphus+342903.100.1.1 1710606495 installed <13>Apr 20 07:32:12 rpmi: libfribidi-1.0.13-alt1 sisyphus+320646.100.1.1 1684307083 installed <13>Apr 20 07:32:12 rpmi: libbrotlicommon-1.1.0-alt1 sisyphus+328501.100.1.1 1693598420 installed <13>Apr 20 07:32:12 rpmi: libbrotlidec-1.1.0-alt1 sisyphus+328501.100.1.1 1693598420 installed <13>Apr 20 07:32:12 rpmi: libgraphite2-1.3.14-alt2.1 sisyphus+279571.100.1.2 1626605157 installed <13>Apr 20 07:32:12 rpmi: libharfbuzz-8.4.0-alt1 sisyphus+344161.100.1.1 1711987969 installed <13>Apr 20 07:32:12 rpmi: libfreetype-2.13.2-alt1 sisyphus+328677.100.1.1 1693834346 installed <13>Apr 20 07:32:12 rpmi: libfontconfig1-2.14.2-alt8 sisyphus+328444.100.1.1 1693553407 installed <13>Apr 20 07:32:12 rpmi: libXau-1.0.11-alt1 sisyphus+311428.100.1.1 1670577440 installed <13>Apr 20 07:32:12 rpmi: libgdbm-1.8.3-alt10 sisyphus+278100.1600.1.1 1626059138 installed <13>Apr 20 07:32:12 rpmi: libp11-kit-1:0.25.3-alt2 sisyphus+336533.100.1.1 1702645575 installed <13>Apr 20 07:32:12 rpmi: libtasn1-4.19.0-alt3 sisyphus+327816.100.1.1 1692802618 installed <13>Apr 20 07:32:12 rpmi: libreadline7-7.0.3-alt5 sisyphus+328858.200.1.1 1694010663 installed <13>Apr 20 07:32:12 rpmi: libphysfs-devel-3.0.2-alt1 sisyphus+277966.100.1.1 1625927313 installed <13>Apr 20 07:32:12 rpmi: libXau-devel-1.0.11-alt1 sisyphus+311428.100.1.1 1670577440 installed <13>Apr 20 07:32:12 rpmi: fontconfig-2.14.2-alt8 sisyphus+328444.100.1.1 1693553407 installed Updating fonts cache: <29>Apr 20 07:32:13 fontconfig: Updating fonts cache: succeeded [ DONE ] <13>Apr 20 07:32:13 rpmi: libraqm-0.7.1-alt1 sisyphus+279320.100.1.2 1626503405 installed <13>Apr 20 07:32:13 rpmi: libharfbuzz-icu-8.4.0-alt1 sisyphus+344161.100.1.1 1711987969 installed <13>Apr 20 07:32:13 rpmi: libharfbuzz-gobject-8.4.0-alt1 sisyphus+344161.100.1.1 1711987969 installed <13>Apr 20 07:32:13 rpmi: libgraphite2-devel-1.3.14-alt2.1 sisyphus+279571.100.1.2 1626605157 installed <13>Apr 20 07:32:13 rpmi: libbrotlienc-1.1.0-alt1 sisyphus+328501.100.1.1 1693598420 installed <13>Apr 20 07:32:13 rpmi: libraw-0.21.2-alt1 sisyphus+336806.100.1.1 1703007433 installed <13>Apr 20 07:32:13 rpmi: libhogweed6-3.9.1-alt1 sisyphus+322548.100.1.2 1686176897 installed <13>Apr 20 07:32:13 rpmi: libiec61883-1.2.0-alt1.qa1 sisyphus+275365.100.1.2 1624491850 installed <13>Apr 20 07:32:13 rpmi: libsratom-0.6.16-alt1 sisyphus+341428.400.1.1 1708949213 installed <13>Apr 20 07:32:13 rpmi: liblilv-0.24.24-alt2 sisyphus+341494.100.1.1 1709024102 installed <13>Apr 20 07:32:13 rpmi: rpm-build-gir-0.7.3-alt3.1 sisyphus+319393.100.1.1 1682538783 installed <13>Apr 20 07:32:14 rpmi: icu-utils-1:7.4.2-alt1 sisyphus+336372.200.1.1 1702422879 installed <13>Apr 20 07:32:14 rpmi: libicu-devel-1:7.4.2-alt1 sisyphus+336372.200.1.1 1702422879 installed <13>Apr 20 07:32:14 rpmi: libquadmath13-devel-13.2.1-alt3 sisyphus+339335.100.1.1 1706563095 installed <13>Apr 20 07:32:14 rpmi: libgfortran5-13.2.1-alt3 sisyphus+339335.100.1.1 1706563095 installed <13>Apr 20 07:32:14 rpmi: libvorbis-devel-1.3.7-alt1 sisyphus+275738.100.1.1 1624751609 installed <13>Apr 20 07:32:14 rpmi: libICE-devel-1.1.1-alt1 sisyphus+311428.500.1.1 1670577559 installed <13>Apr 20 07:32:14 rpmi: libOpenGL-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424894 installed <13>Apr 20 07:32:14 rpmi: libGLES-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424894 installed <13>Apr 20 07:32:14 rpmi: libnatspec-0.3.3-alt1 sisyphus+327088.100.1.1 1691839875 installed <13>Apr 20 07:32:14 rpmi: liblua5.1-preinstall-5.1.5-alt21 sisyphus+321711.100.1.1 1684891298 installed <13>Apr 20 07:32:14 rpmi: liblua5.1-5.1.5-alt21 sisyphus+321711.100.1.1 1684891298 installed <13>Apr 20 07:32:14 rpmi: libreadline-devel-8.2.10-alt1 sisyphus+338911.100.4.1 1706717069 installed <13>Apr 20 07:32:14 rpmi: rpm-macros-lua-1.5.2-alt1 sisyphus+315204.340.3.1 1692689366 installed <13>Apr 20 07:32:14 rpmi: rpm-build-lua-0.5-alt1 sisyphus+315204.500.3.1 1692689380 installed <13>Apr 20 07:32:14 rpmi: liblua5.1-compat-devel-5.1.5-alt21 sisyphus+321711.100.1.1 1684891298 installed <13>Apr 20 07:32:14 rpmi: liblua5.1-devel-5.1.5-alt21 sisyphus+321711.100.1.1 1684891298 installed <13>Apr 20 07:32:14 rpmi: libspeex-1.2.1-alt1 sisyphus+339763.100.1.1 1707113839 installed <13>Apr 20 07:32:14 rpmi: libmodplug-0.8.9.0-alt1 sisyphus+275375.100.2.2 1624495419 installed <13>Apr 20 07:32:14 rpmi: libmad-0.15.1b-alt9 sisyphus+278239.100.1.1 1626080113 installed <13>Apr 20 07:32:14 rpmi: timidity-instruments-1:1.0-alt1 sisyphus+276870.100.1.1 1625246545 installed <13>Apr 20 07:32:14 rpmi: gcc-fortran-common-1.4.27-alt1 sisyphus+278099.1300.1.1 1626028636 installed <13>Apr 20 07:32:14 rpmi: libgfortran13-devel-13.2.1-alt3 sisyphus+339335.100.1.1 1706563095 installed <13>Apr 20 07:32:15 rpmi: gcc13-fortran-13.2.1-alt3 sisyphus+339335.100.1.1 1706563095 installed <13>Apr 20 07:32:15 rpmi: gcc-c++-common-1.4.27-alt1 sisyphus+278099.1300.1.1 1626028636 installed <13>Apr 20 07:32:15 rpmi: libstdc++13-devel-13.2.1-alt3 sisyphus+339335.100.1.1 1706563095 installed <13>Apr 20 07:32:16 rpmi: gcc13-c++-13.2.1-alt3 sisyphus+339335.100.1.1 1706563095 installed <13>Apr 20 07:32:16 rpmi: libstdc++-devel-13-alt1 sisyphus+323337.300.1.1 1687267966 installed <13>Apr 20 07:32:16 rpmi: libwayland-client-1.22.0-alt1.1 sisyphus+318010.100.1.1 1680606300 installed <13>Apr 20 07:32:16 rpmi: libwebrtc-audio-processing-1.3-alt2 sisyphus+332026.100.1.1 1697579432 installed <13>Apr 20 07:32:16 rpmi: libusb-1.0.26-alt3 sisyphus+340691.100.3.1 1708466436 installed <13>Apr 20 07:32:16 rpmi: libsbc1-2.0-alt2 sisyphus+322708.100.1.1 1686327806 installed <13>Apr 20 07:32:16 rpmi: libmysofa-1.3.2-alt1 sisyphus+335142.100.1.1 1701003747 installed <13>Apr 20 07:32:16 rpmi: libldac2-2.0.2.3-alt0.1 sisyphus+278007.100.1.2 1625973035 installed <13>Apr 20 07:32:16 rpmi: liblc3-1.1.0-alt1 sisyphus+343818.100.1.1 1711619851 installed <13>Apr 20 07:32:16 rpmi: libfreeaptx-0.1.1-alt1 sisyphus+282022.100.1.1 1628182684 installed <13>Apr 20 07:32:16 rpmi: libsigc++2-2.12.1-alt1 sisyphus+331046.200.2.1 1696511642 installed <13>Apr 20 07:32:16 rpmi: libconfig-c++-1.5-alt3 sisyphus+286668.100.1.1 1633707356 installed <13>Apr 20 07:32:16 rpmi: libfdk-aac2-2.0.3-alt0.1 sisyphus+338863.100.1.1 1706094242 installed <13>Apr 20 07:32:16 rpmi: libtdb-1.4.9-alt1 sisyphus+333513.3240.71.1 1704535489 installed <13>Apr 20 07:32:16 rpmi: liblame-3.100-alt1 sisyphus+276241.100.1.2 1624925655 installed <13>Apr 20 07:32:16 rpmi: libgsm-1.0.17-alt1 sisyphus+275359.100.2.1 1624907612 installed <13>Apr 20 07:32:16 rpmi: libsndfile-1.1.0-alt1 sisyphus+339776.7300.6.2 1707349197 installed <13>Apr 20 07:32:16 rpmi: libasyncns-0.8-alt2.qa1 sisyphus+275091.100.1.1 1624402242 installed <13>Apr 20 07:32:16 rpmi: sound-theme-freedesktop-0.8-alt1 sisyphus+277010.100.1.2 1625346634 installed <13>Apr 20 07:32:16 rpmi: libyaml2-0.2.5-alt1 sisyphus+278391.100.1.1 1626094932 installed <13>Apr 20 07:32:16 rpmi: libgtest-1.13.0-alt2 sisyphus+318771.100.1.1 1681838180 installed <13>Apr 20 07:32:16 rpmi: libidn2-2.3.7-alt1 sisyphus+339505.100.1.2 1706718975 installed <13>Apr 20 07:32:16 rpmi: libgnutls30-3.8.4-alt1 sisyphus+343729.100.2.1 1711570650 installed <13>Apr 20 07:32:16 rpmi: libSDL2-2.30.2-alt1 sisyphus+344208.100.1.1 1712058403 installed <13>Apr 20 07:32:16 rpmi: libbluez-5.73-alt1 sisyphus+342821.200.2.1 1710540394 installed <13>Apr 20 07:32:16 rpmi: libxshmfence-1.3.2-alt1 sisyphus+311428.400.1.1 1670577529 installed <13>Apr 20 07:32:16 rpmi: libpciaccess-1:0.18.1-alt1 sisyphus+343583.300.1.1 1711440792 installed <13>Apr 20 07:32:16 rpmi: libdrm-1:2.4.120-alt1 sisyphus+338137.100.1.2 1705653180 installed <13>Apr 20 07:32:16 rpmi: alsa-ucm-conf-1.2.10-alt2 sisyphus+337619.100.1.1 1704220124 installed <13>Apr 20 07:32:16 rpmi: alsa-topology-conf-1.2.5.1-alt1 sisyphus+274777.100.1.1 1624089141 installed <13>Apr 20 07:32:16 rpmi: libalsa-1:1.2.10-alt2 sisyphus+337619.200.1.1 1704220189 installed <13>Apr 20 07:32:16 rpmi: libImageMagick7-common-7.1.1.27-alt1 sisyphus+339623.200.2.1 1707114139 installed <13>Apr 20 07:32:16 rpmi: libwmflite-0.2.8.4-alt13 sisyphus+275127.100.1.1 1624406848 installed <13>Apr 20 07:32:16 rpmi: liblqr-0.4.2-alt1 sisyphus+276247.100.1.2 1624927462 installed <13>Apr 20 07:32:16 rpmi: highway-libs-1.1.0-alt1 sisyphus+341019.100.4.1 1708516183 installed <13>Apr 20 07:32:16 rpmi: libjxl0.8-0.8.2-alt2 sisyphus+341019.1700.6.1 1708602427 installed <13>Apr 20 07:32:16 rpmi: libjbig2.1-2.1-alt2 sisyphus+326386.40.6.1 1691148232 installed <13>Apr 20 07:32:16 rpmi: djvu-common-3.5.28-alt2 sisyphus+297715.100.1.1 1648887081 installed <13>Apr 20 07:32:16 rpmi: libdjvu-3.5.28-alt2 sisyphus+297715.100.1.1 1648887083 installed <13>Apr 20 07:32:16 rpmi: libdav1d_7-1.4.1-alt1 sisyphus+344157.100.2.1 1711988264 installed <13>Apr 20 07:32:16 rpmi: libgts-0.7.6-alt2.drc20130205.1 sisyphus+275722.100.1.1 1624749871 installed <13>Apr 20 07:32:16 rpmi: libpaper2-2:2.1.3-alt1 sisyphus+340967.100.1.1 1708276734 installed <13>Apr 20 07:32:16 rpmi: icon-theme-hicolor-0.17-alt2 sisyphus+248343.100.1.1 1584979043 installed <13>Apr 20 07:32:17 rpmi: libgtk+2-locales-2.24.33-alt1 sisyphus+278555.100.1.2 1626252653 installed <13>Apr 20 07:32:17 rpmi: libnuma-2.0.14-alt2 sisyphus+278485.100.1.1 1626104243 installed <13>Apr 20 07:32:17 rpmi: libx265-199-3.5-alt1.1 sisyphus+277560.100.1.1 1625696944 installed <13>Apr 20 07:32:17 rpmi: libdeflate-1.20-alt1 sisyphus+343488.100.1.1 1711323986 installed <13>Apr 20 07:32:17 rpmi: libtiff5-4.4.0-alt4 sisyphus+322581.100.1.2 1686180093 installed <13>Apr 20 07:32:17 rpmi: libgdk-pixbuf-locales-2.42.10-alt1 sisyphus+308991.100.1.1 1666721198 installed <13>Apr 20 07:32:17 rpmi: libde265-1.0.15-alt1 sisyphus+337190.100.1.1 1703502097 installed <13>Apr 20 07:32:17 rpmi: libaom3-3.5.0-alt2 sisyphus+335780.100.1.1 1701761523 installed <13>Apr 20 07:32:17 rpmi: libdatrie-0.2.13-alt1_7 sisyphus+328221.100.1.1 1693336967 installed <13>Apr 20 07:32:17 rpmi: libthai-0.1.29-alt1_6 sisyphus+328230.100.1.2 1693348044 installed <13>Apr 20 07:32:17 rpmi: libpixman-3:0.43.4-alt2 sisyphus+344164.100.1.1 1711987947 installed <13>Apr 20 07:32:17 rpmi: libiex30-3.1.5-alt2.2 sisyphus+324124.100.1.1 1688379856 installed <13>Apr 20 07:32:17 rpmi: libilmthread30-3.1.5-alt2.2 sisyphus+324124.100.1.1 1688379856 installed <13>Apr 20 07:32:17 rpmi: libimath29-3.1.6-alt4 sisyphus+340273.100.1.2 1707542785 installed <13>Apr 20 07:32:17 rpmi: libopenexr30-3.1.5-alt2.2 sisyphus+324124.100.1.1 1688379856 installed <13>Apr 20 07:32:17 rpmi: openldap-common-2.6.7-alt1 sisyphus+343335.200.1.1 1711113916 installed <13>Apr 20 07:32:17 rpmi: libverto-0.3.2-alt1_1 sisyphus+321176.2200.10.2 1684806164 installed <13>Apr 20 07:32:17 rpmi: liblmdb-0.9.32-alt1 sisyphus+342426.100.1.1 1710124284 installed <13>Apr 20 07:32:17 rpmi: libkeyutils-1.6.3-alt1 sisyphus+266061.100.1.1 1612919567 installed <13>Apr 20 07:32:17 rpmi: libcom_err-1.46.4.0.5.4cda-alt1 sisyphus+283826.100.1.1 1629975361 installed <13>Apr 20 07:32:17 rpmi: libxslt-1.1.37-alt1 sisyphus+307481.100.1.1 1664360525 installed <13>Apr 20 07:32:17 rpmi: xsltproc-1.1.37-alt1 sisyphus+307481.100.1.1 1664360525 installed <13>Apr 20 07:32:17 rpmi: desktop-file-utils-0.26-alt6 sisyphus+331944.100.1.3 1697550035 installed <13>Apr 20 07:32:17 rpmi: shared-mime-info-2.4-alt1 sisyphus+334259.100.1.1 1699787317 installed <13>Apr 20 07:32:17 rpmi: gsettings-desktop-schemas-data-46.0-alt1 sisyphus+343025.100.4.2 1710847127 installed <13>Apr 20 07:32:17 rpmi: libgio-2.80.0-alt2.1 sisyphus+343856.100.1.1 1711642825 installed <13>Apr 20 07:32:17 rpmi: gsettings-desktop-schemas-46.0-alt1 sisyphus+343025.100.4.2 1710847126 installed <13>Apr 20 07:32:17 rpmi: libgdk-pixbuf-2.42.10-alt1 sisyphus+308991.100.1.1 1666721201 installed <13>Apr 20 07:32:17 rpmi: libheif-1.17.6-alt1 sisyphus+337190.200.1.1 1703502143 installed <13>Apr 20 07:32:17 rpmi: libglibmm-2.66.7-alt1 sisyphus+344717.100.1.1 1712649444 installed <13>Apr 20 07:32:17 rpmi: libxml++2-2.42.3-alt1 sisyphus+338062.100.1.2 1705656008 installed <13>Apr 20 07:32:17 rpmi: libffado-2.4.8-alt1.2 sisyphus+344475.100.1.1 1712313688 installed <13>Apr 20 07:32:17 rpmi: gtk4-update-icon-cache-4.14.3-alt1 sisyphus+345440.100.1.1 1713512784 installed <13>Apr 20 07:32:17 rpmi: libgstreamer1.0-1.24.2-alt1 sisyphus+307774.100.1.1 1712733718 installed <13>Apr 20 07:32:17 rpmi: libmpdec3-2.5.1-alt3 sisyphus+314490.500.5.1 1675432033 installed <13>Apr 20 07:32:17 rpmi: libb2-0.98.1-alt1_1 sisyphus+291614.100.1.1 1638962878 installed <13>Apr 20 07:32:17 rpmi: liblz4-1:1.9.4-alt1 sisyphus+309416.100.1.1 1667413000 installed <13>Apr 20 07:32:17 rpmi: libsystemd-1:254.10-alt1 sisyphus+343748.100.3.1 1711611802 installed <13>Apr 20 07:32:17 rpmi: libdbus-1.14.10-alt1 sisyphus+327286.5700.14.1 1711487513 installed <13>Apr 20 07:32:17 rpmi: libdbus-glib-1:0.110-alt1 sisyphus+278470.100.1.2 1626224718 installed <13>Apr 20 07:32:17 rpmi: libavahi-0.8-alt4 sisyphus+344258.100.1.1 1712133862 installed <13>Apr 20 07:32:17 rpmi: dbus-tools-1.14.10-alt1 sisyphus+327286.5700.14.1 1711487513 installed <86>Apr 20 07:32:17 groupadd[4022172]: group added to /etc/group: name=messagebus, GID=999 <86>Apr 20 07:32:17 groupadd[4022172]: group added to /etc/gshadow: name=messagebus <86>Apr 20 07:32:17 groupadd[4022172]: new group: name=messagebus, GID=999 <86>Apr 20 07:32:17 useradd[4022213]: new user: name=messagebus, UID=999, GID=999, home=/run/dbus, shell=/dev/null, from=none <13>Apr 20 07:32:17 rpmi: dbus-1.14.10-alt1 sisyphus+327286.5700.14.1 1711487513 installed <13>Apr 20 07:32:17 rpmi: libpolkit-124-alt1 sisyphus+340067.100.1.1 1707374992 installed <13>Apr 20 07:32:17 rpmi: libX11-locales-3:1.8.8-alt1 sisyphus+343583.100.1.1 1711440719 installed <13>Apr 20 07:32:17 rpmi: libXdmcp-1.1.5-alt1 sisyphus+343583.700.1.1 1711441073 installed <13>Apr 20 07:32:17 rpmi: libxcb-1.17.0-alt1 sisyphus+345308.200.1.1 1713342009 installed <13>Apr 20 07:32:17 rpmi: libX11-3:1.8.8-alt1 sisyphus+343583.100.1.1 1711440722 installed <13>Apr 20 07:32:17 rpmi: libXext-1.3.6-alt1 sisyphus+343583.1000.1.1 1711441114 installed <13>Apr 20 07:32:17 rpmi: libXrender-0.9.11-alt1 sisyphus+308841.100.1.1 1666436131 installed <13>Apr 20 07:32:17 rpmi: libcairo-1:1.18.0-alt1 sisyphus+330227.100.1.1 1695539082 installed <13>Apr 20 07:32:18 rpmi: libpulseaudio-17.0-alt2 sisyphus+339257.100.1.1 1706519233 installed <13>Apr 20 07:32:18 rpmi: libmikmod-3.3.11.1-alt2 sisyphus+278211.100.1.1 1626077624 installed <13>Apr 20 07:32:18 rpmi: libXfixes-6.0.1-alt1 sisyphus+331490.300.1.1 1697023235 installed <13>Apr 20 07:32:18 rpmi: libXcursor-1.2.2-alt1 sisyphus+343583.600.1.1 1711441036 installed <13>Apr 20 07:32:18 rpmi: libXft-2.3.8-alt1 sisyphus+331490.400.1.1 1697023273 installed <13>Apr 20 07:32:18 rpmi: libpango-1.52.2-alt1 sisyphus+344075.100.1.1 1711911780 installed <13>Apr 20 07:32:18 rpmi: libXrandr-1.5.4-alt1 sisyphus+330992.100.1.1 1696485401 installed <13>Apr 20 07:32:18 rpmi: libSDL-1.2.14-alt10 sisyphus+284852.100.1.1 1631107844 installed <13>Apr 20 07:32:18 rpmi: libSDL_image-1.2.12-alt3.gitd0ea78d sisyphus+278696.40.4.1 1626250397 installed <13>Apr 20 07:32:18 rpmi: libSDL_sound-1.0.3-alt6.git4a8ecd7 sisyphus+339776.1600.6.2 1707343813 installed <13>Apr 20 07:32:18 rpmi: libXxf86vm-1.1.5-alt1 sisyphus+308663.1400.1.1 1666168534 installed <13>Apr 20 07:32:18 rpmi: libGLX-mesa-4:24.0.5-alt1 sisyphus+343963.1100.6.1 1713343747 installed <13>Apr 20 07:32:19 rpmi: libxcb-devel-1.17.0-alt1 sisyphus+345308.200.1.1 1713342009 installed <13>Apr 20 07:32:19 rpmi: libX11-devel-3:1.8.8-alt1 sisyphus+343583.100.1.1 1711440722 installed <13>Apr 20 07:32:19 rpmi: libXrender-devel-0.9.11-alt1 sisyphus+308841.100.1.1 1666436131 installed <13>Apr 20 07:32:19 rpmi: libXext-devel-1.3.6-alt1 sisyphus+343583.1000.1.1 1711441114 installed <13>Apr 20 07:32:19 rpmi: libGLX-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424894 installed <13>Apr 20 07:32:19 rpmi: libGL-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424894 installed <13>Apr 20 07:32:19 rpmi: libGLU-4:9.0.1-alt1 sisyphus+278350.100.1.2 1626174378 installed <13>Apr 20 07:32:19 rpmi: radius-engine-1.1-alt1_16 sisyphus+248809.100.1.1 1585429383 installed <13>Apr 20 07:32:19 rpmi: libSDL_gfx-2.0.25-alt1 sisyphus+275321.100.1.3 1624484303 installed <13>Apr 20 07:32:19 rpmi: libSDL_mixer-1.2.12-alt2.git40a7e1a sisyphus+339776.1500.6.2 1707343772 installed <13>Apr 20 07:32:19 rpmi: libSDL_net-1.2.8-alt3.git9a629d6 sisyphus+284017.100.1.1 1630068460 installed <13>Apr 20 07:32:19 rpmi: libSDL_ttf-2.0.11-alt1.git1ed61fe sisyphus+278696.400.4.1 1626250543 installed <13>Apr 20 07:32:19 rpmi: liblasi-1.1.3-alt3 sisyphus+286812.100.2.1 1633968134 installed <13>Apr 20 07:32:19 rpmi: libcanberra-0.30-alt3 sisyphus+275093.100.2.3 1624562354 installed <13>Apr 20 07:32:19 rpmi: libcairo-gobject-1:1.18.0-alt1 sisyphus+330227.100.1.1 1695539082 installed <13>Apr 20 07:32:20 rpmi: librsvg-1:2.58.90-alt1 sisyphus+345159.100.1.1 1713168585 installed <13>Apr 20 07:32:20 rpmi: libharfbuzz-cairo-8.4.0-alt1 sisyphus+344161.100.1.1 1711987969 installed <13>Apr 20 07:32:20 rpmi: libXi-1.8-alt1 sisyphus+285490.200.1.1 1632124180 installed <13>Apr 20 07:32:20 rpmi: libXinerama-1.1.5-alt1 sisyphus+309287.100.1.1 1667213209 installed <13>Apr 20 07:32:20 rpmi: libXxf86dga-1.1.6-alt1 sisyphus+311188.700.1.1 1670233831 installed <13>Apr 20 07:32:20 rpmi: dbus-tools-gui-1.14.10-alt1 sisyphus+327286.5700.14.1 1711487513 installed <13>Apr 20 07:32:20 rpmi: libXt-1.3.0-alt1 sisyphus+331490.500.1.1 1697023316 installed <13>Apr 20 07:32:20 rpmi: libXpm-3.5.17-alt1 sisyphus+330921.100.1.1 1696400258 installed <13>Apr 20 07:32:20 rpmi: libgd3-2.3.3-alt2 sisyphus+335387.100.1.1 1701278647 installed <13>Apr 20 07:32:20 rpmi: libXcomposite-0.4.6-alt1 sisyphus+311188.200.1.1 1670233684 installed <13>Apr 20 07:32:20 rpmi: libXdamage-1.1.6-alt1 sisyphus+311188.300.1.1 1670233713 installed <13>Apr 20 07:32:20 rpmi: libgbm-4:24.0.5-alt1 sisyphus+343963.1100.6.1 1713343747 installed <13>Apr 20 07:32:20 rpmi: libEGL-mesa-4:24.0.5-alt1 sisyphus+343963.1100.6.1 1713343747 installed <13>Apr 20 07:32:20 rpmi: libEGL-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424894 installed <13>Apr 20 07:32:20 rpmi: libglvnd-devel-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424894 installed <13>Apr 20 07:32:20 rpmi: libGLU-devel-4:9.0.1-alt1 sisyphus+278350.100.1.2 1626174378 installed <13>Apr 20 07:32:20 rpmi: libSDL-devel-1.2.14-alt10 sisyphus+284852.100.1.1 1631107844 installed <13>Apr 20 07:32:20 rpmi: libSDL_sound-devel-1.0.3-alt6.git4a8ecd7 sisyphus+339776.1600.6.2 1707343813 installed <13>Apr 20 07:32:20 rpmi: libGL-devel-4:24.0.5-alt1 sisyphus+343963.1100.6.1 1713343747 installed <13>Apr 20 07:32:20 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Apr 20 07:32:20 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Apr 20 07:32:20 rpmi: ca-certificates-2024.02.24-alt1 sisyphus+341362.100.1.1 1708791001 installed <13>Apr 20 07:32:20 rpmi: ca-trust-0.2.0-alt1 sisyphus+344843.100.1.1 1712743326 installed <13>Apr 20 07:32:20 rpmi: p11-kit-trust-1:0.25.3-alt2 sisyphus+336533.100.1.1 1702645575 installed <13>Apr 20 07:32:20 rpmi: libcrypto3-3.1.5-alt2 sisyphus+343320.140.3.1 1711982452 installed <13>Apr 20 07:32:20 rpmi: libssl3-3.1.5-alt2 sisyphus+343320.140.3.1 1711982452 installed <13>Apr 20 07:32:20 rpmi: python3-3.12.2-alt1 sisyphus+341702.200.1.1 1709232959 installed <13>Apr 20 07:32:21 rpmi: python3-base-3.12.2-alt1 sisyphus+341702.200.1.1 1709232959 installed <86>Apr 20 07:32:21 groupadd[4035252]: group added to /etc/group: name=_keytab, GID=998 <86>Apr 20 07:32:21 groupadd[4035252]: group added to /etc/gshadow: name=_keytab <86>Apr 20 07:32:21 groupadd[4035252]: new group: name=_keytab, GID=998 <13>Apr 20 07:32:21 rpmi: libkrb5-1.21.2-alt2 sisyphus+338902.100.2.1 1706700985 installed <13>Apr 20 07:32:21 rpmi: libcups-2.4.7-alt2 sisyphus+333092.100.1.1 1698654164 installed <13>Apr 20 07:32:21 rpmi: libgtk+2-2.24.33-alt1 sisyphus+278555.100.1.2 1626252537 installed <13>Apr 20 07:32:22 rpmi: libgs-10.01.1-alt2 sisyphus+337968.300.3.1 1705654987 installed <13>Apr 20 07:32:22 rpmi: libgraphviz-10.0.1-alt1 sisyphus+342592.40.4.1 1710427363 installed <13>Apr 20 07:32:22 rpmi: libImageMagick7.10-7.1.1.27-alt1 sisyphus+339623.200.2.1 1707114139 installed <13>Apr 20 07:32:22 rpmi: ImageMagick-tools-7.1.1.27-alt1 sisyphus+339623.200.2.1 1707114139 installed <86>Apr 20 07:32:22 groupadd[4041922]: group added to /etc/group: name=sasl, GID=997 <86>Apr 20 07:32:22 groupadd[4041922]: group added to /etc/gshadow: name=sasl <86>Apr 20 07:32:22 groupadd[4041922]: new group: name=sasl, GID=997 <13>Apr 20 07:32:22 rpmi: libsasl2-3-2.1.28-alt2 sisyphus+343335.100.1.1 1711112524 installed <13>Apr 20 07:32:22 rpmi: libldap2-2.6.7-alt1 sisyphus+343335.200.1.1 1711113906 installed <13>Apr 20 07:32:22 rpmi: libGConf-3.2.6-alt4 sisyphus+307385.100.1.1 1664189858 installed <13>Apr 20 07:32:22 rpmi: python3-module-packaging-24.0-alt1 sisyphus+342487.100.2.1 1710407438 installed <13>Apr 20 07:32:22 rpmi: glib2-devel-2.80.0-alt2.1 sisyphus+343856.100.1.1 1711642825 installed <13>Apr 20 07:32:22 rpmi: libcairo-devel-1:1.18.0-alt1 sisyphus+330227.100.1.1 1695539082 installed <13>Apr 20 07:32:22 rpmi: fontconfig-devel-2.14.2-alt8 sisyphus+328444.100.1.1 1693553407 installed <13>Apr 20 07:32:23 rpmi: libfreetype-devel-2.13.2-alt1 sisyphus+328677.100.1.1 1693834346 installed <13>Apr 20 07:32:23 rpmi: libharfbuzz-devel-8.4.0-alt1 sisyphus+344161.100.1.1 1711987969 installed <13>Apr 20 07:32:23 rpmi: libgio-devel-2.80.0-alt2.1 sisyphus+343856.100.1.1 1711642825 installed <13>Apr 20 07:32:23 rpmi: libgdk-pixbuf-devel-2.42.10-alt1 sisyphus+308991.100.1.1 1666721201 installed <13>Apr 20 07:32:23 rpmi: libXft-devel-2.3.8-alt1 sisyphus+331490.400.1.1 1697023273 installed <13>Apr 20 07:32:23 rpmi: libpango-devel-1.52.2-alt1 sisyphus+344075.100.1.1 1711911780 installed <13>Apr 20 07:32:23 rpmi: libatk-devel-2.52.0-alt1 sisyphus+342903.100.1.1 1710606495 installed <13>Apr 20 07:32:23 rpmi: libpulseaudio-devel-17.0-alt2 sisyphus+339257.100.1.1 1706519233 installed <13>Apr 20 07:32:23 rpmi: gtk-builder-convert-2.24.33-alt1 sisyphus+278555.100.1.2 1626252653 installed <13>Apr 20 07:32:23 rpmi: libevent2.1-2.1.12-alt1 sisyphus+324359.3500.11.1 1689364668 installed <13>Apr 20 07:32:23 rpmi: libcamera-1:0.2.0-alt1 sisyphus+338024.100.2.2 1705663848 installed <13>Apr 20 07:32:23 rpmi: pipewire-libs-1.0.5-alt1 sisyphus+345195.100.1.1 1713190297 installed <13>Apr 20 07:32:23 rpmi: pipewire-jack-libs-1.0.5-alt1 sisyphus+345195.100.1.1 1713190297 installed <13>Apr 20 07:32:23 rpmi: liballegro4.4-4.4.3.1-alt2 sisyphus+328307.100.1.1 1693401501 installed <13>Apr 20 07:32:23 rpmi: liballegro-devel-4.4.3.1-alt2 sisyphus+328307.100.1.1 1693401501 installed <13>Apr 20 07:32:23 rpmi: dumb-0.9.3-alt5 sisyphus+275716.100.1.1 1624748871 installed <13>Apr 20 07:32:23 rpmi: libguichan-0.8.2-alt3.1 1433991699 installed <13>Apr 20 07:32:23 rpmi: libncurses6-6.3.20220618-alt4 sisyphus+327286.4600.14.1 1711486782 installed <13>Apr 20 07:32:23 rpmi: libtinfo-devel-6.3.20220618-alt4 sisyphus+327286.4600.14.1 1711486782 installed <13>Apr 20 07:32:23 rpmi: libncurses-devel-6.3.20220618-alt4 sisyphus+327286.4600.14.1 1711486782 installed <13>Apr 20 07:32:23 rpmi: libpython-2.7.18-alt11 sisyphus+328124.4300.1.1 1693252574 installed <13>Apr 20 07:32:23 rpmi: python2-base-2.7.18-alt11 sisyphus+328124.4300.1.1 1693252574 installed <13>Apr 20 07:32:23 rpmi: python-modules-compiler-2.7.18-alt11 sisyphus+328124.4300.1.1 1693252574 installed <13>Apr 20 07:32:23 rpmi: python-modules-email-2.7.18-alt11 sisyphus+328124.4300.1.1 1693252574 installed <13>Apr 20 07:32:23 rpmi: python-modules-unittest-2.7.18-alt11 sisyphus+328124.4300.1.1 1693252574 installed <13>Apr 20 07:32:23 rpmi: python-modules-2.7.18-alt11 sisyphus+328124.4300.1.1 1693252574 installed <13>Apr 20 07:32:23 rpmi: python-modules-encodings-2.7.18-alt11 sisyphus+328124.4300.1.1 1693252574 installed <13>Apr 20 07:32:23 rpmi: python-modules-xml-2.7.18-alt11 sisyphus+328124.4300.1.1 1693252574 installed <13>Apr 20 07:32:23 rpmi: python-modules-hotshot-2.7.18-alt11 sisyphus+328124.4300.1.1 1693252574 installed <13>Apr 20 07:32:23 rpmi: python-modules-bsddb-2.7.18-alt11 sisyphus+328124.4300.1.1 1693252574 installed <13>Apr 20 07:32:23 rpmi: python-modules-ctypes-2.7.18-alt11 sisyphus+328124.4300.1.1 1693252574 installed <13>Apr 20 07:32:23 rpmi: python-modules-multiprocessing-2.7.18-alt11 sisyphus+328124.4300.1.1 1693252574 installed <13>Apr 20 07:32:23 rpmi: python-modules-logging-2.7.18-alt11 sisyphus+328124.4300.1.1 1693252574 installed <13>Apr 20 07:32:23 rpmi: rpm-build-python-0.43.2-alt1 sisyphus+271106.100.1.1 1619868598 installed <13>Apr 20 07:32:23 rpmi: python-modules-curses-2.7.18-alt11 sisyphus+328124.4300.1.1 1693252574 installed <13>Apr 20 07:32:23 rpmi: python-2.7.18-alt11 sisyphus+328124.4300.1.1 1693252574 installed <13>Apr 20 07:32:23 rpmi: python-modules-distutils-2.7.18-alt11 sisyphus+328124.4300.1.1 1693252574 installed <13>Apr 20 07:32:23 rpmi: python-dev-2.7.18-alt11 sisyphus+328124.4300.1.1 1693252574 installed <13>Apr 20 07:32:24 rpmi: libguichan-devel-0.8.2-alt3.1 1433991699 installed <13>Apr 20 07:32:24 rpmi: dumb-devel-0.9.3-alt5 sisyphus+275716.100.1.1 1624748871 installed <13>Apr 20 07:32:24 rpmi: libgtk+2-devel-2.24.33-alt1 sisyphus+278555.100.1.2 1626252537 installed <13>Apr 20 07:32:24 rpmi: libmikmod-devel-3.3.11.1-alt2 sisyphus+278211.100.1.1 1626077624 installed <13>Apr 20 07:32:24 rpmi: GConf-3.2.6-alt4 sisyphus+307385.100.1.1 1664189858 installed <13>Apr 20 07:32:24 rpmi: radius-engine-devel-1.1-alt1_16 sisyphus+248809.100.1.1 1585429383 installed <13>Apr 20 07:32:24 rpmi: libSDL_gfx-devel-2.0.25-alt1 sisyphus+275321.100.1.3 1624484303 installed <13>Apr 20 07:32:24 rpmi: libSDL_image-devel-1.2.12-alt3.gitd0ea78d sisyphus+278696.40.4.1 1626250397 installed <13>Apr 20 07:32:24 rpmi: libSDL_mixer-devel-1.2.12-alt2.git40a7e1a sisyphus+339776.1500.6.2 1707343772 installed <13>Apr 20 07:32:24 rpmi: libSDL_net-devel-1.2.8-alt3.git9a629d6 sisyphus+284017.100.1.1 1630068460 installed <13>Apr 20 07:32:24 rpmi: libSDL_ttf-devel-2.0.11-alt1.git1ed61fe sisyphus+278696.400.4.1 1626250543 installed <13>Apr 20 07:32:24 rpmi: gcc-c++-13-alt1 sisyphus+323337.300.1.1 1687268227 installed <13>Apr 20 07:32:24 rpmi: gcc-fortran-13-alt1 sisyphus+323337.300.1.1 1687268227 installed <13>Apr 20 07:32:24 rpmi: unzip-6.0-alt5 sisyphus+308257.100.1.1 1665550038 installed <13>Apr 20 07:32:24 rpmi: libSM-devel-1.2.4-alt1 sisyphus+312057.200.1.1 1671526918 installed <13>Apr 20 07:32:24 rpmi: libxml2-devel-1:2.12.5-alt1 sisyphus+342268.100.2.1 1710156418 installed Building target platforms: i586 Building for target i586 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: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.43907 + 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.67969 + 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 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS=' -march=i586 -mtune=generic' + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + configure_runstatedir_flags= + grep -qF runstatedir=DIR ./configure + echo 'rpm-build: warning: ./configure script does not support --runstatedir' rpm-build: warning: ./configure script does not support --runstatedir + ./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --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 i586-alt-linux-gcc... i586-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 i586-alt-linux-gcc accepts -g... yes checking for i586-alt-linux-gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of i586-alt-linux-gcc... none checking for i586-alt-linux-g++... i586-alt-linux-g++ checking whether we are using the GNU C++ compiler... yes checking whether i586-alt-linux-g++ accepts -g... yes checking dependency style of i586-alt-linux-g++... none checking for gawk... (cached) gawk checking build system type... i586-alt-linux-gnu checking host system type... i586-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 i586-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 i586-alt-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... (cached) pass_all checking for i586-alt-linux-ar... no checking for ar... ar checking for i586-alt-linux-strip... no checking for strip... strip checking for i586-alt-linux-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from i586-alt-linux-gcc object... ok checking how to run the C preprocessor... i586-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 i586-alt-linux-g++ accepts -g... (cached) yes checking dependency style of i586-alt-linux-g++... (cached) none checking how to run the C++ preprocessor... i586-alt-linux-g++ -E checking for objdir... .libs checking if i586-alt-linux-gcc supports -fno-rtti -fno-exceptions... no checking for i586-alt-linux-gcc option to produce PIC... -fPIC -DPIC checking if i586-alt-linux-gcc PIC flag -fPIC -DPIC works... yes checking if i586-alt-linux-gcc static flag -static works... no checking if i586-alt-linux-gcc supports -c -o file.o... yes checking if i586-alt-linux-gcc supports -c -o file.o... (cached) yes checking whether the i586-alt-linux-gcc linker (/usr/bin/ld) 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 i586-alt-linux-g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the i586-alt-linux-g++ linker (/usr/bin/ld) supports shared libraries... yes checking for i586-alt-linux-g++ option to produce PIC... -fPIC -DPIC checking if i586-alt-linux-g++ PIC flag -fPIC -DPIC works... yes checking if i586-alt-linux-g++ static flag -static works... no checking if i586-alt-linux-g++ supports -c -o file.o... yes checking if i586-alt-linux-g++ supports -c -o file.o... (cached) yes checking whether the i586-alt-linux-g++ linker (/usr/bin/ld) 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 -j16 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' i586-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 -march=i586 -mtune=generic -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' i586-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 -march=i586 -mtune=generic -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' i586-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 -march=i586 -mtune=generic -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' i586-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 -march=i586 -mtune=generic -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' i586-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 -march=i586 -mtune=generic -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' i586-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 -march=i586 -mtune=generic -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' i586-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 -march=i586 -mtune=generic -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 '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 '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' i586-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 -march=i586 -mtune=generic -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) {} | ^~~~~~~~~~~~~~~ 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' i586-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 -march=i586 -mtune=generic -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) {} | ^~~~~~~~~~~~~~~ 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' i586-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 -march=i586 -mtune=generic -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' i586-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 -march=i586 -mtune=generic -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' i586-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 -march=i586 -mtune=generic -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' i586-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 -march=i586 -mtune=generic -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_ ) : | ^~~~~~~~ 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_ ) : | ^~~~~~~~ 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_ ) : | ^~~~~~~~ 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 ) : | ^~~~~~~~ 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' i586-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 -march=i586 -mtune=generic -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) {} | ^~~~~~~~~~~~~~~ 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; | ^~~~~~~~~~~~~~~~~~~ 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' i586-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 -march=i586 -mtune=generic -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' i586-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 -march=i586 -mtune=generic -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) {} | ^~~~~~~~~~~~~~~ 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' i586-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 -march=i586 -mtune=generic -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) {} | ^~~~~~~~~~~~~~~ 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 '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' i586-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 -march=i586 -mtune=generic -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) {} | ^~~~~~~~~~~~~~~ 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' i586-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 -march=i586 -mtune=generic -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' i586-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 -march=i586 -mtune=generic -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' i586-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 -march=i586 -mtune=generic -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) {} | ^~~~~~~~~~~~~~~ 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' i586-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 -march=i586 -mtune=generic -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' i586-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 -march=i586 -mtune=generic -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' i586-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 -march=i586 -mtune=generic -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 std::__cxx11::basic_string::size_type' {aka 'const 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 std::__cxx11::basic_string::size_type' {aka 'const unsigned int'} [-Wsign-compare] 2676 | while(iPosition != string::npos) | ~~~~~~~~~~^~~~~~~~~~~~~~~ loaddata.cpp:2813:34: warning: comparison of integer expressions of different signedness: 'int' and 'const std::__cxx11::basic_string::size_type' {aka 'const 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' i586-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 -march=i586 -mtune=generic -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) {} | ^~~~~~~~~~~~~~~ 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' i586-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 -march=i586 -mtune=generic -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' i586-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 -march=i586 -mtune=generic -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' i586-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 -march=i586 -mtune=generic -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' i586-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 -march=i586 -mtune=generic -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) {} | ^~~~~~~~~~~~~~~ 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' i586-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 -march=i586 -mtune=generic -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_ ) : | ^~~~~~~~~~~~~~~~ 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_ ) : | ^~~~~~~~~~~~~~ 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' i586-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 -march=i586 -mtune=generic -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) {} | ^~~~~~~~~~~~~~~ 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' i586-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 -march=i586 -mtune=generic -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' i586-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 -march=i586 -mtune=generic -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' i586-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 -march=i586 -mtune=generic -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' i586-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 -march=i586 -mtune=generic -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' i586-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 -march=i586 -mtune=generic -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' i586-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 -march=i586 -mtune=generic -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) {} | ^~~~~~~~~~~~~~~ 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, 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 ) | ^~~~~~~~~~~ menuitems.h: In constructor 'cMenuCheckButton::cMenuCheckButton(int, int, std::string, bool, bool, eCheckButtonTypes, 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]; | ^~~~~~~~~~~~~~~~~~~~ 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_ ) | ^~~~~~~~~~~~~~~~~ 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_ ) | ^~~~~~~~~~~~~~~~~ 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_ ) | ^~~~~~~~~~~~~~~~~ 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(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(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(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 ) | ^ menuitems.h: In constructor 'cMenuScroller::cMenuScroller(int, int, 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 *) ) : | ^~~~~~~~~~~~~ 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; | ^~~~~~~~~~~~~~~ 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' i586-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 -march=i586 -mtune=generic -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 std::__cxx11::basic_string::size_type' {aka 'const 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 std::__cxx11::basic_string::size_type' {aka 'const unsigned int'} [-Wsign-compare] 453 | if ( k != string::npos ) | ~~^~~~~~~~~~~~~~~ unifonts.cpp:459:19: warning: comparison of integer expressions of different signedness: 'int' and 'const std::__cxx11::basic_string::size_type' {aka 'const unsigned int'} [-Wsign-compare] 459 | while ( k != string::npos ); | ~~^~~~~~~~~~~~~~~ unifonts.cpp:466:24: warning: comparison of integer expressions of different signedness: 'int' and 'const std::__cxx11::basic_string::size_type' {aka 'const unsigned int'} [-Wsign-compare] 466 | if ( k != string::npos ) | ~~^~~~~~~~~~~~~~~ unifonts.cpp:471:19: warning: comparison of integer expressions of different signedness: 'int' and 'const std::__cxx11::basic_string::size_type' {aka 'const unsigned int'} [-Wsign-compare] 471 | while ( k != string::npos ); | ~~^~~~~~~~~~~~~~~ unifonts.cpp:478:24: warning: comparison of integer expressions of different signedness: 'int' and 'const std::__cxx11::basic_string::size_type' {aka 'const unsigned int'} [-Wsign-compare] 478 | if ( k != string::npos ) | ~~^~~~~~~~~~~~~~~ unifonts.cpp:490:19: warning: comparison of integer expressions of different signedness: 'int' and 'const std::__cxx11::basic_string::size_type' {aka 'const 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' i586-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 -march=i586 -mtune=generic -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' i586-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 -march=i586 -mtune=generic -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) {} | ^~~~~~~~~~~~~~~ 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' i586-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 -march=i586 -mtune=generic -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) {} | ^~~~~~~~~~~~~~~ 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 std::__cxx11::basic_string::size_type' {aka 'const 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' i586-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 -march=i586 -mtune=generic -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) {} | ^~~~~~~~~~~~~~~ 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' i586-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 -march=i586 -mtune=generic -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) {} | ^~~~~~~~~~~~~~~ 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; | ^~~~~~~~~~~~~~~~~~ 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; | ^~~~~~~~~~~ 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; | ^~~~~~~~~~~~~~~~~ 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' i586-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 -march=i586 -mtune=generic -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) {} | ^~~~~~~~~~~~~~~ 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 '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' /bin/sh ../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -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: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -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.2249 + 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) verify-elf: WARNING: ./usr/bin/maxr: uses non-LFS functions: fopen readdir Hardlinking identical .pyc and .pyo files Splitting links to aliased files under /{,s}bin in /usr/src/tmp/maxr-buildroot Processing files: maxr-0.2.6-alt2_3 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.84755 + 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.TFc6KM find-provides: running scripts (alternatives,debuginfo,gir,lib,lua,pam,perl,pkgconfig,python,python3,shell,typelib) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Kcxw8v find-requires: running scripts (cpp,debuginfo,files,gir-js,gir-python,gir,lib,lua,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services,typelib) Requires: icon-theme-hicolor, /lib/ld-linux.so.2, libSDL-1.2.so.0 >= set:lfwMFF0LACvSV4em4i1KrsF3Pa5ZwAFjHxjydDdDbRrvQoqXZbQ8yns0Ir6PEDBLLV3cxZDx8mHZeszBJIoHzt0Zph923uALb6NDAKc9ZIaMAsIZ0v6aWm7HYQP4, libSDL_mixer-1.2.so.0 >= set:kgIdSR7alvpQY3CJ1LnsNwguoZfonPln0, libSDL_net-1.2.so.0 >= set:jfOufyTmBRoMyZKCV80WvukIVgeAs1, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.11), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.34), libc.so.6(GLIBC_2.38), libc.so.6(GLIBC_2.4), libc.so.6(GLIBC_2.7), libgcc_s.so.1(GCC_3.0), libgcc_s.so.1(GCC_3.3.1), libm.so.6(GLIBC_2.0), libm.so.6(GLIBC_2.1), libm.so.6(GLIBC_2.27), libm.so.6(GLIBC_2.29), libstdc++.so.6(CXXABI_1.3), libstdc++.so.6(CXXABI_1.3.1), libstdc++.so.6(CXXABI_1.3.8), libstdc++.so.6(CXXABI_1.3.9), libstdc++.so.6(GLIBCXX_3.4), libstdc++.so.6(GLIBCXX_3.4.20), libstdc++.so.6(GLIBCXX_3.4.21), libstdc++.so.6(GLIBCXX_3.4.26), libstdc++.so.6(GLIBCXX_3.4.29), libstdc++.so.6(GLIBCXX_3.4.32), libstdc++.so.6(GLIBCXX_3.4.9), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.lGnJG1 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.GS6Sx9 find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.a4WkLk find-requires: running scripts (debuginfo) Requires: maxr = 0.2.6-alt2_3, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libSDL-1.2.so.0), debug(libSDL_mixer-1.2.so.0), debug(libSDL_net-1.2.so.0), debug(libc.so.6), debug(libgcc_s.so.1), debug(libm.so.6), debug(libstdc++.so.6) Wrote: /usr/src/RPM/RPMS/i586/maxr-0.2.6-alt2_3.i586.rpm (w2T16.xzdio) Wrote: /usr/src/RPM/RPMS/i586/maxr-debuginfo-0.2.6-alt2_3.i586.rpm (w2T16.xzdio) 98.24user 12.60system 0:26.83elapsed 413%CPU (0avgtext+0avgdata 140740maxresident)k 0inputs+0outputs (0major+2533316minor)pagefaults 0swaps /.out/maxr-0.2.6-alt2_3.i586.rpm: license not found in '/usr/share/license' directory: GFDL /.out/maxr-debuginfo-0.2.6-alt2_3.i586.rpm: license not found in '/usr/share/license' directory: GFDL 6.58user 3.91system 0:55.72elapsed 18%CPU (0avgtext+0avgdata 129716maxresident)k 1392inputs+0outputs (0major+352964minor)pagefaults 0swaps --- maxr-0.2.6-alt2_3.i586.rpm.repo 2012-01-28 22:14:10.000000000 +0000 +++ maxr-0.2.6-alt2_3.i586.rpm.hasher 2024-04-20 07:32:56.336364954 +0000 @@ -1327,3 +1327,3 @@ Requires: rpmlib(SetVersions) -Requires: libSDL_mixer-1.2.so.0 >= set:lhS63Cv0ubAX4nGZl6lZhoS6uLUdiJZnIH9 +Requires: libSDL_mixer-1.2.so.0 >= set:kgIdSR7alvpQY3CJ1LnsNwguoZfonPln0 Requires: libSDL_net-1.2.so.0 >= set:jfOufyTmBRoMyZKCV80WvukIVgeAs1 @@ -1333,11 +1333,24 @@ Requires: libc.so.6(GLIBC_2.11) +Requires: libc.so.6(GLIBC_2.3) Requires: libc.so.6(GLIBC_2.3.4) +Requires: libc.so.6(GLIBC_2.34) +Requires: libc.so.6(GLIBC_2.38) Requires: libc.so.6(GLIBC_2.4) +Requires: libc.so.6(GLIBC_2.7) Requires: libgcc_s.so.1(GCC_3.0) +Requires: libgcc_s.so.1(GCC_3.3.1) Requires: libm.so.6(GLIBC_2.0) Requires: libm.so.6(GLIBC_2.1) -Requires: libpthread.so.0(GLIBC_2.0) +Requires: libm.so.6(GLIBC_2.27) +Requires: libm.so.6(GLIBC_2.29) Requires: libstdc++.so.6(CXXABI_1.3) Requires: libstdc++.so.6(CXXABI_1.3.1) +Requires: libstdc++.so.6(CXXABI_1.3.8) +Requires: libstdc++.so.6(CXXABI_1.3.9) Requires: libstdc++.so.6(GLIBCXX_3.4) +Requires: libstdc++.so.6(GLIBCXX_3.4.20) +Requires: libstdc++.so.6(GLIBCXX_3.4.21) +Requires: libstdc++.so.6(GLIBCXX_3.4.26) +Requires: libstdc++.so.6(GLIBCXX_3.4.29) +Requires: libstdc++.so.6(GLIBCXX_3.4.32) Requires: libstdc++.so.6(GLIBCXX_3.4.9) @@ -1346,4 +1359,4 @@ Provides: maxr = 0.2.6-alt2_3 -File: /usr/bin/maxr 100755 root:root 55d90c6ab58c43a42c44a02d67ba22c2 -File: /usr/share/applications/maxr.desktop 100644 root:root c34833fac0b396ebc269310d4cb7b6ae +File: /usr/bin/maxr 100755 root:root 4cf99034e213fb64928edc61f8900f13 +File: /usr/share/applications/maxr.desktop 100644 root:root 7db7ab9e2db83d16543c4da4bf65136b File: /usr/share/doc/maxr-0.2.6 40755 root:root @@ -2669,2 +2682,2 @@ File: /usr/share/maxr/voices 40755 root:root -RPMIdentity: 8a1d49defa0c77b1ed9880fad71fb45270e89dd1da09bf45187f9eda178d8dc2b38c96015f2931690a53dd805bd45022e1497eff6c48bd56d359f93aeb277438 +RPMIdentity: 852e52af4c98ea6cd9419dc41d240db51767127eaeb43da828f801a7e6a7a41343ca0b4eaf4fe124665a0c3c2ebc218b7d180a8b6529b298279ac711cc1497c6 --- maxr-debuginfo-0.2.6-alt2_3.i586.rpm.repo 2012-01-28 22:14:10.000000000 +0000 +++ maxr-debuginfo-0.2.6-alt2_3.i586.rpm.hasher 2024-04-20 07:32:56.428366159 +0000 @@ -1,4 +1,4 @@ -/usr/lib/debug/.build-id/30 40755 root:root -/usr/lib/debug/.build-id/30/d40d5af3c8de254d6021975e8e59a2702fb1ee 120777 root:root ../../../../bin/maxr -/usr/lib/debug/.build-id/30/d40d5af3c8de254d6021975e8e59a2702fb1ee.debug 120777 root:root ../../usr/bin/maxr.debug +/usr/lib/debug/.build-id/c5 40755 root:root +/usr/lib/debug/.build-id/c5/1c972f80c83c4bd82408a259381871880c2cd9 120777 root:root ../../../../bin/maxr +/usr/lib/debug/.build-id/c5/1c972f80c83c4bd82408a259381871880c2cd9.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: debug(libm.so.6) -Requires: debug(libpthread.so.0) Requires: debug(libstdc++.so.6) @@ -104,6 +106,6 @@ Provides: maxr-debuginfo = 0.2.6-alt2_3 -File: /usr/lib/debug/.build-id/30 40755 root:root -File: /usr/lib/debug/.build-id/30/d40d5af3c8de254d6021975e8e59a2702fb1ee 120777 root:root ../../../../bin/maxr -File: /usr/lib/debug/.build-id/30/d40d5af3c8de254d6021975e8e59a2702fb1ee.debug 120777 root:root ../../usr/bin/maxr.debug -File: /usr/lib/debug/usr/bin/maxr.debug 100644 root:root aeb77f92577964b8a8f4937894501f16 +File: /usr/lib/debug/.build-id/c5 40755 root:root +File: /usr/lib/debug/.build-id/c5/1c972f80c83c4bd82408a259381871880c2cd9 120777 root:root ../../../../bin/maxr +File: /usr/lib/debug/.build-id/c5/1c972f80c83c4bd82408a259381871880c2cd9.debug 120777 root:root ../../usr/bin/maxr.debug +File: /usr/lib/debug/usr/bin/maxr.debug 100644 root:root 499b0fe5ab025a683b0cc8002731dfe5 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: 89a359711b6f9b9833fd0cf38fb88fe0057eeb8c420c42949432522217622c13674f9d8be99d598c6921a217cf7189e78260c7766604791a198d892ca08e5396 +RPMIdentity: 40198c8c04e0c4d7cd8eab448645aeb3930a97f20aee3cdf304104742ee959ffa2f15ff803813c6feed6bd40cfc7b283b33826b5684614a3e8b67dc176b68f7a