<86>Feb 5 13:06:15 userdel[35774]: delete user 'rooter' <86>Feb 5 13:06:15 userdel[35774]: removed group 'rooter' owned by 'rooter' <86>Feb 5 13:06:15 userdel[35774]: removed shadow group 'rooter' owned by 'rooter' <86>Feb 5 13:06:15 groupadd[35803]: group added to /etc/group: name=rooter, GID=705 <86>Feb 5 13:06:15 groupadd[35803]: group added to /etc/gshadow: name=rooter <86>Feb 5 13:06:15 groupadd[35803]: new group: name=rooter, GID=705 <86>Feb 5 13:06:15 useradd[35821]: new user: name=rooter, UID=705, GID=705, home=/root, shell=/bin/bash <86>Feb 5 13:06:15 userdel[35857]: delete user 'builder' <86>Feb 5 13:06:15 userdel[35857]: removed group 'builder' owned by 'builder' <86>Feb 5 13:06:15 userdel[35857]: removed shadow group 'builder' owned by 'builder' <86>Feb 5 13:06:15 groupadd[35877]: group added to /etc/group: name=builder, GID=706 <86>Feb 5 13:06:15 groupadd[35877]: group added to /etc/gshadow: name=builder <86>Feb 5 13:06:15 groupadd[35877]: new group: name=builder, GID=706 <86>Feb 5 13:06:15 useradd[35894]: new user: name=builder, UID=706, GID=706, home=/usr/src, shell=/bin/bash 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>Feb 5 13:06:18 rpmi: rpm-macros-kde-common-devel-14.12.1-alt1 1422279175 installed <13>Feb 5 13:06:18 rpmi: rpm-macros-generic-compat-0.04-alt1 1527350580 installed <13>Feb 5 13:06:18 rpmi: rpm-macros-fedora-compat-0.155-alt1 sisyphus.218953.100 1546607365 installed <13>Feb 5 13:07:10 rpmi: xorg-proto-devel-2018.4-alt3 1527685079 installed <13>Feb 5 13:07:10 rpmi: libjpeg-2:1.5.1-alt1 1498218318 installed <13>Feb 5 13:07:10 rpmi: libpng16-1.6.36-alt1 sisyphus+219478.100.1.1 1547633314 installed <13>Feb 5 13:07:10 rpmi: libexpat-2.2.4-alt1 1503305345 installed <13>Feb 5 13:07:10 rpmi: libtiff5-4.0.3-alt1 1348347501 installed <13>Feb 5 13:07:10 rpmi: libogg-1.3.3-alt1 sisyphus.217914.100 1545006091 installed <13>Feb 5 13:07:10 rpmi: libvorbis-1.3.6-alt2 sisyphus+220072.200.2.2 1548744475 installed <13>Feb 5 13:07:10 rpmi: zlib-devel-1.2.11-alt1 sisyphus.217171.100 1543710737 installed <13>Feb 5 13:07:10 rpmi: libglvnd-7:1.1.0-alt3 sisyphus.215982.100 1541498632 installed <13>Feb 5 13:07:10 rpmi: libICE-1.0.9-alt1 1409902721 installed <13>Feb 5 13:07:10 rpmi: libSM-1.2.3-alt1 sisyphus.215747.100 1540812795 installed <13>Feb 5 13:07:10 rpmi: libpng-devel-1.6.36-alt1 sisyphus+219478.100.1.1 1547633314 installed <13>Feb 5 13:07:11 rpmi: libflac8-1.3.2-alt1 1507623955 installed <13>Feb 5 13:07:11 rpmi: libphysfs-3.0.1-alt1 sisyphus.216227.100 1544628870 installed <13>Feb 5 13:07:11 rpmi: libogg-devel-1.3.3-alt1 sisyphus.217914.100 1545006091 installed <13>Feb 5 13:07:11 rpmi: libpng15-1.5.28-alt2 1497966749 installed <13>Feb 5 13:07:11 rpmi: libquadmath0-8.2.1-alt3 sisyphus.219333.200 1547468342 installed <13>Feb 5 13:07:12 rpmi: libicu63-1:6.3.1-alt1 sisyphus.215328.100 1540049988 installed <13>Feb 5 13:07:12 rpmi: libalsa-1:1.1.8-alt1 sisyphus+219888.100.4.1 1548752826 installed <13>Feb 5 13:07:12 rpmi: libopenjpeg2.0-2.3.0-alt2 sisyphus.216213.100 1541598437 installed <13>Feb 5 13:07:12 rpmi: libwebp7-1.0.2-alt1 sisyphus+219651.100.1.2 1548057725 installed <13>Feb 5 13:07:12 rpmi: libwayland-server-1.16.0-alt1 1535614871 installed <13>Feb 5 13:07:12 rpmi: libgraphite2-1.3.13-alt1 sisyphus.218545.100 1545686511 installed <13>Feb 5 13:07:12 rpmi: libharfbuzz-2.2.0-alt1 sisyphus.218134.500 1545261518 installed <13>Feb 5 13:07:12 rpmi: libfreetype-2.9.1-alt1.S1 1530781053 installed <13>Feb 5 13:07:12 rpmi: fontconfig-2.13.1-alt1 sisyphus.215917.100 1540973886 installed Updating fonts cache: <29>Feb 5 13:07:13 fontconfig: Updating fonts cache: succeeded [ DONE ] <13>Feb 5 13:07:13 rpmi: ilmbase12-common-2.2.0-alt1.1 1434452921 installed <13>Feb 5 13:07:13 rpmi: libiex12-2.2.0-alt1.1 1434452921 installed <13>Feb 5 13:07:13 rpmi: libXau-1.0.8-alt1 1369565808 installed <13>Feb 5 13:07:13 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Feb 5 13:07:13 rpmi: libXau-devel-1.0.8-alt1 1369565808 installed <13>Feb 5 13:07:13 rpmi: libilmthread12-2.2.0-alt1.1 1434452921 installed <13>Feb 5 13:07:13 rpmi: libhalf12-2.2.0-alt1.1 1434452921 installed <13>Feb 5 13:07:13 rpmi: libharfbuzz-icu-2.2.0-alt1 sisyphus.218134.500 1545261518 installed <13>Feb 5 13:07:13 rpmi: libgraphite2-devel-1.3.13-alt1 sisyphus.218545.100 1545686511 installed <13>Feb 5 13:07:13 rpmi: icu-utils-1:6.3.1-alt1 sisyphus.215328.100 1540049988 installed <13>Feb 5 13:07:13 rpmi: libicu-devel-1:6.3.1-alt1 sisyphus.215328.100 1540049988 installed <13>Feb 5 13:07:13 rpmi: libquadmath8-devel-8.2.1-alt3 sisyphus.219333.200 1547468342 installed <13>Feb 5 13:07:13 rpmi: libgfortran5-8.2.1-alt3 sisyphus.219333.200 1547468342 installed <13>Feb 5 13:07:13 rpmi: libvorbis-devel-1.3.6-alt2 sisyphus+220072.200.2.2 1548744475 installed <13>Feb 5 13:07:13 rpmi: libphysfs-devel-3.0.1-alt1 sisyphus.216227.100 1544628870 installed <13>Feb 5 13:07:13 rpmi: libICE-devel-1.0.9-alt1 1409902721 installed <13>Feb 5 13:07:13 rpmi: libOpenGL-7:1.1.0-alt3 sisyphus.215982.100 1541498632 installed <13>Feb 5 13:07:13 rpmi: libGLES-7:1.1.0-alt3 sisyphus.215982.100 1541498632 installed <13>Feb 5 13:07:13 rpmi: libjasper-2.0.14-alt1 1530105217 installed <13>Feb 5 13:07:13 rpmi: libnatspec-0.3.1-alt2 1445691580 installed <13>Feb 5 13:07:13 rpmi: libreadline-devel-7.0.3-alt3 sisyphus.218635.100 1545844981 installed <13>Feb 5 13:07:13 rpmi: liblua5.1-preinstall-5.1.5-alt15 sisyphus.218136.100 1545241259 installed <13>Feb 5 13:07:13 rpmi: liblua5.1-5.1.5-alt15 sisyphus.218136.100 1545241259 installed <13>Feb 5 13:07:13 rpmi: liblua5.1-compat-devel-5.1.5-alt15 sisyphus.218136.100 1545241259 installed <13>Feb 5 13:07:13 rpmi: liblua5.1-devel-5.1.5-alt15 sisyphus.218136.100 1545241259 installed <13>Feb 5 13:07:13 rpmi: libspeex-1.2-alt1 1528115225 installed <13>Feb 5 13:07:13 rpmi: libmodplug-0.8.8.5-alt1 1410380710 installed <13>Feb 5 13:07:13 rpmi: libmad-0.15.1b-alt9 sisyphus.218643.100 1545854955 installed <13>Feb 5 13:07:14 rpmi: timidity-instruments-1:1.0-alt1 1166705614 installed <13>Feb 5 13:07:14 rpmi: libgsm-1.0.17-alt1 1523356165 installed <13>Feb 5 13:07:14 rpmi: libsndfile-1.0.28-alt2 sisyphus.212728.100 1536333068 installed <13>Feb 5 13:07:14 rpmi: libasyncns-0.8-alt2.qa1 1365949820 installed <13>Feb 5 13:07:14 rpmi: gcc-fortran-common-1.4.23-alt1 sisyphus.218115.200 1545282875 installed <13>Feb 5 13:07:14 rpmi: libgfortran8-devel-8.2.1-alt3 sisyphus.219333.200 1547468342 installed <13>Feb 5 13:07:14 rpmi: gcc8-fortran-8.2.1-alt3 sisyphus.219333.200 1547468342 installed <13>Feb 5 13:07:14 rpmi: gcc-c++-common-1.4.23-alt1 sisyphus.218115.200 1545282875 installed <13>Feb 5 13:07:15 rpmi: libstdc++8-devel-8.2.1-alt3 sisyphus.219333.200 1547468342 installed <13>Feb 5 13:07:16 rpmi: gcc8-c++-8.2.1-alt3 sisyphus.219333.200 1547468342 installed <13>Feb 5 13:07:16 rpmi: libstdc++-devel-8-alt1 sisyphus.214000.40 1542664792 installed <13>Feb 5 13:07:16 rpmi: xml-utils-1:2.9.4.0.12.e905-alt1.1 1525115767 installed <13>Feb 5 13:07:16 rpmi: rpm-build-gir-0.7.2-alt4 1534675014 installed <13>Feb 5 13:07:16 rpmi: libjack-1:1.9.12-alt2 sisyphus.215965.100 1541010132 installed <13>Feb 5 13:07:16 rpmi: libwmflite-0.2.8.4-alt13 1506519339 installed <13>Feb 5 13:07:16 rpmi: libltdl7-2.4.2-alt7 sisyphus.216946.100 1543650637 installed <13>Feb 5 13:07:16 rpmi: liblqr-0.4.2-alt1 1383038438 installed <13>Feb 5 13:07:16 rpmi: liblcms2-2.9-alt1 1516411892 installed <13>Feb 5 13:07:16 rpmi: libjbig-2.1-alt1 1401380926 installed <13>Feb 5 13:07:16 rpmi: libgomp1-8.2.1-alt3 sisyphus.219333.200 1547468342 installed <13>Feb 5 13:07:16 rpmi: djvu-common-3.5.25.3-alt1 1365826139 installed <13>Feb 5 13:07:16 rpmi: libdjvu-3.5.25.3-alt1 1365826139 installed <13>Feb 5 13:07:16 rpmi: libgts-0.7.6-alt2.drc20130205 1360123649 installed <13>Feb 5 13:07:16 rpmi: libpaper-1.1.24-alt4 1315383465 installed <13>Feb 5 13:07:16 rpmi: libgtk+2-locales-2.24.32-alt2 1518699309 installed <13>Feb 5 13:07:16 rpmi: icon-theme-hicolor-0.17-alt1 1505715846 installed <13>Feb 5 13:07:16 rpmi: libgdk-pixbuf-locales-2.38.0-alt4 sisyphus.219229.400 1547220196 installed <13>Feb 5 13:07:16 rpmi: libatk-locales-2.30.0-alt1 sisyphus.212779.100 1536768328 installed <13>Feb 5 13:07:16 rpmi: libatk-2.30.0-alt1 sisyphus.212779.100 1536768334 installed <13>Feb 5 13:07:16 rpmi: libdatrie-0.2.9-alt1_6 1511686676 installed <13>Feb 5 13:07:16 rpmi: libthai-0.1.28-alt1_1 sisyphus.214516.100 1539257851 installed <13>Feb 5 13:07:16 rpmi: libfribidi-1.0.5-alt1 1532424345 installed <13>Feb 5 13:07:16 rpmi: libpixman-3:0.36.0-alt1 sisyphus+219464.100.1.1 1547627399 installed <13>Feb 5 13:07:16 rpmi: libxshmfence-1.2-alt2 1518613552 installed <13>Feb 5 13:07:16 rpmi: libwayland-client-1.16.0-alt1 1535614871 installed <13>Feb 5 13:07:16 rpmi: libpciaccess-1:0.14-alt1 1528969252 installed <13>Feb 5 13:07:16 rpmi: libdrm-1:2.4.97-alt1 sisyphus+220483.100.1.1 1549270242 installed <13>Feb 5 13:07:16 rpmi: libgbm-4:18.3.3-alt1 sisyphus+220483.200.1.1 1549271174 installed <13>Feb 5 13:07:16 rpmi: openexr22-common-2.2.0-alt1.1 1434453376 installed <13>Feb 5 13:07:16 rpmi: libilmimf22-2.2.0-alt1.1 1434453376 installed <13>Feb 5 13:07:16 rpmi: libX11-locales-3:1.6.7-alt1 sisyphus.214413.200 1539171080 installed <13>Feb 5 13:07:16 rpmi: libXdmcp-1.1.1-alt1 1334617701 installed <13>Feb 5 13:07:16 rpmi: libxcb-1.13.1-alt1 sisyphus.214413.100 1539170896 installed <13>Feb 5 13:07:17 rpmi: libX11-3:1.6.7-alt1 sisyphus.214413.200 1539171143 installed <13>Feb 5 13:07:17 rpmi: libXext-1.3.3-alt1 1409902959 installed <13>Feb 5 13:07:17 rpmi: libXrender-0.9.8-alt1 1371312112 installed <13>Feb 5 13:07:17 rpmi: libXfixes-5.0.3-alt1 sisyphus.216396.300 1542022162 installed <13>Feb 5 13:07:17 rpmi: libXcursor-1.1.15-alt1.S1 1512373366 installed <13>Feb 5 13:07:17 rpmi: libXft-2.3.2-alt1 1409902660 installed <13>Feb 5 13:07:17 rpmi: libXrandr-1.5.0-alt1 1431936189 installed <13>Feb 5 13:07:17 rpmi: libXxf86vm-1.1.4-alt2 1527672187 installed <13>Feb 5 13:07:17 rpmi: libXdamage-1.1.3-alt4 1297162593 installed <13>Feb 5 13:07:17 rpmi: libGLX-mesa-4:18.3.3-alt1 sisyphus+220483.200.1.1 1549271174 installed <13>Feb 5 13:07:17 rpmi: libEGL-mesa-4:18.3.3-alt1 sisyphus+220483.200.1.1 1549271174 installed <13>Feb 5 13:07:17 rpmi: libEGL-7:1.1.0-alt3 sisyphus.215982.100 1541498632 installed <13>Feb 5 13:07:18 rpmi: libxcb-devel-1.13.1-alt1 sisyphus.214413.100 1539170896 installed <13>Feb 5 13:07:18 rpmi: libX11-devel-3:1.6.7-alt1 sisyphus.214413.200 1539171143 installed <13>Feb 5 13:07:18 rpmi: libXrender-devel-0.9.8-alt1 1371312112 installed <13>Feb 5 13:07:18 rpmi: libXext-devel-1.3.3-alt1 1409902959 installed <13>Feb 5 13:07:18 rpmi: libGLX-7:1.1.0-alt3 sisyphus.215982.100 1541498632 installed <13>Feb 5 13:07:18 rpmi: libGL-7:1.1.0-alt3 sisyphus.215982.100 1541498632 installed <13>Feb 5 13:07:18 rpmi: libcairo-1:1.16.0-alt1 sisyphus.215566.100 1540457683 installed <13>Feb 5 13:07:18 rpmi: libpango-1.42.4-alt1 1534787259 installed <13>Feb 5 13:07:18 rpmi: libGLU-4:9.0.0-alt1 1347643784 installed <13>Feb 5 13:07:18 rpmi: libglvnd-devel-7:1.1.0-alt3 sisyphus.215982.100 1541498632 installed <13>Feb 5 13:07:18 rpmi: libEGL-devel-4:18.3.3-alt1 sisyphus+220483.200.1.1 1549271174 installed <13>Feb 5 13:07:18 rpmi: libGL-devel-4:18.3.3-alt1 sisyphus+220483.200.1.1 1549271174 installed <13>Feb 5 13:07:18 rpmi: libGLU-devel-4:9.0.0-alt1 1347643784 installed <13>Feb 5 13:07:18 rpmi: liblasi-1.1.2-alt1.qa1 1460141148 installed <13>Feb 5 13:07:18 rpmi: libXi-1.7.9-alt1.S1 1515755342 installed <13>Feb 5 13:07:18 rpmi: libXinerama-1.1.3-alt2 1527671619 installed <13>Feb 5 13:07:18 rpmi: libXxf86dga-1.1.4-alt3 1527755328 installed <13>Feb 5 13:07:18 rpmi: libXt-1.1.4-alt1 1369984722 installed <13>Feb 5 13:07:18 rpmi: libXpm-3.5.11-alt1 1391072398 installed <13>Feb 5 13:07:18 rpmi: liballegro4.4-4.4.2-alt6 sisyphus.216911.100 1543237317 installed <13>Feb 5 13:07:19 rpmi: dumb-0.9.3-alt5 1523614896 installed <13>Feb 5 13:07:19 rpmi: libgd3-2.2.5-alt2.S1 1525496226 installed <13>Feb 5 13:07:19 rpmi: libXcomposite-0.4.3-alt3 1297306936 installed <13>Feb 5 13:07:19 rpmi: shared-mime-info-1.12-alt1 sisyphus+219597.100.2.2 1548057005 installed <13>Feb 5 13:07:19 rpmi: gsettings-desktop-schemas-data-3.28.1-alt1 sisyphus.212587.100 1536082062 installed <13>Feb 5 13:07:19 rpmi: libgio-2.58.3-alt1 sisyphus+219722.100.1.1 1548088777 installed <13>Feb 5 13:07:19 rpmi: gsettings-desktop-schemas-3.28.1-alt1 sisyphus.212587.100 1536082066 installed <13>Feb 5 13:07:19 rpmi: libgdk-pixbuf-2.38.0-alt4 sisyphus.219229.400 1547220208 installed <13>Feb 5 13:07:19 rpmi: gtk-update-icon-cache-3.24.5-alt1 sisyphus+220558.100.1.1 1549311199 installed <13>Feb 5 13:07:19 rpmi: librsvg-1:2.44.12-alt1 sisyphus+219722.400.2.2 1548107893 installed <13>Feb 5 13:07:19 rpmi: libgdk-pixbuf-xlib-2.38.0-alt4 sisyphus.219229.400 1547220208 installed <13>Feb 5 13:07:19 rpmi: liblz4-1:1.8.3-alt2 sisyphus.217095.200 1547082375 installed <13>Feb 5 13:07:19 rpmi: libgpg-error-1.31-alt1.S1 1529015802 installed <13>Feb 5 13:07:19 rpmi: libgcrypt20-1.8.3-alt4 sisyphus.218050.200 1545223289 installed <13>Feb 5 13:07:19 rpmi: libsystemd-1:240-alt4 sisyphus.219244.100 1547241502 installed <13>Feb 5 13:07:19 rpmi: libdbus-1.12.12-alt1 sisyphus.217336.100 1544000923 installed <13>Feb 5 13:07:19 rpmi: libpulseaudio-12.2-alt1 1535623585 installed <13>Feb 5 13:07:19 rpmi: libSDL-1.2.14-alt7 1483707272 installed <13>Feb 5 13:07:19 rpmi: libSDL-devel-1.2.14-alt7 1483707272 installed <13>Feb 5 13:07:19 rpmi: libmikmod-3.3.11.1-alt2 1502706814 installed <13>Feb 5 13:07:19 rpmi: libSDL_sound-1.0.3-alt4 sisyphus.217762.100 1544697865 installed <13>Feb 5 13:07:19 rpmi: libSDL_image-1.2.12-alt1 1347907935 installed <13>Feb 5 13:07:19 rpmi: libdbus-glib-1:0.106-alt1 1454672854 installed <13>Feb 5 13:07:19 rpmi: dbus-tools-1.12.12-alt1 sisyphus.217336.100 1544000923 installed <86>Feb 5 13:07:19 groupadd[103726]: group added to /etc/group: name=messagebus, GID=499 <86>Feb 5 13:07:19 groupadd[103726]: group added to /etc/gshadow: name=messagebus <86>Feb 5 13:07:19 groupadd[103726]: new group: name=messagebus, GID=499 <86>Feb 5 13:07:19 useradd[103732]: new user: name=messagebus, UID=499, GID=499, home=/run/dbus, shell=/dev/null <13>Feb 5 13:07:19 rpmi: dbus-1.12.12-alt1 sisyphus.217336.100 1544000923 installed <13>Feb 5 13:07:19 rpmi: dbus-tools-gui-1.12.12-alt1 sisyphus.217336.100 1544000923 installed <13>Feb 5 13:07:19 rpmi: libguichan-0.8.2-alt3.1 1433991699 installed <13>Feb 5 13:07:19 rpmi: libSDL_sound-devel-1.0.3-alt4 sisyphus.217762.100 1544697865 installed <13>Feb 5 13:07:19 rpmi: radius-engine-1.1-alt1_8 1486596589 installed <13>Feb 5 13:07:19 rpmi: libSDL_mixer-1.2.12-alt1 1421435874 installed <13>Feb 5 13:07:19 rpmi: libSDL_gfx-2.0.25-alt1 1417989825 installed <13>Feb 5 13:07:19 rpmi: libSDL_net-1.2.8-alt1 1333963614 installed <13>Feb 5 13:07:19 rpmi: libSDL_ttf-2.0.10-alt2 1314052177 installed <13>Feb 5 13:07:20 rpmi: libavahi-0.6.32-alt1 1500485702 installed <13>Feb 5 13:07:20 rpmi: libpolkit-0.115-alt5 sisyphus.219065.100 1547027030 installed <13>Feb 5 13:07:20 rpmi: libxslt-1.1.32-alt2 1517429984 installed <13>Feb 5 13:07:20 rpmi: xsltproc-1.1.32-alt2 1517429984 installed <13>Feb 5 13:07:20 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus.215627.200 1540831974 installed <13>Feb 5 13:07:20 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus.215627.200 1540831974 installed <13>Feb 5 13:07:20 rpmi: python-modules-curses-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Feb 5 13:07:20 rpmi: libverto-0.3.0-alt1_5 1525957714 installed <13>Feb 5 13:07:20 rpmi: libkeyutils-1.6-alt2 sisyphus.217337.100 1544003161 installed <13>Feb 5 13:07:20 rpmi: libcom_err-1.44.5-alt1 sisyphus.218838.100 1546206118 installed <13>Feb 5 13:07:20 rpmi: libtasn1-4.13-alt2 1521133850 installed <13>Feb 5 13:07:20 rpmi: rpm-macros-alternatives-0.5.0-alt1 sisyphus.219012.300 1546745004 installed <13>Feb 5 13:07:20 rpmi: alternatives-0.5.0-alt1 sisyphus.219012.300 1546745004 installed <13>Feb 5 13:07:20 rpmi: libp11-kit-0.23.9-alt5 1525798298 installed <13>Feb 5 13:07:20 rpmi: ca-certificates-2019.02.01-alt1 sisyphus+220384.200.1.1 1549032756 installed <13>Feb 5 13:07:20 rpmi: ca-trust-0.1.1-alt2 1515595785 installed <13>Feb 5 13:07:20 rpmi: p11-kit-trust-0.23.9-alt5 1525798298 installed <13>Feb 5 13:07:20 rpmi: libcrypto1.1-1.1.0j-alt1 sisyphus.216647.100 1542743878 installed <13>Feb 5 13:07:20 rpmi: libssl1.1-1.1.0j-alt1 sisyphus.216647.100 1542743878 installed <86>Feb 5 13:07:20 groupadd[103992]: group added to /etc/group: name=_keytab, GID=498 <86>Feb 5 13:07:20 groupadd[103992]: group added to /etc/gshadow: name=_keytab <86>Feb 5 13:07:20 groupadd[103992]: new group: name=_keytab, GID=498 <13>Feb 5 13:07:20 rpmi: libkrb5-1.16.3-alt1 sisyphus.219042.100 1547045815 installed <13>Feb 5 13:07:20 rpmi: libpython3-3.6.8-alt1 sisyphus+220164.200.3.1 1548842636 installed <13>Feb 5 13:07:20 rpmi: python3-3.6.8-alt1 sisyphus+220164.200.3.1 1548842636 installed <13>Feb 5 13:07:21 rpmi: python3-base-3.6.8-alt1 sisyphus+220164.200.3.1 1548842636 installed <13>Feb 5 13:07:21 rpmi: glib2-devel-2.58.3-alt1 sisyphus+219722.100.1.1 1548088777 installed <13>Feb 5 13:07:21 rpmi: libgio-devel-2.58.3-alt1 sisyphus+219722.100.1.1 1548088777 installed <13>Feb 5 13:07:21 rpmi: libcups-2.2.6-alt1 1510070343 installed <13>Feb 5 13:07:21 rpmi: libgtk+2-2.24.32-alt2 1518699309 installed <13>Feb 5 13:07:21 rpmi: libgs-9.26-alt2 sisyphus+220106.100.1.2 1548769341 installed <13>Feb 5 13:07:22 rpmi: libgraphviz-2.40.1-alt4.1 sisyphus+219907.5300.2.1 1548535886 installed <13>Feb 5 13:07:22 rpmi: libImageMagick6.6-6.9.10.24-alt1.1 sisyphus+219907.5400.2.1 1548536802 installed <13>Feb 5 13:07:22 rpmi: ImageMagick-tools-6.9.10.24-alt1.1 sisyphus+219907.5400.2.1 1548536802 installed <13>Feb 5 13:07:22 rpmi: liballegro-devel-4.4.2-alt6 sisyphus.216911.100 1543237317 installed <13>Feb 5 13:07:22 rpmi: libgdk-pixbuf-devel-2.38.0-alt4 sisyphus.219229.400 1547220208 installed <13>Feb 5 13:07:22 rpmi: libharfbuzz-devel-2.2.0-alt1 sisyphus.218134.500 1545261518 installed <13>Feb 5 13:07:22 rpmi: libfreetype-devel-2.9.1-alt1.S1 1530781053 installed <13>Feb 5 13:07:22 rpmi: fontconfig-devel-2.13.1-alt1 sisyphus.215917.100 1540973886 installed <13>Feb 5 13:07:22 rpmi: libcairo-devel-1:1.16.0-alt1 sisyphus.215566.100 1540457683 installed <13>Feb 5 13:07:22 rpmi: libXft-devel-2.3.2-alt1 1409902660 installed <13>Feb 5 13:07:22 rpmi: libpango-devel-1.42.4-alt1 1534787259 installed <13>Feb 5 13:07:22 rpmi: libatk-devel-2.30.0-alt1 sisyphus.212779.100 1536768334 installed <13>Feb 5 13:07:22 rpmi: libpulseaudio-devel-12.2-alt1 1535623585 installed <13>Feb 5 13:07:22 rpmi: libtirpc-1.0.3-alt1 1532008017 installed <13>Feb 5 13:07:22 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed <13>Feb 5 13:07:22 rpmi: python-modules-compiler-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Feb 5 13:07:22 rpmi: python-modules-email-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Feb 5 13:07:22 rpmi: python-modules-unittest-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Feb 5 13:07:22 rpmi: python-modules-nis-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Feb 5 13:07:22 rpmi: python-modules-encodings-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Feb 5 13:07:23 rpmi: python-modules-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Feb 5 13:07:23 rpmi: python-modules-xml-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Feb 5 13:07:23 rpmi: gtk-builder-convert-2.24.32-alt2 1518699309 installed <13>Feb 5 13:07:23 rpmi: python-modules-hotshot-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Feb 5 13:07:23 rpmi: python-modules-bsddb-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Feb 5 13:07:23 rpmi: python-modules-ctypes-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Feb 5 13:07:23 rpmi: python-modules-multiprocessing-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Feb 5 13:07:23 rpmi: python-modules-logging-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Feb 5 13:07:23 rpmi: python-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Feb 5 13:07:23 rpmi: python-modules-distutils-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Feb 5 13:07:23 rpmi: libnsl2-devel-1.1.0-alt1_1 1511548749 installed <86>Feb 5 13:07:23 groupadd[107862]: group added to /etc/group: name=sasl, GID=497 <86>Feb 5 13:07:23 groupadd[107862]: group added to /etc/gshadow: name=sasl <86>Feb 5 13:07:23 groupadd[107862]: new group: name=sasl, GID=497 <13>Feb 5 13:07:23 rpmi: libsasl2-3-2.1.27-alt1 sisyphus.218476.200 1545647755 installed <13>Feb 5 13:07:23 rpmi: libldap-2.4.46-alt1.1 sisyphus+219907.4400.1.1 1548349979 installed <13>Feb 5 13:07:23 rpmi: libGConf-3.2.6-alt3 1455932638 installed <13>Feb 5 13:07:23 rpmi: GConf-3.2.6-alt3 1455932638 installed <13>Feb 5 13:07:23 rpmi: python-dev-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Feb 5 13:07:23 rpmi: libgtk+2-devel-2.24.32-alt2 1518699309 installed <13>Feb 5 13:07:23 rpmi: libmikmod-devel-3.3.11.1-alt2 1502706814 installed <13>Feb 5 13:07:23 rpmi: dumb-devel-0.9.3-alt5 1523614896 installed <13>Feb 5 13:07:23 rpmi: libguichan-devel-0.8.2-alt3.1 1433991699 installed <13>Feb 5 13:07:23 rpmi: libSDL_ttf-devel-2.0.10-alt2 1314052177 installed <13>Feb 5 13:07:23 rpmi: libSDL_net-devel-1.2.8-alt1 1333963614 installed <13>Feb 5 13:07:23 rpmi: libSDL_gfx-devel-2.0.25-alt1 1417989825 installed <13>Feb 5 13:07:23 rpmi: libSDL_mixer-devel-1.2.12-alt1 1421435874 installed <13>Feb 5 13:07:23 rpmi: radius-engine-devel-1.1-alt1_8 1486596589 installed <13>Feb 5 13:07:23 rpmi: libSDL_image-devel-1.2.12-alt1 1347907935 installed <13>Feb 5 13:07:23 rpmi: gcc-c++-8-alt1 sisyphus.214000.40 1542664775 installed <13>Feb 5 13:07:23 rpmi: gcc-fortran-8-alt1 sisyphus.214000.40 1542664775 installed <13>Feb 5 13:07:23 rpmi: unzip-6.0-alt2.qa1 1366155324 installed <13>Feb 5 13:07:23 rpmi: libSM-devel-1.2.3-alt1 sisyphus.215747.100 1540812795 installed <13>Feb 5 13:07:23 rpmi: desktop-file-utils-0.23-alt1 sisyphus.214313.100 1539037620 installed <13>Feb 5 13:07:23 rpmi: libxml2-devel-1:2.9.4.0.12.e905-alt1.1 1525115767 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/maxr-0.2.6-alt2_3.nosrc.rpm 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.73874 + 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.12917 + 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 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -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 + xargs -ri dirname -- '{}' + readlink -e -- ./configure + 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 --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 --without-included-gettext configure: WARNING: unrecognized options: --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: --without-included-gettext + make -j8 make all-recursive Making all in . make[2]: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6' /bin/sh ./buildinfo.sh /usr/share/maxr Creating autoversion.h Couldn't read svn info from src/.svn make[2]: Leaving directory '/usr/src/RPM/BUILD/maxr-0.2.6' Making all in src make[2]: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' 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 -march=i586 -mtune=generic -c -o automjobs.o automjobs.cpp automjobs.cpp: In member function 'float cAutoMJob::CalcFactor(int, int)': automjobs.cpp:221:10: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if ( i == iNumber ) continue; ~~^~~~~~~~~~ automjobs.cpp: In member function 'void cAutoMJob::PlanLongMove()': automjobs.cpp:265:11: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (i == iNumber || autoMJobs[i]->vehicle->owner != vehicle->owner) continue; ~~^~~~~~~~~~ automjobs.cpp:286:46: warning: 'bestY' may be used uninitialized in this function [-Wmaybe-uninitialized] Client->addMoveJob( vehicle, bestX + bestY * Client->Map->size); ~~~~~~^~~~~~~~~~~~~~~~~~~ automjobs.cpp:286:21: warning: 'bestX' may be used uninitialized in this function [-Wmaybe-uninitialized] Client->addMoveJob( vehicle, bestX + bestY * Client->Map->size); ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ automjobs.cpp: In member function 'void cAutoMJob::PlanNextMove()': automjobs.cpp:150:46: warning: 'bestY' may be used uninitialized in this function [-Wmaybe-uninitialized] Client->addMoveJob( vehicle, bestX + bestY * Client->Map->size ); ~~~~~~^~~~~~~~~~~~~~~~~~~ automjobs.cpp:150:21: warning: 'bestX' may be used uninitialized in this function [-Wmaybe-uninitialized] Client->addMoveJob( vehicle, bestX + bestY * Client->Map->size ); ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -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:6: warning: 'sSubBase::GoldProd' will be initialized after [-Wreorder] int GoldProd; ^~~~~~~~ base.h:59:6: warning: 'int sSubBase::HumanProd' [-Wreorder] int HumanProd; ^~~~~~~~~ base.cpp:25:1: warning: when initialized here [-Wreorder] sSubBase::sSubBase( int iNextID, cPlayer* owner_ ) : ^~~~~~~~ In file included from base.cpp:19: base.h:61:6: warning: 'sSubBase::MaxHumanNeed' will be initialized after [-Wreorder] int MaxHumanNeed; ^~~~~~~~~~~~ base.h:39:6: warning: 'int sSubBase::iID' [-Wreorder] int iID; ^~~ base.cpp:25:1: warning: when initialized here [-Wreorder] sSubBase::sSubBase( int iNextID, cPlayer* owner_ ) : ^~~~~~~~ In file included from base.cpp:19: base.h:39:6: warning: 'sSubBase::iID' will be initialized after [-Wreorder] int iID; ^~~ base.h:37:11: warning: 'cPlayer* sSubBase::owner' [-Wreorder] cPlayer* owner; ^~~~~ base.cpp:25:1: warning: when initialized here [-Wreorder] sSubBase::sSubBase( int iNextID, cPlayer* owner_ ) : ^~~~~~~~ In file included from base.cpp:19: base.h: In copy constructor 'sSubBase::sSubBase(const sSubBase&)': base.h:154:6: warning: 'sSubBase::GoldProd' will be initialized after [-Wreorder] int GoldProd; ^~~~~~~~ base.h:59:6: warning: 'int sSubBase::HumanProd' [-Wreorder] int HumanProd; ^~~~~~~~~ base.cpp:53:1: warning: when initialized here [-Wreorder] sSubBase::sSubBase( const sSubBase& sb ) : ^~~~~~~~ In file included from base.cpp:19: base.h:61:6: warning: 'sSubBase::MaxHumanNeed' will be initialized after [-Wreorder] int MaxHumanNeed; ^~~~~~~~~~~~ base.h:39:6: warning: 'int sSubBase::iID' [-Wreorder] int iID; ^~~ base.cpp:53:1: warning: when initialized here [-Wreorder] sSubBase::sSubBase( const sSubBase& sb ) : ^~~~~~~~ base.cpp: In member function 'void sSubBase::addRessouce(sUnitData::eStorageResType, int)': base.cpp:430:9: warning: enumeration value 'STORE_RES_NONE' not handled in switch [-Wswitch] switch ( storeResType ) ^ base.cpp: In member function 'void sSubBase::addBuilding(cBuilding*)': base.cpp:1098:9: warning: enumeration value 'STORE_RES_NONE' not handled in switch [-Wswitch] 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 -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 -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 -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 -march=i586 -mtune=generic -c -o extendedtinyxml.o extendedtinyxml.cpp extendedtinyxml.cpp: In member function 'ExTiXmlNode* ExTiXmlNode::XmlGetFirstNodeChild()': extendedtinyxml.cpp:88:2: warning: nonnull argument 'this' compared to NULL [-Wnonnull-compare] if( this == NULL ) ^~ extendedtinyxml.cpp: In member function 'ExTiXmlNode* ExTiXmlNode::XmlGetNextNodeSibling()': extendedtinyxml.cpp:102:2: warning: nonnull argument 'this' compared to NULL [-Wnonnull-compare] if( this == NULL ) ^~ extendedtinyxml.cpp: In member function 'ExTiXmlNode* ExTiXmlNode::XmlReadNodeData(std::__cxx11::string&, ExTiXmlNode::XML_NODE_TYPE)': extendedtinyxml.cpp:120:2: warning: nonnull argument 'this' compared to NULL [-Wnonnull-compare] if( this == NULL ) ^~ extendedtinyxml.cpp: In member function 'ExTiXmlNode* ExTiXmlNode::XmlReadNodeData(std::__cxx11::string&, ExTiXmlNode::XML_NODE_TYPE, const char*)': extendedtinyxml.cpp:191:2: warning: nonnull argument 'this' compared to NULL [-Wnonnull-compare] 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 -march=i586 -mtune=generic -c -o drawingcache.o drawingcache.cpp drawingcache.cpp: In member function 'SDL_Surface* cDrawingCache::getCachedImage(cVehicle*)': drawingcache.cpp:205:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 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 -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:18: warning: 'sClientLandData::iLastLandY' will be initialized after [-Wreorder] int iLastLandX, iLastLandY; ^~~~~~~~~~ menus.h:54:16: warning: 'eLandingState sClientLandData::landingState' [-Wreorder] eLandingState landingState; ^~~~~~~~~~~~ menus.h:58:2: warning: when initialized here [-Wreorder] sClientLandData() : iLandX(0), iLandY(0), iLastLandX(0), iLastLandY(0), landingState ( LANDING_STATE_UNKNOWN ), receivedOK(true) {} ^~~~~~~~~~~~~~~ In file included from menuevents.h:23, from events.cpp:22: menus.h: In constructor 'cGameDataContainer::cGameDataContainer()': menus.h:154:8: warning: 'cGameDataContainer::map' will be initialized after [-Wreorder] cMap *map; ^~~ menus.h:144:13: warning: 'eGameTypes cGameDataContainer::type' [-Wreorder] eGameTypes type; ^~~~ menus.h:164:2: warning: when initialized here [-Wreorder] 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 -march=i586 -mtune=generic -c -o files.o files.cpp files.cpp: In function 'cList >* getFilesOfDirectory(std::__cxx11::string)': files.cpp:115:11: warning: argument 1 null where non-null expected [-Wnonnull] closedir( hDir ); ~~~~~~~~^~~~~~~~ In file included from files.cpp:29: /usr/include/dirent.h:149:12: note: in a call to function 'int closedir(DIR*)' declared here extern int closedir (DIR *__dirp) __nonnull ((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 -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:18: warning: 'sClientLandData::iLastLandY' will be initialized after [-Wreorder] int iLastLandX, iLastLandY; ^~~~~~~~~~ menus.h:54:16: warning: 'eLandingState sClientLandData::landingState' [-Wreorder] eLandingState landingState; ^~~~~~~~~~~~ menus.h:58:2: warning: when initialized here [-Wreorder] sClientLandData() : iLandX(0), iLandY(0), iLastLandX(0), iLastLandY(0), landingState ( LANDING_STATE_UNKNOWN ), receivedOK(true) {} ^~~~~~~~~~~~~~~ In file included from dialog.h:22, from hud.cpp:24: menus.h: In constructor 'cGameDataContainer::cGameDataContainer()': menus.h:154:8: warning: 'cGameDataContainer::map' will be initialized after [-Wreorder] cMap *map; ^~~ menus.h:144:13: warning: 'eGameTypes cGameDataContainer::type' [-Wreorder] eGameTypes type; ^~~~ menus.h:164:2: warning: when initialized here [-Wreorder] cGameDataContainer() : settings(NULL), map(NULL), type(GAME_TYPE_SINGLE), savegameNum(-1) {} ^~~~~~~~~~~~~~~~~~ hud.cpp: In member function 'void cHud::ExtraPlayers(std::__cxx11::string, int, int, bool, bool)': hud.cpp:1482:63: warning: narrowing conversion of 'GraphicsData.cGraphicsData::gfx_hud_extra_players->SDL_Surface::w' from 'int' to 'Uint16' {aka 'short unsigned int'} inside { } [-Wnarrowing] SDL_Rect rSrc = { 0, 0, GraphicsData.gfx_hud_extra_players->w, GraphicsData.gfx_hud_extra_players->h}; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ hud.cpp:1482:102: warning: narrowing conversion of 'GraphicsData.cGraphicsData::gfx_hud_extra_players->SDL_Surface::h' from 'int' to 'Uint16' {aka 'short unsigned int'} inside { } [-Wnarrowing] SDL_Rect rSrc = { 0, 0, GraphicsData.gfx_hud_extra_players->w, GraphicsData.gfx_hud_extra_players->h}; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ hud.cpp:1499:38: warning: narrowing conversion of '((((int)rDest.SDL_Rect::x) + 23) - ((int)rSrc.SDL_Rect::x))' from 'int' to 'Sint16' {aka 'short int'} inside { } [-Wnarrowing] SDL_Rect rDotDest = { rDest.x + 23 - rSrc.x, rDest.y + 6, rDot.w, rDot.h }; ~~~~~~~~~~~~~^~~~~~~~ hud.cpp:1499:56: warning: narrowing conversion of '(((int)rDest.SDL_Rect::y) + 6)' from 'int' to 'Sint16' {aka 'short int'} inside { } [-Wnarrowing] SDL_Rect rDotDest = { rDest.x + 23 - rSrc.x, rDest.y + 6, rDot.w, rDot.h }; ~~~~~~~~^~~ hud.cpp:1502:40: warning: narrowing conversion of '((((int)rDest.SDL_Rect::x) + 40) - ((int)rSrc.SDL_Rect::x))' from 'int' to 'Sint16' {aka 'short int'} inside { } [-Wnarrowing] SDL_Rect rColorDest = { rDest.x + 40 - rSrc.x, rDest.y + 6, rColorSrc.w, rColorSrc.h }; ~~~~~~~~~~~~~^~~~~~~~ hud.cpp:1502:58: warning: narrowing conversion of '(((int)rDest.SDL_Rect::y) + 6)' from 'int' to 'Sint16' {aka 'short int'} inside { } [-Wnarrowing] 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 -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:18: warning: 'sClientLandData::iLastLandY' will be initialized after [-Wreorder] int iLastLandX, iLastLandY; ^~~~~~~~~~ menus.h:54:16: warning: 'eLandingState sClientLandData::landingState' [-Wreorder] eLandingState landingState; ^~~~~~~~~~~~ menus.h:58:2: warning: when initialized here [-Wreorder] sClientLandData() : iLandX(0), iLandY(0), iLastLandX(0), iLastLandY(0), landingState ( LANDING_STATE_UNKNOWN ), receivedOK(true) {} ^~~~~~~~~~~~~~~ In file included from input.cpp:21: menus.h: In constructor 'cGameDataContainer::cGameDataContainer()': menus.h:154:8: warning: 'cGameDataContainer::map' will be initialized after [-Wreorder] cMap *map; ^~~ menus.h:144:13: warning: 'eGameTypes cGameDataContainer::type' [-Wreorder] eGameTypes type; ^~~~ menus.h:164:2: warning: when initialized here [-Wreorder] cGameDataContainer() : settings(NULL), map(NULL), type(GAME_TYPE_SINGLE), savegameNum(-1) {} ^~~~~~~~~~~~~~~~~~ input.cpp: In member function 'void cInput::inputkey(SDL_KeyboardEvent&)': input.cpp:74:20: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ( stringpos < (int)inputStr.length() ) ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ input.cpp:99:20: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ( stringpos < (int)inputStr.length() ) ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ input.cpp: In member function 'std::__cxx11::string cInput::getInputStr(eCursorBehavior)': input.cpp:300:9: warning: enumeration value 'CURSOR_DISABLED' not handled in switch [-Wswitch] switch ( showcursor ) ^ input.cpp:300:9: 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 -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:18: warning: 'sClientLandData::iLastLandY' will be initialized after [-Wreorder] int iLastLandX, iLastLandY; ^~~~~~~~~~ menus.h:54:16: warning: 'eLandingState sClientLandData::landingState' [-Wreorder] eLandingState landingState; ^~~~~~~~~~~~ menus.h:58:2: warning: when initialized here [-Wreorder] sClientLandData() : iLandX(0), iLandY(0), iLastLandX(0), iLastLandY(0), landingState ( LANDING_STATE_UNKNOWN ), receivedOK(true) {} ^~~~~~~~~~~~~~~ In file included from buildings.cpp:31: menus.h: In constructor 'cGameDataContainer::cGameDataContainer()': menus.h:154:8: warning: 'cGameDataContainer::map' will be initialized after [-Wreorder] cMap *map; ^~~ menus.h:144:13: warning: 'eGameTypes cGameDataContainer::type' [-Wreorder] eGameTypes type; ^~~~ menus.h:164:2: warning: when initialized here [-Wreorder] cGameDataContainer() : settings(NULL), map(NULL), type(GAME_TYPE_SINGLE), savegameNum(-1) {} ^~~~~~~~~~~~~~~~~~ buildings.cpp: In member function 'void cBuilding::DrawExitPoints(sVehicle*)': buildings.cpp:1469:16: warning: variable 'size' set but not used [-Wunused-but-set-variable] int spx, spy, size; ^~~~ buildings.cpp: In member function 'bool cBuilding::canLoad(cVehicle*, bool)': buildings.cpp:1549:9: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] if ( i == data.storeUnitsTypes.size() ) return false; ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buildings.cpp: In member function 'void cBuilding::ShowDetails(bool, int, int, SDL_Surface*, bool)': buildings.cpp:2689:31: warning: narrowing conversion of '(((int)dest.SDL_Rect::x) + 2)' from 'int' to 'Sint16' {aka 'short int'} inside { } [-Wnarrowing] SDL_Rect lineRect = { dest.x+2, dest.y+14, 153, 1 }; ~~~~~~^~ buildings.cpp:2689:41: warning: narrowing conversion of '(((int)dest.SDL_Rect::y) + 14)' from 'int' to 'Sint16' {aka 'short int'} inside { } [-Wnarrowing] SDL_Rect lineRect = { dest.x+2, dest.y+14, 153, 1 }; ~~~~~~^~~ buildings.cpp:2712:11: warning: enumeration value 'STORE_RES_NONE' not handled in switch [-Wswitch] switch ( data.storeResType ) ^ buildings.cpp:2735:11: warning: enumeration value 'STORE_UNIT_IMG_NONE' not handled in switch [-Wswitch] switch ( data.storeUnitsImageType ) ^ buildings.cpp: In member function 'void cBuilding::DrawAttackCursor(int)': buildings.cpp:1964:6: warning: 'wp' may be used uninitialized in this function [-Wmaybe-uninitialized] r.w = wp; ~~~~^~~~ buildings.cpp: In member function 'void cBuilding::RotateTo(int)': buildings.cpp:2010:2: warning: 'dest' may be used uninitialized in this function [-Wmaybe-uninitialized] if ( dest < 4 ) ^~ 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 -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 -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:18: warning: 'sClientLandData::iLastLandY' will be initialized after [-Wreorder] int iLastLandX, iLastLandY; ^~~~~~~~~~ menus.h:54:16: warning: 'eLandingState sClientLandData::landingState' [-Wreorder] eLandingState landingState; ^~~~~~~~~~~~ menus.h:58:2: warning: when initialized here [-Wreorder] sClientLandData() : iLandX(0), iLandY(0), iLastLandX(0), iLastLandY(0), landingState ( LANDING_STATE_UNKNOWN ), receivedOK(true) {} ^~~~~~~~~~~~~~~ In file included from dialog.h:22, from dialog.cpp:22: menus.h: In constructor 'cGameDataContainer::cGameDataContainer()': menus.h:154:8: warning: 'cGameDataContainer::map' will be initialized after [-Wreorder] cMap *map; ^~~ menus.h:144:13: warning: 'eGameTypes cGameDataContainer::type' [-Wreorder] eGameTypes type; ^~~~ menus.h:164:2: warning: when initialized here [-Wreorder] 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] 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] 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] delete noButton; ^~~~~~~~ dialog.cpp: In member function 'virtual void cDialogYesNow::handleKeyInput(SDL_KeyboardEvent&, std::__cxx11::string)': dialog.cpp:63:9: warning: enumeration value 'SDLK_UNKNOWN' not handled in switch [-Wswitch] switch ( key.keysym.sym ) ^ dialog.cpp:63:9: warning: enumeration value 'SDLK_FIRST' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_BACKSPACE' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_TAB' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_CLEAR' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_PAUSE' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_SPACE' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_EXCLAIM' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_QUOTEDBL' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_HASH' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_DOLLAR' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_AMPERSAND' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_QUOTE' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_LEFTPAREN' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_RIGHTPAREN' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_ASTERISK' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_PLUS' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_COMMA' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_MINUS' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_PERIOD' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_SLASH' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_0' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_1' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_2' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_3' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_4' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_5' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_6' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_7' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_8' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_9' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_COLON' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_SEMICOLON' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_LESS' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_EQUALS' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_GREATER' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_QUESTION' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_AT' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_LEFTBRACKET' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_BACKSLASH' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_RIGHTBRACKET' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_CARET' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_UNDERSCORE' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_BACKQUOTE' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_a' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_b' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_c' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_d' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_e' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_f' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_g' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_h' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_i' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_j' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_k' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_l' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_m' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_n' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_o' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_p' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_q' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_r' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_s' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_t' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_u' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_v' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_w' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_x' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_y' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_z' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_DELETE' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_0' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_1' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_2' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_3' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_4' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_5' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_6' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_7' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_8' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_9' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_10' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_11' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_12' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_13' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_14' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_15' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_16' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_17' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_18' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_19' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_20' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_21' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_22' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_23' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_24' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_25' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_26' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_27' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_28' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_29' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_30' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_31' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_32' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_33' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_34' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_35' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_36' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_37' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_38' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_39' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_40' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_41' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_42' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_43' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_44' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_45' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_46' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_47' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_48' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_49' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_50' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_51' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_52' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_53' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_54' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_55' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_56' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_57' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_58' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_59' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_60' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_61' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_62' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_63' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_64' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_65' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_66' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_67' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_68' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_69' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_70' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_71' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_72' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_73' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_74' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_75' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_76' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_77' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_78' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_79' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_80' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_81' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_82' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_83' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_84' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_85' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_86' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_87' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_88' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_89' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_90' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_91' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_92' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_93' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_94' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_WORLD_95' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_KP0' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_KP1' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_KP2' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_KP3' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_KP4' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_KP5' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_KP6' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_KP7' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_KP8' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_KP9' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_KP_PERIOD' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_KP_DIVIDE' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_KP_MULTIPLY' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_KP_MINUS' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_KP_PLUS' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_KP_ENTER' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_KP_EQUALS' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_UP' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_DOWN' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_RIGHT' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_LEFT' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_INSERT' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_HOME' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_END' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_PAGEUP' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_PAGEDOWN' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_F1' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_F2' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_F3' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_F4' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_F5' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_F6' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_F7' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_F8' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_F9' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_F10' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_F11' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_F12' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_F13' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_F14' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_F15' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_NUMLOCK' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_CAPSLOCK' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_SCROLLOCK' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_RSHIFT' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_LSHIFT' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_RCTRL' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_LCTRL' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_RALT' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_LALT' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_RMETA' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_LMETA' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_LSUPER' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_RSUPER' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_MODE' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_COMPOSE' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_HELP' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_PRINT' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_SYSREQ' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_BREAK' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_MENU' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_POWER' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_EURO' not handled in switch [-Wswitch] dialog.cpp:63:9: warning: enumeration value 'SDLK_UNDO' not handled in switch [-Wswitch] dialog.cpp:63:9: 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] delete cancelButton; ^~~~~~~~~~~~ In file included from dialog.cpp:22: dialog.h: In constructor 'cDialogTransfer::cDialogTransfer(cBuilding*, cVehicle*, cBuilding*, cVehicle*)': dialog.h:154:12: warning: 'cDialogTransfer::srcVehicle' will be initialized after [-Wreorder] cVehicle *srcVehicle, *destVehicle; ^~~~~~~~~~ dialog.h:153:27: warning: 'cBuilding* cDialogTransfer::destBuilding' [-Wreorder] cBuilding *srcBuilding, *destBuilding; ^~~~~~~~~~~~ dialog.cpp:571:1: warning: when initialized here [-Wreorder] 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] 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] 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] 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] 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] 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] delete transferLabel; ^~~~~~~~~~~~~ dialog.cpp:646:22: warning: deleting object of polymorphic class type 'cMenuImage' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete unitImages[i]; ^ dialog.cpp:648:26: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete unitNameLabels[i]; ^ dialog.cpp:649:27: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete unitCargoLabels[i]; ^ dialog.cpp: In member function 'void cDialogTransfer::getTransferType()': dialog.cpp:687:9: warning: enumeration value 'STORE_RES_NONE' not handled in switch [-Wswitch] switch ( tmpTransferType ) ^ dialog.cpp: In member function 'void cDialogTransfer::getNamesNCargoNImages()': dialog.cpp:708:49: warning: narrowing conversion of '((cDialogTransfer*)this)->cDialogTransfer::srcBuilding->cBuilding::typ->sBuilding::img->SDL_Surface::w' from 'int' to 'Uint16' {aka 'short unsigned int'} inside { } [-Wnarrowing] SDL_Rect src = { 0, 0, srcBuilding->typ->img->w, srcBuilding->typ->img->h }; ~~~~~~~~~~~~~~~~~~~~~~~^ dialog.cpp:708:75: warning: narrowing conversion of '((cDialogTransfer*)this)->cDialogTransfer::srcBuilding->cBuilding::typ->sBuilding::img->SDL_Surface::h' from 'int' to 'Uint16' {aka 'short unsigned int'} inside { } [-Wnarrowing] SDL_Rect src = { 0, 0, srcBuilding->typ->img->w, srcBuilding->typ->img->h }; ~~~~~~~~~~~~~~~~~~~~~~~^ dialog.cpp:720:11: warning: enumeration value 'STORE_RES_NONE' not handled in switch [-Wswitch] switch ( destVehicle->data.storeResType ) ^ dialog.cpp:758:50: warning: narrowing conversion of '((cDialogTransfer*)this)->cDialogTransfer::destBuilding->cBuilding::typ->sBuilding::img->SDL_Surface::w' from 'int' to 'Uint16' {aka 'short unsigned int'} inside { } [-Wnarrowing] SDL_Rect src = { 0, 0, destBuilding->typ->img->w, destBuilding->typ->img->h }; ~~~~~~~~~~~~~~~~~~~~~~~~^ dialog.cpp:758:77: warning: narrowing conversion of '((cDialogTransfer*)this)->cDialogTransfer::destBuilding->cBuilding::typ->sBuilding::img->SDL_Surface::h' from 'int' to 'Uint16' {aka 'short unsigned int'} inside { } [-Wnarrowing] SDL_Rect src = { 0, 0, destBuilding->typ->img->w, destBuilding->typ->img->h }; ~~~~~~~~~~~~~~~~~~~~~~~~^ dialog.cpp:770:11: warning: enumeration value 'STORE_RES_NONE' not handled in switch [-Wswitch] switch ( srcVehicle->data.storeResType ) ^ dialog.cpp: In member function 'virtual void cDialogTransfer::handleKeyInput(SDL_KeyboardEvent&, std::__cxx11::string)': dialog.cpp:827:9: warning: enumeration value 'SDLK_UNKNOWN' not handled in switch [-Wswitch] switch ( key.keysym.sym ) ^ dialog.cpp:827:9: warning: enumeration value 'SDLK_FIRST' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_BACKSPACE' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_TAB' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_CLEAR' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_PAUSE' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_SPACE' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_EXCLAIM' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_QUOTEDBL' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_HASH' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_DOLLAR' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_AMPERSAND' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_QUOTE' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_LEFTPAREN' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_RIGHTPAREN' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_ASTERISK' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_PLUS' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_COMMA' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_MINUS' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_PERIOD' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_SLASH' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_0' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_1' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_2' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_3' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_4' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_5' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_6' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_7' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_8' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_9' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_COLON' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_SEMICOLON' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_LESS' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_EQUALS' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_GREATER' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_QUESTION' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_AT' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_LEFTBRACKET' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_BACKSLASH' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_RIGHTBRACKET' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_CARET' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_UNDERSCORE' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_BACKQUOTE' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_a' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_b' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_c' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_d' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_e' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_f' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_g' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_h' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_i' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_j' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_k' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_l' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_m' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_n' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_o' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_p' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_q' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_r' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_s' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_t' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_u' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_v' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_w' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_x' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_y' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_z' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_DELETE' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_0' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_1' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_2' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_3' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_4' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_5' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_6' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_7' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_8' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_9' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_10' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_11' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_12' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_13' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_14' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_15' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_16' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_17' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_18' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_19' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_20' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_21' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_22' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_23' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_24' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_25' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_26' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_27' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_28' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_29' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_30' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_31' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_32' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_33' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_34' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_35' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_36' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_37' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_38' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_39' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_40' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_41' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_42' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_43' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_44' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_45' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_46' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_47' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_48' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_49' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_50' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_51' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_52' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_53' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_54' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_55' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_56' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_57' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_58' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_59' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_60' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_61' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_62' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_63' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_64' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_65' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_66' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_67' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_68' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_69' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_70' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_71' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_72' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_73' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_74' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_75' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_76' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_77' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_78' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_79' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_80' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_81' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_82' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_83' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_84' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_85' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_86' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_87' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_88' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_89' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_90' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_91' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_92' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_93' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_94' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_WORLD_95' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_KP0' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_KP1' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_KP2' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_KP3' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_KP4' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_KP5' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_KP6' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_KP7' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_KP8' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_KP9' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_KP_PERIOD' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_KP_DIVIDE' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_KP_MULTIPLY' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_KP_MINUS' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_KP_PLUS' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_KP_ENTER' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_KP_EQUALS' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_UP' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_DOWN' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_RIGHT' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_LEFT' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_INSERT' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_HOME' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_END' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_PAGEUP' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_PAGEDOWN' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_F1' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_F2' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_F3' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_F4' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_F5' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_F6' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_F7' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_F8' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_F9' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_F10' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_F11' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_F12' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_F13' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_F14' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_F15' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_NUMLOCK' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_CAPSLOCK' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_SCROLLOCK' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_RSHIFT' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_LSHIFT' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_RCTRL' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_LCTRL' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_RALT' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_LALT' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_RMETA' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_LMETA' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_LSUPER' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_RSUPER' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_MODE' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_COMPOSE' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_HELP' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_PRINT' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_SYSREQ' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_BREAK' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_MENU' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_POWER' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_EURO' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_UNDO' not handled in switch [-Wswitch] dialog.cpp:827:9: warning: enumeration value 'SDLK_LAST' not handled in switch [-Wswitch] dialog.cpp: In function 'void drawContextItem(std::__cxx11::string, bool, int, int, SDL_Surface*)': dialog.cpp:899:26: warning: narrowing conversion of 'x' from 'int' to 'Sint16' {aka 'short int'} inside { } [-Wnarrowing] SDL_Rect dest={x,y,42,21}; ^ dialog.cpp:899:26: warning: narrowing conversion of 'y' from 'int' to 'Sint16' {aka 'short int'} inside { } [-Wnarrowing] dialog.cpp: In member function 'virtual void cDialogResearch::handleKeyInput(SDL_KeyboardEvent&, std::__cxx11::string)': dialog.cpp:1041:9: warning: enumeration value 'SDLK_UNKNOWN' not handled in switch [-Wswitch] switch ( key.keysym.sym ) ^ dialog.cpp:1041:9: warning: enumeration value 'SDLK_FIRST' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_BACKSPACE' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_TAB' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_CLEAR' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_PAUSE' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_SPACE' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_EXCLAIM' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_QUOTEDBL' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_HASH' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_DOLLAR' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_AMPERSAND' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_QUOTE' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_LEFTPAREN' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_RIGHTPAREN' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_ASTERISK' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_PLUS' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_COMMA' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_MINUS' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_PERIOD' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_SLASH' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_0' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_1' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_2' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_3' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_4' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_5' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_6' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_7' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_8' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_9' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_COLON' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_SEMICOLON' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_LESS' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_EQUALS' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_GREATER' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_QUESTION' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_AT' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_LEFTBRACKET' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_BACKSLASH' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_RIGHTBRACKET' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_CARET' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_UNDERSCORE' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_BACKQUOTE' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_a' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_b' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_c' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_d' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_e' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_f' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_g' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_h' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_i' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_j' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_k' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_l' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_m' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_n' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_o' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_p' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_q' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_r' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_s' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_t' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_u' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_v' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_w' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_x' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_y' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_z' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_DELETE' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_0' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_1' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_2' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_3' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_4' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_5' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_6' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_7' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_8' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_9' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_10' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_11' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_12' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_13' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_14' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_15' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_16' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_17' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_18' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_19' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_20' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_21' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_22' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_23' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_24' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_25' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_26' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_27' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_28' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_29' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_30' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_31' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_32' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_33' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_34' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_35' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_36' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_37' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_38' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_39' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_40' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_41' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_42' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_43' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_44' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_45' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_46' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_47' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_48' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_49' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_50' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_51' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_52' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_53' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_54' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_55' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_56' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_57' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_58' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_59' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_60' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_61' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_62' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_63' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_64' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_65' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_66' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_67' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_68' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_69' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_70' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_71' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_72' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_73' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_74' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_75' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_76' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_77' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_78' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_79' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_80' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_81' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_82' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_83' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_84' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_85' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_86' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_87' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_88' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_89' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_90' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_91' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_92' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_93' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_94' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_WORLD_95' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_KP0' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_KP1' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_KP2' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_KP3' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_KP4' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_KP5' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_KP6' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_KP7' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_KP8' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_KP9' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_KP_PERIOD' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_KP_DIVIDE' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_KP_MULTIPLY' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_KP_MINUS' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_KP_PLUS' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_KP_ENTER' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_KP_EQUALS' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_UP' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_DOWN' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_RIGHT' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_LEFT' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_INSERT' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_HOME' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_END' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_PAGEUP' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_PAGEDOWN' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_F1' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_F2' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_F3' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_F4' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_F5' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_F6' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_F7' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_F8' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_F9' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_F10' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_F11' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_F12' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_F13' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_F14' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_F15' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_NUMLOCK' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_CAPSLOCK' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_SCROLLOCK' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_RSHIFT' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_LSHIFT' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_RCTRL' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_LCTRL' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_RALT' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_LALT' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_RMETA' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_LMETA' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_LSUPER' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_RSUPER' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_MODE' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_COMPOSE' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_HELP' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_PRINT' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_SYSREQ' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_BREAK' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_MENU' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_POWER' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_EURO' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_UNDO' not handled in switch [-Wswitch] dialog.cpp:1041:9: warning: enumeration value 'SDLK_LAST' not handled in switch [-Wswitch] dialog.cpp: In member function 'void cDialogTransfer::getNamesNCargoNImages()': dialog.cpp:805:26: warning: 'unitImage1' may be used uninitialized in this function [-Wmaybe-uninitialized] unitImages[0]->setImage ( unitImage1 ); ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ 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 -march=i586 -mtune=generic -c -o language.o language.cpp language.cpp: In member function 'int cLanguage::ReadSingleTranslation(std::__cxx11::string&, const char*, ...)': language.cpp:314:49: warning: 'pXmlNode' may be used uninitialized in this function [-Wmaybe-uninitialized] if( ((ExTiXmlNode *)pXmlNode)->XmlReadNodeData( strResult, ExTiXmlNode::eXML_ATTRIBUTE, "ENG" ) != 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 -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 -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:18: warning: 'sClientLandData::iLastLandY' will be initialized after [-Wreorder] int iLastLandX, iLastLandY; ^~~~~~~~~~ menus.h:54:16: warning: 'eLandingState sClientLandData::landingState' [-Wreorder] eLandingState landingState; ^~~~~~~~~~~~ menus.h:58:2: warning: when initialized here [-Wreorder] sClientLandData() : iLandX(0), iLandY(0), iLastLandX(0), iLastLandY(0), landingState ( LANDING_STATE_UNKNOWN ), receivedOK(true) {} ^~~~~~~~~~~~~~~ In file included from menuevents.h:23, from menuevents.cpp:19: menus.h: In constructor 'cGameDataContainer::cGameDataContainer()': menus.h:154:8: warning: 'cGameDataContainer::map' will be initialized after [-Wreorder] cMap *map; ^~~ menus.h:144:13: warning: 'eGameTypes cGameDataContainer::type' [-Wreorder] eGameTypes type; ^~~~ menus.h:164:2: warning: when initialized here [-Wreorder] 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 -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 -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:18: warning: 'sClientLandData::iLastLandY' will be initialized after [-Wreorder] int iLastLandX, iLastLandY; ^~~~~~~~~~ menus.h:54:16: warning: 'eLandingState sClientLandData::landingState' [-Wreorder] eLandingState landingState; ^~~~~~~~~~~~ menus.h:58:2: warning: when initialized here [-Wreorder] sClientLandData() : iLandX(0), iLandY(0), iLastLandX(0), iLastLandY(0), landingState ( LANDING_STATE_UNKNOWN ), receivedOK(true) {} ^~~~~~~~~~~~~~~ In file included from mapdownload.cpp:28: menus.h: In constructor 'cGameDataContainer::cGameDataContainer()': menus.h:154:8: warning: 'cGameDataContainer::map' will be initialized after [-Wreorder] cMap *map; ^~~ menus.h:144:13: warning: 'eGameTypes cGameDataContainer::type' [-Wreorder] eGameTypes type; ^~~~ menus.h:164:2: warning: when initialized here [-Wreorder] 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 -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 -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:46: warning: variable 'width' set but not used [-Wunused-but-set-variable] Uint16 width_blocks = 0, height_blocks = 0, width = 0, height = 0; ^~~~~ mveplayer.cpp:135:57: warning: variable 'height' set but not used [-Wunused-but-set-variable] 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 -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:18: warning: 'sClientLandData::iLastLandY' will be initialized after [-Wreorder] int iLastLandX, iLastLandY; ^~~~~~~~~~ menus.h:54:16: warning: 'eLandingState sClientLandData::landingState' [-Wreorder] eLandingState landingState; ^~~~~~~~~~~~ menus.h:58:2: warning: when initialized here [-Wreorder] sClientLandData() : iLandX(0), iLandY(0), iLastLandX(0), iLastLandY(0), landingState ( LANDING_STATE_UNKNOWN ), receivedOK(true) {} ^~~~~~~~~~~~~~~ In file included from menuevents.h:23, from netmessage.cpp:26: menus.h: In constructor 'cGameDataContainer::cGameDataContainer()': menus.h:154:8: warning: 'cGameDataContainer::map' will be initialized after [-Wreorder] cMap *map; ^~~ menus.h:144:13: warning: 'eGameTypes cGameDataContainer::type' [-Wreorder] eGameTypes type; ^~~~ menus.h:164:2: warning: when initialized here [-Wreorder] 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 -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:18: warning: 'sClientLandData::iLastLandY' will be initialized after [-Wreorder] int iLastLandX, iLastLandY; ^~~~~~~~~~ menus.h:54:16: warning: 'eLandingState sClientLandData::landingState' [-Wreorder] eLandingState landingState; ^~~~~~~~~~~~ menus.h:58:2: warning: when initialized here [-Wreorder] sClientLandData() : iLandX(0), iLandY(0), iLastLandX(0), iLastLandY(0), landingState ( LANDING_STATE_UNKNOWN ), receivedOK(true) {} ^~~~~~~~~~~~~~~ In file included from main.cpp:55: menus.h: In constructor 'cGameDataContainer::cGameDataContainer()': menus.h:154:8: warning: 'cGameDataContainer::map' will be initialized after [-Wreorder] cMap *map; ^~~ menus.h:144:13: warning: 'eGameTypes cGameDataContainer::type' [-Wreorder] eGameTypes type; ^~~~ menus.h:164:2: warning: when initialized here [-Wreorder] 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:16: warning: variable 'ptr' set but not used [-Wunused-but-set-variable] unsigned int *ptr; ^~~ main.cpp: In member function 'std::__cxx11::string sID::getText()': main.cpp:584:17: warning: '0' flag ignored with precision and '%d' gnu_printf format [-Wformat=] sprintf ( tmp, "%0.2d %0.2d", iFirstPart, iSecondPart ); ^~~~~~~~~~~~~ main.cpp:584:17: 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 -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 -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 -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:13: warning: 'cPathDestHandler::destY' will be initialized after [-Wreorder] int destX, destY; ^~~~~ movejobs.h:68:12: warning: 'cVehicle* cPathDestHandler::srcVehicle' [-Wreorder] cVehicle *srcVehicle; ^~~~~~~~~~ movejobs.cpp:30:1: warning: when initialized here [-Wreorder] cPathDestHandler::cPathDestHandler ( ePathDestinationTypes type_, int destX_, int destY_, cVehicle *srcVehicle_, cBuilding *destBuilding_, cVehicle *destVehicle_ ) : ^~~~~~~~~~~~~~~~ In file included from movejobs.cpp:20: movejobs.h: In constructor 'cEndMoveAction::cEndMoveAction(eEndMoveActionType, cBuilding*, cVehicle*, cBuilding*, cVehicle*, int, int)': movejobs.h:199:21: warning: 'cEndMoveAction::endMoveActionType' will be initialized after [-Wreorder] eEndMoveActionType endMoveActionType; ^~~~~~~~~~~~~~~~~ movejobs.h:190:13: warning: 'cBuilding* cEndMoveAction::srcBuilding' [-Wreorder] cBuilding *srcBuilding; ^~~~~~~~~~~ movejobs.cpp:711:1: warning: when initialized here [-Wreorder] cEndMoveAction::cEndMoveAction( eEndMoveActionType endMoveActionType_, cBuilding *srcBuilding_, cVehicle *srcVehicle_, cBuilding *destBuilding_, cVehicle *destVehicle_, int destX_, int destY_ ) : ^~~~~~~~~~~~~~ In file included from movejobs.cpp:20: movejobs.h:201:18: warning: 'cEndMoveAction::moveJob' will be initialized after [-Wreorder] cClientMoveJob *moveJob; ^~~~~~~ movejobs.h:197:7: warning: 'bool cEndMoveAction::success' [-Wreorder] bool success; ^~~~~~~ movejobs.cpp:711:1: warning: when initialized here [-Wreorder] cEndMoveAction::cEndMoveAction( eEndMoveActionType endMoveActionType_, cBuilding *srcBuilding_, cVehicle *srcVehicle_, cBuilding *destBuilding_, cVehicle *destVehicle_, int destX_, int destY_ ) : ^~~~~~~~~~~~~~ movejobs.cpp: In member function 'void cPathCalculator::insertToHeap(sPathNode*, bool)': movejobs.cpp:321:33: warning: 'i' may be used uninitialized in this function [-Wmaybe-uninitialized] if ( Node->costF < nodesHeap[i/2]->costF ) ~^~ 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 -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 -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:18: warning: 'sClientLandData::iLastLandY' will be initialized after [-Wreorder] int iLastLandX, iLastLandY; ^~~~~~~~~~ menus.h:54:16: warning: 'eLandingState sClientLandData::landingState' [-Wreorder] eLandingState landingState; ^~~~~~~~~~~~ menus.h:58:2: warning: when initialized here [-Wreorder] sClientLandData() : iLandX(0), iLandY(0), iLastLandX(0), iLastLandY(0), landingState ( LANDING_STATE_UNKNOWN ), receivedOK(true) {} ^~~~~~~~~~~~~~~ In file included from menuitems.cpp:20: menus.h: In constructor 'cGameDataContainer::cGameDataContainer()': menus.h:154:8: warning: 'cGameDataContainer::map' will be initialized after [-Wreorder] cMap *map; ^~~ menus.h:144:13: warning: 'eGameTypes cGameDataContainer::type' [-Wreorder] eGameTypes type; ^~~~ menus.h:164:2: warning: when initialized here [-Wreorder] 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::__cxx11::string, cMenuButton::eButtonTypes, eUnicodeFontType, Mix_Chunk*)': menuitems.h:385:15: warning: 'cMenuButton::buttonType' will be initialized after [-Wreorder] eButtonTypes buttonType; ^~~~~~~~~~ menuitems.h:382:15: warning: 'SDL_Surface* cMenuButton::surface' [-Wreorder] SDL_Surface* surface; ^~~~~~~ menuitems.cpp:353:1: warning: when initialized here [-Wreorder] cMenuButton::cMenuButton ( int x, int y, string text_, eButtonTypes buttonType_, eUnicodeFontType fontType_, sSOUND *clickSound_ ) : cMenuItem( x, y ), fontType( fontType_ ), buttonType( buttonType_ ), surface( NULL ) ^~~~~~~~~~~ In file included from menuitems.cpp:19: menuitems.h: In constructor 'cMenuCheckButton::cMenuCheckButton(int, int, std::__cxx11::string, bool, bool, cMenuCheckButton::eCheckButtonTypes, cMenuCheckButton::eCheckButtonTextOriantation, eUnicodeFontType, Mix_Chunk*)': menuitems.h:438:30: warning: 'cMenuCheckButton::textOrientation' will be initialized after [-Wreorder] eCheckButtonTextOriantation textOrientation; ^~~~~~~~~~~~~~~ menuitems.h:435:15: warning: 'SDL_Surface* cMenuCheckButton::surface' [-Wreorder] SDL_Surface* surface; ^~~~~~~ menuitems.cpp:545:1: warning: when initialized here [-Wreorder] 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:43: 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'} inside { } [-Wnarrowing] SDL_Rect dest = { position.x+position.w+2, position.y-1, 1, position.h+2 }; ~~~~~~~~~~~~~~~~~~~~~^~ menuitems.cpp:691:57: warning: narrowing conversion of '(((int)((cMenuCheckButton*)this)->cMenuCheckButton::.cMenuItem::position.SDL_Rect::y) - 1)' from 'int' to 'Sint16' {aka 'short int'} inside { } [-Wnarrowing] SDL_Rect dest = { position.x+position.w+2, position.y-1, 1, position.h+2 }; ~~~~~~~~~~^~ menuitems.cpp:691:74: warning: narrowing conversion of '(((int)((cMenuCheckButton*)this)->cMenuCheckButton::.cMenuItem::position.SDL_Rect::h) + 2)' from 'int' to 'Uint16' {aka 'short unsigned int'} inside { } [-Wnarrowing] SDL_Rect dest = { position.x+position.w+2, position.y-1, 1, position.h+2 }; ~~~~~~~~~~^~ menuitems.cpp: In destructor 'cMenuRadioGroup::~cMenuRadioGroup()': menuitems.cpp:732:22: warning: deleting object of polymorphic class type 'cMenuCheckButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete buttonList[0]; ^ In file included from menuitems.cpp:19: menuitems.h: In constructor 'cMenuUnitListItem::cMenuUnitListItem(sID, cPlayer*, sUnitUpgrade*, eMenuUnitListDisplayTypes, cMenuUnitsList*, bool)': menuitems.h:514:16: warning: 'cMenuUnitListItem::upgrades' will be initialized after [-Wreorder] sUnitUpgrade *upgrades; ^~~~~~~~ menuitems.h:503:28: warning: 'eMenuUnitListDisplayTypes cMenuUnitListItem::displayType' [-Wreorder] eMenuUnitListDisplayTypes displayType; ^~~~~~~~~~~ menuitems.cpp:791:1: warning: when initialized here [-Wreorder] cMenuUnitListItem::cMenuUnitListItem( sID unitID_, cPlayer *owner_, sUnitUpgrade *upgrades_, eMenuUnitListDisplayTypes displayType_, cMenuUnitsList* parent, bool fixedResValue_ ) ^~~~~~~~~~~~~~~~~ In file included from menuitems.cpp:19: menuitems.h:518:7: warning: 'cMenuUnitListItem::fixedResValue' will be initialized after [-Wreorder] bool fixedResValue; ^~~~~~~~~~~~~ menuitems.h:504:18: warning: 'cMenuUnitsList* cMenuUnitListItem::parentList' [-Wreorder] cMenuUnitsList* parentList; ^~~~~~~~~~ menuitems.cpp:791:1: warning: when initialized here [-Wreorder] cMenuUnitListItem::cMenuUnitListItem( sID unitID_, cPlayer *owner_, sUnitUpgrade *upgrades_, eMenuUnitListDisplayTypes displayType_, cMenuUnitsList* parent, bool fixedResValue_ ) ^~~~~~~~~~~~~~~~~ In file included from menuitems.cpp:19: menuitems.h: In constructor 'cMenuUnitListItem::cMenuUnitListItem(sUnitData*, cPlayer*, sUnitUpgrade*, eMenuUnitListDisplayTypes, cMenuUnitsList*, bool)': menuitems.h:514:16: warning: 'cMenuUnitListItem::upgrades' will be initialized after [-Wreorder] sUnitUpgrade *upgrades; ^~~~~~~~ menuitems.h:503:28: warning: 'eMenuUnitListDisplayTypes cMenuUnitListItem::displayType' [-Wreorder] eMenuUnitListDisplayTypes displayType; ^~~~~~~~~~~ menuitems.cpp:804:1: warning: when initialized here [-Wreorder] cMenuUnitListItem::cMenuUnitListItem( sUnitData *unitData_, cPlayer *owner_, sUnitUpgrade *upgrades_, eMenuUnitListDisplayTypes displayType_, cMenuUnitsList* parent, bool fixedResValue_ ) ^~~~~~~~~~~~~~~~~ In file included from menuitems.cpp:19: menuitems.h:518:7: warning: 'cMenuUnitListItem::fixedResValue' will be initialized after [-Wreorder] bool fixedResValue; ^~~~~~~~~~~~~ menuitems.h:504:18: warning: 'cMenuUnitsList* cMenuUnitListItem::parentList' [-Wreorder] cMenuUnitsList* parentList; ^~~~~~~~~~ menuitems.cpp:804:1: warning: when initialized here [-Wreorder] 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:33: warning: narrowing conversion of '((((int)((cMenuUnitListItem*)this)->cMenuUnitListItem::.cMenuItem::position.SDL_Rect::x) + 32) + 4)' from 'int' to 'Sint16' {aka 'short int'} inside { } [-Wnarrowing] SDL_Rect dest = { position.x+32+4, position.y+12, position.w-(32+4)-12, 0 }; ~~~~~~~~~~~~~^~ menuitems.cpp:914:47: warning: narrowing conversion of '(((int)((cMenuUnitListItem*)this)->cMenuUnitListItem::.cMenuItem::position.SDL_Rect::y) + 12)' from 'int' to 'Sint16' {aka 'short int'} inside { } [-Wnarrowing] SDL_Rect dest = { position.x+32+4, position.y+12, position.w-(32+4)-12, 0 }; ~~~~~~~~~~^~~ menuitems.cpp:914:69: warning: narrowing conversion of '((((int)((cMenuUnitListItem*)this)->cMenuUnitListItem::.cMenuItem::position.SDL_Rect::w) - (32 + 4)) - 12)' from 'int' to 'Uint16' {aka 'short unsigned int'} inside { } [-Wnarrowing] 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:33: warning: narrowing conversion of '((((int)((cMenuUnitListItem*)this)->cMenuUnitListItem::.cMenuItem::position.SDL_Rect::x) + 32) + 4)' from 'int' to 'Sint16' {aka 'short int'} inside { } [-Wnarrowing] SDL_Rect dest = { position.x+32+4, destY, 0, 0 }; ~~~~~~~~~~~~~^~ menuitems.cpp:948:49: warning: narrowing conversion of 'destY' from 'int' to 'Sint16' {aka 'short int'} inside { } [-Wnarrowing] SDL_Rect dest = { position.x+32+4, destY, 0, 0 }; ^ menuitems.cpp: In destructor 'cMenuUnitsList::~cMenuUnitsList()': menuitems.cpp:1060:21: warning: deleting object of polymorphic class type 'cMenuUnitListItem' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete unitsList[0]; ^ menuitems.cpp: In member function 'void cMenuUnitsList::removeUnit(cMenuUnitListItem*)': menuitems.cpp:1194:14: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ( i+1 < (int)unitsList.Size() ) nextSelUnit = unitsList[i+1]; ~~~~^~~~~~~~~~~~~~~~~~~~~~~ menuitems.cpp:1198:22: warning: deleting object of polymorphic class type 'cMenuUnitListItem' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete unitsList[i]; ^ menuitems.cpp: In member function 'void cMenuUnitsList::clear()': menuitems.cpp:1216:21: warning: deleting object of polymorphic class type 'cMenuUnitListItem' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete unitsList[0]; ^ menuitems.cpp: In static member function 'static void cUnitDataSymbolHandler::drawSymbols(cUnitDataSymbolHandler::eUnitDataSymbols, int, int, int, bool, int, int)': menuitems.cpp:1269:29: warning: narrowing conversion of 'x' from 'int' to 'Sint16' {aka 'short int'} inside { } [-Wnarrowing] SDL_Rect dest = {x, y, 0, 0}; ^ menuitems.cpp:1269:29: warning: narrowing conversion of 'y' from 'int' to 'Sint16' {aka 'short int'} inside { } [-Wnarrowing] menuitems.cpp: In static member function 'static SDL_Rect cUnitDataSymbolHandler::getBigSymbolPosition(cUnitDataSymbolHandler::eUnitDataSymbols)': menuitems.cpp:1298:9: warning: enumeration value 'MENU_SYMBOLS_TRANS_TANK' not handled in switch [-Wswitch] switch ( symType ) ^ menuitems.cpp:1298:9: warning: enumeration value 'MENU_SYMBOLS_TRANS_AIR' not handled in switch [-Wswitch] menuitems.cpp: In static member function 'static SDL_Rect cUnitDataSymbolHandler::getSmallSymbolPosition(cUnitDataSymbolHandler::eUnitDataSymbols)': menuitems.cpp:1372:9: warning: enumeration value 'MENU_SYMBOLS_ATTACK' not handled in switch [-Wswitch] switch ( symType ) ^ menuitems.cpp:1372:9: warning: enumeration value 'MENU_SYMBOLS_RANGE' not handled in switch [-Wswitch] menuitems.cpp:1372:9: warning: enumeration value 'MENU_SYMBOLS_ARMOR' not handled in switch [-Wswitch] menuitems.cpp:1372:9: warning: enumeration value 'MENU_SYMBOLS_SCAN' not handled in switch [-Wswitch] menuitems.cpp: In member function 'virtual void cMenuUnitDetails::draw()': menuitems.cpp:1502:10: warning: enumeration value 'STORE_RES_NONE' not handled in switch [-Wswitch] 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] delete valueLabel; ^~~~~~~~~~ menuitems.cpp: In destructor 'cMenuUpgradeHandler::~cMenuUpgradeHandler()': menuitems.cpp:1794:27: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete decreaseButtons[i]; ^ menuitems.cpp:1795:27: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete increaseButtons[i]; ^ menuitems.cpp:1796:22: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete costsLabel[i]; ^ menuitems.cpp: In member function 'cUpgradeCalculator::UpgradeTypes cMenuUpgradeHandler::getUpgradeType(sUnitUpgrade)': menuitems.cpp:1892:9: warning: enumeration value 'UPGRADE_TYPE_NONE' not handled in switch [-Wswitch] switch ( upgrade.type ) ^ In file included from menuitems.cpp:19: menuitems.h: In constructor 'cMenuScroller::cMenuScroller(int, int, cMenuScroller::eMenuScrollerTypes, cMenuItem*, void (*)(void*))': menuitems.h:761:21: warning: 'cMenuScroller::scrollerType' will be initialized after [-Wreorder] eMenuScrollerTypes scrollerType; ^~~~~~~~~~~~ menuitems.h:760:13: warning: 'cMenuItem* cMenuScroller::parent' [-Wreorder] cMenuItem *parent; ^~~~~~ menuitems.cpp:1915:1: warning: when initialized here [-Wreorder] cMenuScroller::cMenuScroller ( int x, int y, eMenuScrollerTypes scrollerType_, cMenuItem *parent_, void (*movedCallback_)(void *) ) : ^~~~~~~~~~~~~ In file included from menuitems.cpp:19: menuitems.h: In constructor 'cMenuScrollBar::cMenuScrollBar(int, int, int, int, cMenu*, cMenuItem*)': menuitems.h:791:6: warning: 'cMenuScrollBar::pageSteps' will be initialized after [-Wreorder] int pageSteps; ^~~~~~~~~ menuitems.h:785:9: warning: 'cMenu* cMenuScrollBar::parentMenu' [-Wreorder] cMenu *parentMenu; ^~~~~~~~~~ menuitems.cpp:1988:1: warning: when initialized here [-Wreorder] 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] 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] 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] delete scroller; ^~~~~~~~ In file included from menuitems.cpp:19: menuitems.h: In constructor 'cMenuListBox::cMenuListBox(int, int, int, int, int, cMenu*)': menuitems.h:823:6: warning: 'cMenuListBox::maxLines' will be initialized after [-Wreorder] int maxLines; ^~~~~~~~ menuitems.h:820:9: warning: 'cMenu* cMenuListBox::parentMenu' [-Wreorder] cMenu *parentMenu; ^~~~~~~~~~ menuitems.cpp:2082:1: warning: when initialized here [-Wreorder] 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] 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] delete scrollBar; ^~~~~~~~~ menuitems.cpp:2359:24: warning: deleting object of polymorphic class type 'cMenuImage' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete playerColors[i]; ^ menuitems.cpp:2360:23: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete playerNames[i]; ^ menuitems.cpp:2361:24: warning: deleting object of polymorphic class type 'cMenuImage' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 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] 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] 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] 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] delete saveName; ^~~~~~~~ menuitems.cpp: In destructor 'cMenuBuildSpeedHandler::~cMenuBuildSpeedHandler()': menuitems.cpp:2512:23: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete turnsLabels[i]; ^ menuitems.cpp:2513:23: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 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] 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] 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] 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] 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] 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] 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] 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] delete scroller; ^~~~~~~~ menuitems.cpp: In member function 'void cMenuReportsScreen::drawUnitsScreen()': menuitems.cpp:2833:34: warning: narrowing conversion of '(((int)((cMenuReportsScreen*)this)->cMenuReportsScreen::.cMenuItem::position.SDL_Rect::x) + 13)' from 'int' to 'Sint16' {aka 'short int'} inside { } [-Wnarrowing] SDL_Rect selDest = { position.x+13, position.y+26+55*selIndex, 8, 1 }; ~~~~~~~~~~^~~ menuitems.cpp:2833:52: warning: narrowing conversion of '((((int)((cMenuReportsScreen*)this)->cMenuReportsScreen::.cMenuItem::position.SDL_Rect::y) + 26) + (55 * selIndex))' from 'int' to 'Sint16' {aka 'short int'} inside { } [-Wnarrowing] SDL_Rect selDest = { position.x+13, position.y+26+55*selIndex, 8, 1 }; ~~~~~~~~~~~~~^~~~~~~~~~~~ menuitems.cpp: In member function 'void cMenuReportsScreen::drawReportsScreen()': menuitems.cpp:2867:34: warning: narrowing conversion of '(((int)((cMenuReportsScreen*)this)->cMenuReportsScreen::.cMenuItem::position.SDL_Rect::x) + 54)' from 'int' to 'Sint16' {aka 'short int'} inside { } [-Wnarrowing] SDL_Rect textDest = { position.x+54, position.y+25, 410, 30 }; ~~~~~~~~~~^~~ menuitems.cpp:2867:49: warning: narrowing conversion of '(((int)((cMenuReportsScreen*)this)->cMenuReportsScreen::.cMenuItem::position.SDL_Rect::y) + 25)' from 'int' to 'Sint16' {aka 'short int'} inside { } [-Wnarrowing] SDL_Rect textDest = { position.x+54, position.y+25, 410, 30 }; ~~~~~~~~~~^~~ menuitems.cpp:2882:33: warning: narrowing conversion of '(((int)((cMenuReportsScreen*)this)->cMenuReportsScreen::.cMenuItem::position.SDL_Rect::x) + 17)' from 'int' to 'Sint16' {aka 'short int'} inside { } [-Wnarrowing] SDL_Rect dest = { position.x+17, position.y+30+(i-(index)*maxItems)*55, 0, 0 }; ~~~~~~~~~~^~~ menuitems.cpp:2882:51: 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'} inside { } [-Wnarrowing] SDL_Rect dest = { position.x+17, position.y+30+(i-(index)*maxItems)*55, 0, 0 }; ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ menuitems.cpp:2904:35: warning: narrowing conversion of '(((int)((cMenuReportsScreen*)this)->cMenuReportsScreen::.cMenuItem::position.SDL_Rect::x) + 15)' from 'int' to 'Sint16' {aka 'short int'} inside { } [-Wnarrowing] SDL_Rect selDest = { position.x+15, position.y+23+55*selIndex, 1, 53 }; ~~~~~~~~~~^~~ menuitems.cpp:2904:53: warning: narrowing conversion of '((((int)((cMenuReportsScreen*)this)->cMenuReportsScreen::.cMenuItem::position.SDL_Rect::y) + 23) + (55 * selIndex))' from 'int' to 'Sint16' {aka 'short int'} inside { } [-Wnarrowing] 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:30: warning: narrowing conversion of '(((int)((cMenuReportsScreen*)this)->cMenuReportsScreen::.cMenuItem::position.SDL_Rect::x) + 17)' from 'int' to 'Sint16' {aka 'short int'} inside { } [-Wnarrowing] SDL_Rect dest = { position.x+17, position.y+30, 0, 0 }; ~~~~~~~~~~^~~ menuitems.cpp:2953:45: warning: narrowing conversion of '(((int)((cMenuReportsScreen*)this)->cMenuReportsScreen::.cMenuItem::position.SDL_Rect::y) + 30)' from 'int' to 'Sint16' {aka 'short int'} inside { } [-Wnarrowing] SDL_Rect dest = { position.x+17, position.y+30, 0, 0 }; ~~~~~~~~~~^~~ menuitems.cpp:2954:34: warning: narrowing conversion of '(((int)((cMenuReportsScreen*)this)->cMenuReportsScreen::.cMenuItem::position.SDL_Rect::x) + 54)' from 'int' to 'Sint16' {aka 'short int'} inside { } [-Wnarrowing] SDL_Rect nameDest = { position.x+54, position.y+25, 75, 30 }; ~~~~~~~~~~^~~ menuitems.cpp:2954:49: warning: narrowing conversion of '(((int)((cMenuReportsScreen*)this)->cMenuReportsScreen::.cMenuItem::position.SDL_Rect::y) + 25)' from 'int' to 'Sint16' {aka 'short int'} inside { } [-Wnarrowing] SDL_Rect nameDest = { position.x+54, position.y+25, 75, 30 }; ~~~~~~~~~~^~~ menuitems.cpp: In member function 'virtual void cMenuCheckButton::draw()': menuitems.cpp:677:18: warning: 'textDest.SDL_Rect::y' may be used uninitialized in this function [-Wmaybe-uninitialized] font->showText ( textDest.x , textDest.y, text, fontType ); ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ menuitems.cpp:677:18: warning: 'textDest.SDL_Rect::x' may be used uninitialized in this function [-Wmaybe-uninitialized] 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 -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 -march=i586 -mtune=generic -c -o loaddata.o loaddata.cpp loaddata.cpp: In function 'void MakeLog(std::__cxx11::string, int, int)': loaddata.cpp:348:53: warning: narrowing conversion of 'font->cUnicodeFont::getFontHeight(FONT_LATIN_BIG_GOLD)' from 'int' to 'Uint16' {aka 'short unsigned int'} inside { } [-Wnarrowing] SDL_Rect rDest = {22, 152, 228, font->getFontHeight(FONT_LATIN_BIG_GOLD)}; ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ loaddata.cpp:349:55: warning: narrowing conversion of 'font->cUnicodeFont::getFontHeight(FONT_LATIN_BIG_GOLD)' from 'int' to 'Uint16' {aka 'short unsigned int'} inside { } [-Wnarrowing] SDL_Rect rDest2 = {250, 152, 230, font->getFontHeight(FONT_LATIN_BIG_GOLD)}; ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ loaddata.cpp: In function 'int LoadVehicles()': loaddata.cpp:1908:20: warning: '0' flag ignored with precision and '%d' gnu_printf format [-Wformat=] sprintf(sztmp,"img%d_%0.2d.pcx",n,j); ^~~~~~~~~~~~~~~~~ loaddata.cpp: In function 'void translateUnitData(sID, bool)': loaddata.cpp:2245:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] while(iPosition != string::npos) ~~~~~~~~~~^~~~~~~~~ loaddata.cpp: In function 'void LoadUnitData(sUnitData*, const char*, int)': loaddata.cpp:2637:21: warning: '0' flag ignored with precision and '%d' gnu_printf format [-Wformat=] 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:21: warning: '0' flag ignored with precision and '%d' gnu_printf format [-Wformat=] loaddata.cpp:2649:21: warning: '0' flag ignored with precision and '%d' gnu_printf format [-Wformat=] 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:21: warning: '0' flag ignored with precision and '%d' gnu_printf format [-Wformat=] loaddata.cpp:2660:19: warning: '0' flag ignored with precision and '%d' gnu_printf format [-Wformat=] 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:19: warning: '0' flag ignored with precision and '%d' gnu_printf format [-Wformat=] loaddata.cpp:2666:19: warning: '0' flag ignored with precision and '%d' gnu_printf format [-Wformat=] 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:19: warning: '0' flag ignored with precision and '%d' gnu_printf format [-Wformat=] loaddata.cpp:2666:19: warning: too many arguments for format [-Wformat-extra-args] loaddata.cpp:2672:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(pExXmlNode = pExXmlNode->XmlGetFirstNode( unitDataXml, "Unit", "Description", NULL) ) ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ loaddata.cpp:2676:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] while(iPosition != string::npos) ~~~~~~~~~~^~~~~~~~~ loaddata.cpp:2813:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] if ( pos == string::npos ) pos = storeUnitsString.length(); ~~~~^~~~~~~~~ loaddata.cpp: In function 'void LoadUnitGraphicData(sUnitData*, const char*)': loaddata.cpp:2834:15: warning: unused variable 'pExXmlNode' [-Wunused-variable] ExTiXmlNode *pExXmlNode = NULL; ^~~~~~~~~~ loaddata.cpp: In function 'int LoadClans()': loaddata.cpp:2882:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (clanNode = xmlNode->IterateChildren (clanNode)) ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ loaddata.cpp:2899:32: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (changedUnitStatsNode = clanNode->IterateChildren ("ChangedUnitStat", changedUnitStatsNode)) ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ loaddata.cpp:2917:30: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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 -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 -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 -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 -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 -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:18: warning: 'sClientLandData::iLastLandY' will be initialized after [-Wreorder] int iLastLandX, iLastLandY; ^~~~~~~~~~ menus.h:54:16: warning: 'eLandingState sClientLandData::landingState' [-Wreorder] eLandingState landingState; ^~~~~~~~~~~~ menus.h:58:2: warning: when initialized here [-Wreorder] sClientLandData() : iLandX(0), iLandY(0), iLastLandX(0), iLastLandY(0), landingState ( LANDING_STATE_UNKNOWN ), receivedOK(true) {} ^~~~~~~~~~~~~~~ In file included from menuevents.h:23, from serverevents.cpp:26: menus.h: In constructor 'cGameDataContainer::cGameDataContainer()': menus.h:154:8: warning: 'cGameDataContainer::map' will be initialized after [-Wreorder] cMap *map; ^~~ menus.h:144:13: warning: 'eGameTypes cGameDataContainer::type' [-Wreorder] eGameTypes type; ^~~~ menus.h:164:2: warning: when initialized here [-Wreorder] 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 -march=i586 -mtune=generic -c -o player.o player.cpp In file included from player.cpp:20: player.h: In constructor 'cPlayer::cPlayer(std::__cxx11::string, SDL_Surface*, int, int)': player.h:88:8: warning: 'cPlayer::base' will be initialized after [-Wreorder] cBase base; // Die Basis dieses Spielers. ^~~~ player.h:77:9: warning: 'std::__cxx11::string cPlayer::name' [-Wreorder] string name; ^~~~ player.cpp:30:1: warning: when initialized here [-Wreorder] 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 -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:14: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 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 -march=i586 -mtune=generic -c -o unifonts.o unifonts.cpp unifonts.cpp: In member function 'void cUnicodeFont::loadChars(eUnicodeFontCharset, eUnicodeFontType)': unifonts.cpp:131:9: warning: unused variable 'stop' [-Wunused-variable] int stop = 0; ^~~~ unifonts.cpp: In member function 'void cUnicodeFont::showText(int, int, std::__cxx11::string, eUnicodeFontType, SDL_Surface*, bool)': unifonts.cpp:330:8: warning: enumeration value 'FONT_LATIN_NORMAL' not handled in switch [-Wswitch] switch( fonttype ) ^ unifonts.cpp:330:8: warning: enumeration value 'FONT_LATIN_BIG' not handled in switch [-Wswitch] unifonts.cpp:330:8: warning: enumeration value 'FONT_LATIN_BIG_GOLD' not handled in switch [-Wswitch] unifonts.cpp:379:40: warning: narrowing conversion of 'offX' from 'int' to 'Sint16' {aka 'short int'} inside { } [-Wnarrowing] SDL_Rect rTmp = {offX, offY, 16, 16}; ^ unifonts.cpp:379:40: warning: narrowing conversion of 'offY' from 'int' to 'Sint16' {aka 'short int'} inside { } [-Wnarrowing] unifonts.cpp: In member function 'int cUnicodeFont::drawWithBreakLines(SDL_Rect, std::__cxx11::string, eUnicodeFontType, SDL_Surface*, bool)': unifonts.cpp:402:86: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] while ( getTextWide ( sText.substr ( 0, pos ), fonttype, encode ) < rDest.w && pos != string::npos ); ~~~~^~~~~~~~~ unifonts.cpp: In member function 'int cUnicodeFont::showTextAsBlock(SDL_Rect, std::__cxx11::string, eUnicodeFontType, SDL_Surface*, bool)': unifonts.cpp:453:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] if ( k != string::npos ) ~~^~~~~~~~~ unifonts.cpp:459:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] while ( k != string::npos ); ~~^~~~~~~~~ unifonts.cpp:466:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] if ( k != string::npos ) ~~^~~~~~~~~ unifonts.cpp:471:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] while ( k != string::npos ); ~~^~~~~~~~~ unifonts.cpp:478:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] if ( k != string::npos ) ~~^~~~~~~~~ unifonts.cpp:490:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] while ( k != string::npos ); ~~^~~~~~~~~ unifonts.cpp: In member function 'SDL_Rect cUnicodeFont::getTextSize(std::__cxx11::string, eUnicodeFontType, bool)': unifonts.cpp:520:8: warning: enumeration value 'FONT_LATIN_NORMAL' not handled in switch [-Wswitch] switch( fonttype ) ^ unifonts.cpp:520:8: warning: enumeration value 'FONT_LATIN_BIG' not handled in switch [-Wswitch] unifonts.cpp:520:8: 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 -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:18: warning: 'sClientLandData::iLastLandY' will be initialized after [-Wreorder] int iLastLandX, iLastLandY; ^~~~~~~~~~ menus.h:54:16: warning: 'eLandingState sClientLandData::landingState' [-Wreorder] eLandingState landingState; ^~~~~~~~~~~~ menus.h:58:2: warning: when initialized here [-Wreorder] sClientLandData() : iLandX(0), iLandY(0), iLastLandX(0), iLastLandY(0), landingState ( LANDING_STATE_UNKNOWN ), receivedOK(true) {} ^~~~~~~~~~~~~~~ In file included from server.cpp:28: menus.h: In constructor 'cGameDataContainer::cGameDataContainer()': menus.h:154:8: warning: 'cGameDataContainer::map' will be initialized after [-Wreorder] cMap *map; ^~~ menus.h:144:13: warning: 'eGameTypes cGameDataContainer::type' [-Wreorder] eGameTypes type; ^~~~ menus.h:164:2: warning: when initialized here [-Wreorder] cGameDataContainer() : settings(NULL), map(NULL), type(GAME_TYPE_SINGLE), savegameNum(-1) {} ^~~~~~~~~~~~~~~~~~ server.cpp: In member function 'int cServer::HandleNetMessage(cNetMessage*)': server.cpp:1120:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (upgradeAll || i == storageSlot) ~~^~~~~~~~~~~~~~ server.cpp: In member function 'cVehicle* cServer::getVehicleFromID(int)': server.cpp:2850:22: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ( Vehicle->iID == iID ) return Vehicle; ~~~~~~~~~~~~~^~~~~~ server.cpp: In member function 'cBuilding* cServer::getBuildingFromID(int)': server.cpp:2866:23: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ( Building->iID == iID ) return Building; ~~~~~~~~~~~~~~^~~~~~ server.cpp: In member function 'int cServer::HandleNetMessage(cNetMessage*)': server.cpp:1247:44: warning: 'LocalPlayer' may be used uninitialized in this function [-Wmaybe-uninitialized] if ( message->iPlayerNr != LocalPlayer->Nr ) break; ~~~~~~~~~~~~~^~ 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 -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:18: warning: 'sClientLandData::iLastLandY' will be initialized after [-Wreorder] int iLastLandX, iLastLandY; ^~~~~~~~~~ menus.h:54:16: warning: 'eLandingState sClientLandData::landingState' [-Wreorder] eLandingState landingState; ^~~~~~~~~~~~ menus.h:58:2: warning: when initialized here [-Wreorder] sClientLandData() : iLandX(0), iLandY(0), iLastLandX(0), iLastLandY(0), landingState ( LANDING_STATE_UNKNOWN ), receivedOK(true) {} ^~~~~~~~~~~~~~~ In file included from dialog.h:22, from vehicles.cpp:25: menus.h: In constructor 'cGameDataContainer::cGameDataContainer()': menus.h:154:8: warning: 'cGameDataContainer::map' will be initialized after [-Wreorder] cMap *map; ^~~ menus.h:144:13: warning: 'eGameTypes cGameDataContainer::type' [-Wreorder] eGameTypes type; ^~~~ menus.h:164:2: warning: when initialized here [-Wreorder] 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:31: warning: narrowing conversion of '(((int)dest.SDL_Rect::x) + 2)' from 'int' to 'Sint16' {aka 'short int'} inside { } [-Wnarrowing] SDL_Rect lineRect = { dest.x+2, dest.y+14, 153, 1 }; ~~~~~~^~ vehicles.cpp:990:41: warning: narrowing conversion of '(((int)dest.SDL_Rect::y) + 14)' from 'int' to 'Sint16' {aka 'short int'} inside { } [-Wnarrowing] SDL_Rect lineRect = { dest.x+2, dest.y+14, 153, 1 }; ~~~~~~^~~ vehicles.cpp:1016:11: warning: enumeration value 'STORE_RES_NONE' not handled in switch [-Wswitch] switch ( data.storeResType ) ^ vehicles.cpp:1033:11: warning: enumeration value 'STORE_UNIT_IMG_NONE' not handled in switch [-Wswitch] switch ( data.storeUnitsImageType ) ^ vehicles.cpp: In member function 'void cVehicle::DrawSymbol(eSymbols, int, int, int, int, int, SDL_Surface*)': vehicles.cpp:1078:9: warning: enumeration value 'SAir' not handled in switch [-Wswitch] switch ( sym ) ^ vehicles.cpp: In member function 'void cVehicle::DrawSymbolBig(eSymbolsBig, int, int, int, int, int, SDL_Surface*)': vehicles.cpp:1249:9: warning: enumeration value 'SBEnergy' not handled in switch [-Wswitch] switch ( sym ) ^ vehicles.cpp:1249:9: warning: enumeration value 'SBHuman' not handled in switch [-Wswitch] vehicles.cpp: In member function 'void cVehicle::DrawExitPoints(sVehicle*) const': vehicles.cpp:2936:16: warning: variable 'size' set but not used [-Wunused-but-set-variable] int spx, spy, size; ^~~~ vehicles.cpp: In member function 'bool cVehicle::canLoad(cVehicle*, bool)': vehicles.cpp:2987:9: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] if ( i == data.storeUnitsTypes.size() ) return false; ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vehicles.cpp: In member function 'bool cVehicle::canDoCommandoAction(int, int, cMap*, bool)': vehicles.cpp:3188:11: warning: variable 'boff' set but not used [-Wunused-but-set-variable] int off, boff; ^~~~ vehicles.cpp: In member function 'void cVehicle::RotateTo(int)': vehicles.cpp:1533:2: warning: 'dest' may be used uninitialized in this function [-Wmaybe-uninitialized] if ( dest < 4 ) ^~ vehicles.cpp: In member function 'int cVehicle::calcCommandoChance(cVehicle*, cBuilding*, bool)': vehicles.cpp:3285:41: warning: 'destTurn' may be used uninitialized in this function [-Wmaybe-uninitialized] chance = Round( (float)(8*srcLevel)/(35*destTurn)*factor*100 ); ~~~^~~~~~~~~~ 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 -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 -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:18: warning: 'sClientLandData::iLastLandY' will be initialized after [-Wreorder] int iLastLandX, iLastLandY; ^~~~~~~~~~ menus.h:54:16: warning: 'eLandingState sClientLandData::landingState' [-Wreorder] eLandingState landingState; ^~~~~~~~~~~~ menus.h:58:2: warning: when initialized here [-Wreorder] sClientLandData() : iLandX(0), iLandY(0), iLastLandX(0), iLastLandY(0), landingState ( LANDING_STATE_UNKNOWN ), receivedOK(true) {} ^~~~~~~~~~~~~~~ In file included from savegame.cpp:25: menus.h: In constructor 'cGameDataContainer::cGameDataContainer()': menus.h:154:8: warning: 'cGameDataContainer::map' will be initialized after [-Wreorder] cMap *map; ^~~ menus.h:144:13: warning: 'eGameTypes cGameDataContainer::type' [-Wreorder] eGameTypes type; ^~~~ menus.h:164:2: warning: when initialized here [-Wreorder] cGameDataContainer() : settings(NULL), map(NULL), type(GAME_TYPE_SINGLE), savegameNum(-1) {} ^~~~~~~~~~~~~~~~~~ savegame.cpp: In constructor 'cSavegame::cSavegame(int)': savegame.cpp:33:23: warning: '0' flag ignored with precision and '%d' gnu_printf format [-Wformat=] sprintf ( numberstr, "%0.3d", number ); ^~~~~~~ savegame.cpp: In member function 'void cSavegame::loadGameInfo()': savegame.cpp:232:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( element = gameInfoNode->FirstChildElement( "Hotseat" ) ) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:237:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( element = gameInfoNode->FirstChildElement( "PlayTurns" ) ) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp: In member function 'cPlayer* cSavegame::loadPlayer(TiXmlElement*, cMap*)': savegame.cpp:304:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( element = playerNode->FirstChildElement ("Clan" ) ) element->Attribute ( "num", &clan ); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:393:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( subbasesNode = playerNode->FirstChildElement( "Subbases" ) ) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp: In member function 'void cSavegame::loadUpgrade(TiXmlElement*, sUnitData*)': savegame.cpp:423:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( element = upgradeNode->FirstChildElement( "Ammo" ) ) element->Attribute ( "num", &data->ammoMax ); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:424:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( element = upgradeNode->FirstChildElement( "HitPoints" ) ) element->Attribute ( "num", &data->hitpointsMax ); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:425:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( element = upgradeNode->FirstChildElement( "Shots" ) ) element->Attribute ( "num", &data->shotsMax ); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:426:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( element = upgradeNode->FirstChildElement( "Speed" ) ) element->Attribute ( "num", &data->speedMax ); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:427:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( element = upgradeNode->FirstChildElement( "Armor" ) ) element->Attribute ( "num", &data->armor ); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:428:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( element = upgradeNode->FirstChildElement( "Costs" ) ) element->Attribute ( "num", &data->buildCosts ); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:429:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( element = upgradeNode->FirstChildElement( "Damage" ) ) element->Attribute ( "num", &data->damage ); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:430:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( element = upgradeNode->FirstChildElement( "Range" ) ) element->Attribute ( "num", &data->range ); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:431:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( element = upgradeNode->FirstChildElement( "Scan" ) ) element->Attribute ( "num", &data->scan ); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp: In member function 'void cSavegame::loadVehicle(TiXmlElement*, sID&)': savegame.cpp:563:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( element = unitNode->FirstChildElement( "CommandoRank" ) ) { element->Attribute ( "num", &tmpdouble ); vehicle->CommandoRank = (float)tmpdouble; } ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:574:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( element = unitNode->FirstChildElement( "Building" ) ) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:599:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( element = unitNode->FirstChildElement( "Clearing" ) ) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:606:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( element = unitNode->FirstChildElement( "Movejob" ) ) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:618:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( detectedNode = unitNode->FirstChildElement( "IsDetectedByPlayers" ) ) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:621:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while ( element = detectedNode->FirstChildElement ( ("Player_" + iToStr( playerNodeNum )).c_str() ) ) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:635:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( element = unitNode->FirstChildElement( "Stored_In" ) ) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp: In member function 'void cSavegame::loadBuilding(TiXmlElement*, sID&)': savegame.cpp:707:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( element = unitNode->FirstChildElement( "Building" ) ) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:710:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( element = buildNode->FirstChildElement( "BuildSpeed" ) ) element->Attribute ( "num", &building->BuildSpeed ); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:711:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( element = buildNode->FirstChildElement( "MetalPerRound" ) ) element->Attribute ( "num", &building->MetalPerRound ); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:749:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( detectedNode = unitNode->FirstChildElement( "IsDetectedByPlayers" ) ) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:752:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while ( element = detectedNode->FirstChildElement ( ("Player_" + iToStr( playerNodeNum )).c_str() ) ) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp: In member function 'void cSavegame::loadUnitValues(TiXmlElement*, sUnitData*)': savegame.cpp:785:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( Element = unitNode->FirstChildElement( "Version" ) ) Element->Attribute ( "num", &Data->version ); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:787:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( Element = unitNode->FirstChildElement( "Max_Hitpoints" ) ) Element->Attribute ( "num", &Data->hitpointsMax ); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:788:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( Element = unitNode->FirstChildElement( "Max_Ammo" ) ) Element->Attribute ( "num", &Data->ammoMax ); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:789:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( Element = unitNode->FirstChildElement( "Max_Speed" ) ) Element->Attribute ( "num", &Data->speedMax ); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:790:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( Element = unitNode->FirstChildElement( "Max_Shots" ) ) Element->Attribute ( "num", &Data->shotsMax ); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:791:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( Element = unitNode->FirstChildElement( "Armor" ) ) Element->Attribute ( "num", &Data->armor ); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:792:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( Element = unitNode->FirstChildElement( "Damage" ) ) Element->Attribute ( "num", &Data->damage ); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:793:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( Element = unitNode->FirstChildElement( "Range" ) ) Element->Attribute ( "num", &Data->range ); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:794:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( Element = unitNode->FirstChildElement( "Scan" ) ) Element->Attribute ( "num", &Data->scan ); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:796:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( Element = unitNode->FirstChildElement( "Hitpoints" ) ) Element->Attribute ( "num", &Data->hitpointsCur ); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:798:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( Element = unitNode->FirstChildElement( "Ammo" ) ) Element->Attribute ( "num", &Data->ammoCur ); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:801:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( Element = unitNode->FirstChildElement( "ResCargo" ) ) Element->Attribute ( "num", &Data->storageResCur ); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:802:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( Element = unitNode->FirstChildElement( "UnitCargo" ) ) Element->Attribute ( "num", &Data->storageUnitsCur ); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:804:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( Element = unitNode->FirstChildElement( "Cargo" ) ) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:810:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( Element = unitNode->FirstChildElement( "Speed" ) ) Element->Attribute ( "num", &Data->speedCur ); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:812:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( Element = unitNode->FirstChildElement( "Shots" ) ) Element->Attribute ( "num", &Data->shotsCur ); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp: In member function 'void cSavegame::loadStandardUnitValues(TiXmlElement*)': savegame.cpp:865:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( Element = unitNode->FirstChildElement( "Scan" ) ) Element->Attribute ( "num", &Data->scan ); else Data->scan = 0; ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:866:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( Element = unitNode->FirstChildElement( "Movement" ) ) Element->Attribute ( "num", &Data->speedMax ); else Data->speedMax = 0; ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:871:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( Element = unitNode->FirstChildElement( "MuzzleType" ) ) { Element->Attribute ( "num", &tmpInt ); Data->muzzleType = (sUnitData::eMuzzleType)tmpInt; } else Data->muzzleType = sUnitData::MUZZLE_TYPE_NONE; ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:872:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( Element = unitNode->FirstChildElement( "Shots" ) ) Element->Attribute ( "num", &Data->shotsMax ); else Data->shotsMax = 0; ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:873:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( Element = unitNode->FirstChildElement( "Ammo" ) ) Element->Attribute ( "num", &Data->ammoMax ); else Data->ammoMax = 0; ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:874:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( Element = unitNode->FirstChildElement( "Range" ) ) Element->Attribute ( "num", &Data->range ); else Data->range = 0; ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:875:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( Element = unitNode->FirstChildElement( "Damage" ) ) Element->Attribute ( "num", &Data->damage ); else Data->damage = 0; ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:876:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( Element = unitNode->FirstChildElement( "Can_Attack" ) ) { Element->Attribute ( "num", &tmpInt ); Data->canAttack = tmpInt; } else Data->canAttack = TERRAIN_NONE; ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:878:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( Element = unitNode->FirstChildElement( "Can_Build" ) ) Data->canBuild = Element->Attribute ( "string" ); else Data->canBuild = ""; ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:879:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( Element = unitNode->FirstChildElement( "Build_As" ) ) Data->buildAs = Element->Attribute ( "string" ); else Data->buildAs = ""; ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:880:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( Element = unitNode->FirstChildElement( "Max_Build_Factor" ) ) Element->Attribute ( "num", &Data->maxBuildFactor ); else Data->maxBuildFactor = 0; ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:882:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( Element = unitNode->FirstChildElement( "Storage_Res_Max" ) ) Element->Attribute ( "num", &Data->storageResMax ); else Data->storageResMax = 0; ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:883:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( Element = unitNode->FirstChildElement( "Storage_Units_Max" ) ) Element->Attribute ( "num", &Data->storageUnitsMax ); else Data->storageUnitsMax = 0; ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:884:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( Element = unitNode->FirstChildElement( "Is_Storage_Type" ) ) Data->isStorageType = Element->Attribute ( "string" ); else Data->isStorageType = ""; ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:887:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( Element = unitNode->FirstChildElement( "StoreUnitsTypes" ) ) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:897:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] if ( pos == string::npos ) pos = storeUnitsString.length(); ~~~~^~~~~~~~~ savegame.cpp:904:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( Element = unitNode->FirstChildElement( "Needs_Energy" ) ) Element->Attribute ( "num", &Data->needsEnergy ); else Data->needsEnergy = 0; ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:905:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( Element = unitNode->FirstChildElement( "Needs_Humans" ) ) Element->Attribute ( "num", &Data->needsHumans ); else Data->needsHumans = 0; ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:906:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( Element = unitNode->FirstChildElement( "Needs_Oil" ) ) Element->Attribute ( "num", &Data->needsOil ); else Data->needsOil = 0; ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:907:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( Element = unitNode->FirstChildElement( "Needs_Metal" ) ) Element->Attribute ( "num", &Data->needsMetal ); else Data->needsMetal = 0; ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:908:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( Element = unitNode->FirstChildElement( "Converts_Gold" ) ) Element->Attribute ( "num", &Data->convertsGold ); else Data->convertsGold = 0; ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:909:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( Element = unitNode->FirstChildElement( "Can_Mine_Max_Res" ) ) Element->Attribute ( "num", &Data->canMineMaxRes ); else Data->canMineMaxRes = 0; ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:921:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( Element = unitNode->FirstChildElement( "Is_Stealth_On" ) ) { Element->Attribute ( "num", &tmpInt ); Data->isStealthOn = tmpInt; } else Data->isStealthOn = TERRAIN_NONE; ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:922:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( Element = unitNode->FirstChildElement( "Can_Detect_Stealth_On" ) ) { Element->Attribute ( "num", &tmpInt ); Data->canDetectStealthOn = tmpInt; } else Data->canDetectStealthOn = TERRAIN_NONE; ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:924:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 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:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( Element = unitNode->FirstChildElement( "Factor_Air" ) ) { Element->Attribute ( "num", &tmpdouble ); Data->factorAir = (float)tmpdouble; } else Data->factorAir = 0; ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:929:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( Element = unitNode->FirstChildElement( "Factor_Coast" ) ) { Element->Attribute ( "num", &tmpdouble ); Data->factorCoast = (float)tmpdouble; } else Data->factorCoast = 0; ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:930:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( Element = unitNode->FirstChildElement( "Factor_Ground" ) ) { Element->Attribute ( "num", &tmpdouble ); Data->factorGround = (float)tmpdouble; } else Data->factorGround = 0; ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:931:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( Element = unitNode->FirstChildElement( "Factor_Sea" ) ) { Element->Attribute ( "num", &tmpdouble ); Data->factorSea = (float)tmpdouble; } else Data->factorSea = 0; ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:933:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( Element = unitNode->FirstChildElement( "Factor_Sea" ) ) { Element->Attribute ( "num", &tmpdouble ); Data->modifiesSpeed = (float)tmpdouble; } else Data->modifiesSpeed = 0; ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:822:6: warning: variable 'unitNum' set but not used [-Wunused-but-set-variable] int unitNum; ^~~~~~~ savegame.cpp:823:7: warning: variable 'isVehicle' set but not used [-Wunused-but-set-variable] bool isVehicle; ^~~~~~~~~ savegame.cpp: In constructor 'cSavegame::cSavegame(int)': savegame.cpp:33:23: warning: '%0.3d' directive writing between 3 and 11 bytes into a region of size 4 [-Wformat-overflow=] sprintf ( numberstr, "%0.3d", number ); ^~~~~~~ savegame.cpp:33:23: note: directive argument in the range [-2147483648, 100] In file included from /usr/include/stdio.h:862, from /usr/include/c++/8/cstdio:42, from /usr/include/c++/8/ext/string_conversions.h:43, from /usr/include/c++/8/bits/basic_string.h:6400, from /usr/include/c++/8/string:52, from /usr/include/c++/8/bits/locale_classes.h:40, from /usr/include/c++/8/bits/ios_base.h:41, from /usr/include/c++/8/ios:42, from /usr/include/c++/8/ostream:38, from /usr/include/c++/8/iostream:39, from main.h:36, from savegame.h:22, from savegame.cpp:20: /usr/include/bits/stdio2.h:33:34: note: '__builtin___sprintf_chk' output between 4 and 12 bytes into a destination of size 4 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp: In member function 'void cSavegame::loadBuilding(TiXmlElement*, sID&)': savegame.cpp:664:18: warning: 'number' may be used uninitialized in this function [-Wmaybe-uninitialized] int tmpinteger, number, x, y; ^~~~~~ savegame.cpp: In member function 'void cSavegame::loadVehicle(TiXmlElement*, sID&)': savegame.cpp:536:18: warning: 'number' may be used uninitialized in this function [-Wmaybe-uninitialized] int tmpinteger, number, x, y; ^~~~~~ 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 -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:18: warning: 'sClientLandData::iLastLandY' will be initialized after [-Wreorder] int iLastLandX, iLastLandY; ^~~~~~~~~~ menus.h:54:16: warning: 'eLandingState sClientLandData::landingState' [-Wreorder] eLandingState landingState; ^~~~~~~~~~~~ menus.h:58:2: warning: when initialized here [-Wreorder] sClientLandData() : iLandX(0), iLandY(0), iLastLandX(0), iLastLandY(0), landingState ( LANDING_STATE_UNKNOWN ), receivedOK(true) {} ^~~~~~~~~~~~~~~ In file included from client.cpp:32: menus.h: In constructor 'cGameDataContainer::cGameDataContainer()': menus.h:154:8: warning: 'cGameDataContainer::map' will be initialized after [-Wreorder] cMap *map; ^~~ menus.h:144:13: warning: 'eGameTypes cGameDataContainer::type' [-Wreorder] eGameTypes type; ^~~~ menus.h:164:2: warning: when initialized here [-Wreorder] cGameDataContainer() : settings(NULL), map(NULL), type(GAME_TYPE_SINGLE), savegameNum(-1) {} ^~~~~~~~~~~~~~~~~~ client.cpp: In constructor 'sFX::sFX(eFXTyps, int, int)': client.cpp:64:9: warning: enumeration value 'fxMuzzleBig' not handled in switch [-Wswitch] switch ( typ ) ^ client.cpp:64:9: warning: enumeration value 'fxMuzzleSmall' not handled in switch [-Wswitch] client.cpp:64:9: warning: enumeration value 'fxMuzzleMed' not handled in switch [-Wswitch] client.cpp:64:9: warning: enumeration value 'fxMuzzleMedLong' not handled in switch [-Wswitch] client.cpp:64:9: warning: enumeration value 'fxExploSmall' not handled in switch [-Wswitch] client.cpp:64:9: warning: enumeration value 'fxExploBig' not handled in switch [-Wswitch] client.cpp:64:9: warning: enumeration value 'fxExploAir' not handled in switch [-Wswitch] client.cpp:64:9: warning: enumeration value 'fxExploWater' not handled in switch [-Wswitch] client.cpp:64:9: warning: enumeration value 'fxHit' not handled in switch [-Wswitch] client.cpp:64:9: warning: enumeration value 'fxSmoke' not handled in switch [-Wswitch] client.cpp:64:9: warning: enumeration value 'fxBubbles' not handled in switch [-Wswitch] client.cpp:64:9: warning: enumeration value 'fxCorpse' not handled in switch [-Wswitch] client.cpp:64:9: warning: enumeration value 'fxAbsorb' not handled in switch [-Wswitch] client.cpp: In member function 'void cClient::run()': client.cpp:338:57: warning: narrowing conversion of '(SettingsData.cSettings::iScreenH - 30)' from 'int' to 'Sint16' {aka 'short int'} inside { } [-Wnarrowing] SDL_Rect bottomDisplay = {240, SettingsData.iScreenH - 30, 400, 30}; ~~~~~~~~~~~~~~~~~~~~~~^~~~ client.cpp: In member function 'void cClient::handleMouseInput(sMouseState)': client.cpp:556:54: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if ( SelectedVehicle && SelectedVehicle->MenuActive && SelectedVehicle->MouseOverMenu ( mouse->x, mouse->y ) || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client.cpp: In member function 'void cClient::drawMap(bool)': client.cpp:1549:55: warning: narrowing conversion of '(SettingsData.cSettings::iScreenW - 192)' from 'int' to 'Uint16' {aka 'short unsigned int'} inside { } [-Wnarrowing] SDL_Rect clipRect = { 180, 18, SettingsData.iScreenW - 192, SettingsData.iScreenH - 32 }; ~~~~~~~~~~~~~~~~~~~~~~^~~~~ client.cpp:1549:84: warning: narrowing conversion of '(SettingsData.cSettings::iScreenH - 32)' from 'int' to 'Uint16' {aka 'short unsigned int'} inside { } [-Wnarrowing] SDL_Rect clipRect = { 180, 18, SettingsData.iScreenW - 192, SettingsData.iScreenH - 32 }; ~~~~~~~~~~~~~~~~~~~~~~^~~~ client.cpp:1545:8: warning: unused variable 'factor' [-Wunused-variable] float factor = (float)(Hud.Zoom/64.0); ^~~~~~ client.cpp: In member function 'void cClient::displayFX()': client.cpp:2230:55: warning: narrowing conversion of '(SettingsData.cSettings::iScreenW - 192)' from 'int' to 'Uint16' {aka 'short unsigned int'} inside { } [-Wnarrowing] SDL_Rect clipRect = { 180, 18, SettingsData.iScreenW - 192, SettingsData.iScreenH - 32 }; ~~~~~~~~~~~~~~~~~~~~~~^~~~~ client.cpp:2230:84: warning: narrowing conversion of '(SettingsData.cSettings::iScreenH - 32)' from 'int' to 'Uint16' {aka 'short unsigned int'} inside { } [-Wnarrowing] SDL_Rect clipRect = { 180, 18, SettingsData.iScreenW - 192, SettingsData.iScreenH - 32 }; ~~~~~~~~~~~~~~~~~~~~~~^~~~ client.cpp: In member function 'void cClient::displayFXBottom()': client.cpp:2245:55: warning: narrowing conversion of '(SettingsData.cSettings::iScreenW - 192)' from 'int' to 'Uint16' {aka 'short unsigned int'} inside { } [-Wnarrowing] SDL_Rect clipRect = { 180, 18, SettingsData.iScreenW - 192, SettingsData.iScreenH - 32 }; ~~~~~~~~~~~~~~~~~~~~~~^~~~~ client.cpp:2245:84: warning: narrowing conversion of '(SettingsData.cSettings::iScreenH - 32)' from 'int' to 'Uint16' {aka 'short unsigned int'} inside { } [-Wnarrowing] SDL_Rect clipRect = { 180, 18, SettingsData.iScreenW - 192, SettingsData.iScreenH - 32 }; ~~~~~~~~~~~~~~~~~~~~~~^~~~ client.cpp: In member function 'void cClient::drawFX(int)': client.cpp:2339:9: warning: enumeration value 'fxTorpedo' not handled in switch [-Wswitch] switch ( fx->typ ) ^ client.cpp:2339:9: warning: enumeration value 'fxTracks' not handled in switch [-Wswitch] client.cpp:2339:9: warning: enumeration value 'fxBubbles' not handled in switch [-Wswitch] client.cpp:2339:9: warning: enumeration value 'fxCorpse' not handled in switch [-Wswitch] client.cpp: In member function 'void cClient::drawFXBottom(int)': client.cpp:2590:9: warning: enumeration value 'fxMuzzleBig' not handled in switch [-Wswitch] switch ( fx->typ ) ^ client.cpp:2590:9: warning: enumeration value 'fxMuzzleSmall' not handled in switch [-Wswitch] client.cpp:2590:9: warning: enumeration value 'fxMuzzleMed' not handled in switch [-Wswitch] client.cpp:2590:9: warning: enumeration value 'fxMuzzleMedLong' not handled in switch [-Wswitch] client.cpp:2590:9: warning: enumeration value 'fxExploSmall' not handled in switch [-Wswitch] client.cpp:2590:9: warning: enumeration value 'fxExploBig' not handled in switch [-Wswitch] client.cpp:2590:9: warning: enumeration value 'fxExploAir' not handled in switch [-Wswitch] client.cpp:2590:9: warning: enumeration value 'fxExploWater' not handled in switch [-Wswitch] client.cpp:2590:9: warning: enumeration value 'fxHit' not handled in switch [-Wswitch] client.cpp:2590:9: warning: enumeration value 'fxSmoke' not handled in switch [-Wswitch] client.cpp:2590:9: warning: enumeration value 'fxRocket' not handled in switch [-Wswitch] client.cpp:2590:9: warning: enumeration value 'fxDarkSmoke' not handled in switch [-Wswitch] client.cpp:2590:9: warning: enumeration value 'fxAbsorb' not handled in switch [-Wswitch] client.cpp: In member function 'void cClient::drawUnitCircles()': client.cpp:2695:55: warning: narrowing conversion of '(SettingsData.cSettings::iScreenW - 192)' from 'int' to 'Uint16' {aka 'short unsigned int'} inside { } [-Wnarrowing] SDL_Rect clipRect = { 180, 18, SettingsData.iScreenW - 192, SettingsData.iScreenH - 32 }; ~~~~~~~~~~~~~~~~~~~~~~^~~~~ client.cpp:2695:84: warning: narrowing conversion of '(SettingsData.cSettings::iScreenH - 32)' from 'int' to 'Uint16' {aka 'short unsigned int'} inside { } [-Wnarrowing] SDL_Rect clipRect = { 180, 18, SettingsData.iScreenW - 192, SettingsData.iScreenH - 32 }; ~~~~~~~~~~~~~~~~~~~~~~^~~~ client.cpp:2721:19: warning: suggest parentheses around '&&' within '||' [-Wparentheses] v.IsBuilding && v.BuildRounds == 0 || ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ client.cpp: In member function 'void cClient::displayDebugOutput()': client.cpp:2843:48: warning: narrowing conversion of '(SettingsData.cSettings::iScreenW - 140)' from 'int' to 'Sint16' {aka 'short int'} inside { } [-Wnarrowing] #define DEBUGOUT_X_POS (SettingsData.iScreenW-140) ~~~~~~~~~~~~~~~~~~~~~~^~~~~ client.cpp:2852:22: note: in expansion of macro 'DEBUGOUT_X_POS' SDL_Rect rDest = { DEBUGOUT_X_POS, iDebugOff, 20, 10 }; ^~~~~~~~~~~~~~ client.cpp:2852:38: warning: narrowing conversion of '((cClient*)this)->cClient::iDebugOff' from 'int' to 'Sint16' {aka 'short int'} inside { } [-Wnarrowing] SDL_Rect rDest = { DEBUGOUT_X_POS, iDebugOff, 20, 10 }; ^~~~~~~~~ client.cpp:2854:38: warning: narrowing conversion of '((SettingsData.cSettings::iScreenW - 140) - 10)' from 'int' to 'Sint16' {aka 'short int'} inside { } [-Wnarrowing] SDL_Rect rDotDest = {DEBUGOUT_X_POS-10, iDebugOff, 10, 10 }; ^ client.cpp:2854:43: warning: narrowing conversion of '((cClient*)this)->cClient::iDebugOff' from 'int' to 'Sint16' {aka 'short int'} inside { } [-Wnarrowing] SDL_Rect rDotDest = {DEBUGOUT_X_POS-10, iDebugOff, 10, 10 }; ^~~~~~~~~ client.cpp:2855:39: warning: narrowing conversion of '((SettingsData.cSettings::iScreenW - 140) + 20)' from 'int' to 'Sint16' {aka 'short int'} inside { } [-Wnarrowing] SDL_Rect rBlackOut = {DEBUGOUT_X_POS+20, iDebugOff, 0, 10 }; ^ client.cpp:2855:44: warning: narrowing conversion of '((cClient*)this)->cClient::iDebugOff' from 'int' to 'Sint16' {aka 'short int'} inside { } [-Wnarrowing] SDL_Rect rBlackOut = {DEBUGOUT_X_POS+20, iDebugOff, 0, 10 }; ^~~~~~~~~ client.cpp: In member function 'void cClient::mouseMoveCallback(bool)': client.cpp:3546:17: warning: '0' flag ignored with precision and '%d' gnu_printf format [-Wformat=] sprintf ( str, "%0.3d-%0.3d", iX, iY ); ^~~~~~~~~~~~~ client.cpp:3546:17: warning: '0' flag ignored with precision and '%d' gnu_printf format [-Wformat=] client.cpp: In member function 'void cClient::handleMessages()': client.cpp:3732:56: warning: narrowing conversion of 'font->cUnicodeFont::getFontHeight(FONT_LATIN_NORMAL)' from 'int' to 'Uint16' {aka 'short unsigned int'} inside { } [-Wnarrowing] SDL_Rect rColorSrc = { 0, 0, 10, font->getFontHeight() }; ~~~~~~~~~~~~~~~~~~~^~ client.cpp: In member function 'int cClient::HandleNetMessage(cNetMessage*)': client.cpp:4090:28: warning: suggest parentheses around comparison in operand of '!=' [-Wparentheses] if ( Vehicle->Disabled > 0 != bWasDisabled ) Vehicle->owner->DoScan(); ~~~~~~~~~~~~~~~~~~^~~ client.cpp:4110:29: warning: suggest parentheses around comparison in operand of '!=' [-Wparentheses] if ( Building->Disabled > 0 != bWasDisabled ) Building->owner->DoScan(); ~~~~~~~~~~~~~~~~~~~^~~ client.cpp:4034:13: warning: unused variable 'Player' [-Wunused-variable] cPlayer *Player = getPlayerFromNumber ( message->popInt16() ); ^~~~~~ client.cpp: In member function 'cVehicle* cClient::getVehicleFromID(int)': client.cpp:5609:22: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ( Vehicle->iID == iID ) return Vehicle; ~~~~~~~~~~~~~^~~~~~ client.cpp: In member function 'cBuilding* cClient::getBuildingFromID(int)': client.cpp:5624:23: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ( Building->iID == iID ) return Building; ~~~~~~~~~~~~~~^~~~~~ client.cpp:5632:22: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 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 -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:18: warning: 'sClientLandData::iLastLandY' will be initialized after [-Wreorder] int iLastLandX, iLastLandY; ^~~~~~~~~~ menus.h:54:16: warning: 'eLandingState sClientLandData::landingState' [-Wreorder] eLandingState landingState; ^~~~~~~~~~~~ menus.h:58:2: warning: when initialized here [-Wreorder] sClientLandData() : iLandX(0), iLandY(0), iLastLandX(0), iLastLandY(0), landingState ( LANDING_STATE_UNKNOWN ), receivedOK(true) {} ^~~~~~~~~~~~~~~ In file included from menus.cpp:22: menus.h: In constructor 'cGameDataContainer::cGameDataContainer()': menus.h:154:8: warning: 'cGameDataContainer::map' will be initialized after [-Wreorder] cMap *map; ^~~ menus.h:144:13: warning: 'eGameTypes cGameDataContainer::type' [-Wreorder] eGameTypes type; ^~~~ menus.h:164:2: warning: when initialized here [-Wreorder] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] delete arrowDownButton; ^~~~~~~~~~~~~~~ menus.cpp:1174:24: warning: deleting object of polymorphic class type 'cMenuImage' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete planetImages[i]; ^ menus.cpp:1175:24: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 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] 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] 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] 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] 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] delete clanDescription2; ^~~~~~~~~~~~~~~~ menus.cpp:1483:22: warning: deleting object of polymorphic class type 'cMenuImage' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete clanImages[i]; ^ menus.cpp:1484:21: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] delete materialBarDownButton; ^~~~~~~~~~~~~~~~~~~~~ menus.cpp: In member function 'void cStartupHangarMenu::updateUnitData()': menus.cpp:1898:11: warning: enumeration value 'UPGRADE_TYPE_NONE' not handled in switch [-Wswitch] switch ( upgrades[j].type ) ^ menus.cpp: In member function 'virtual void cStartupHangarMenu::generateSelectionList()': menus.cpp:2052:13: warning: unused variable 'oldSelectdBuilding' [-Wunused-variable] sBuilding *oldSelectdBuilding = NULL; ^~~~~~~~~~~~~~~~~~ In file included from menus.cpp:22: menus.h: In constructor 'cLandingMenu::cLandingMenu(cGameDataContainer*, cPlayer*)': menus.h:650:15: warning: 'cLandingMenu::mapSurface' will be initialized after [-Wreorder] SDL_Surface *mapSurface; ^~~~~~~~~~ menus.h:643:22: warning: 'cGameDataContainer* cLandingMenu::gameDataContainer' [-Wreorder] cGameDataContainer *gameDataContainer; ^~~~~~~~~~~~~~~~~ menus.cpp:2175:1: warning: when initialized here [-Wreorder] 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] 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] 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] 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] delete infoLabel; ^~~~~~~~~ menus.cpp: In member function 'void cLandingMenu::hitPosition()': menus.cpp:2381:9: warning: enumeration value 'GAME_TYPE_HOTSEAT' not handled in switch [-Wswitch] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] delete playersBox; ^~~~~~~~~~ menus.cpp: In member function 'void cNetworkMenu::showMap()': menus.cpp:2606:12: warning: unused variable 'rSrc' [-Wunused-variable] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] delete downButton; ^~~~~~~~~~ menus.cpp:3601:21: warning: deleting object of polymorphic class type 'cMenuSaveSlot' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] delete goldBarLabel; ^~~~~~~~~~~~ menus.cpp: In constructor 'cUpgradeMenu::cUpgradeMenu(cPlayer*)': menus.cpp:4259:143: warning: base 'cUpgradeHangarMenu' will be initialized after [-Wreorder] 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] 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] 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] 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] 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] 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] 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] delete unit; ^~~~ In file included from menus.cpp:22: menus.h: In constructor 'cStorageMenu::cStorageMenu(cList&, cVehicle*, cBuilding*)': menus.h:966:21: warning: 'cStorageMenu::storageList' will be initialized after [-Wreorder] cList &storageList; ^~~~~~~~~~~ menus.h:964:12: warning: 'cVehicle* cStorageMenu::ownerVehicle' [-Wreorder] cVehicle *ownerVehicle; ^~~~~~~~~~~~ menus.cpp:4431:1: warning: when initialized here [-Wreorder] 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] delete doneButton; ^~~~~~~~~~ In file included from menus.cpp:22: menus.h: In constructor 'cMineManagerMenu::cMineManagerMenu(cBuilding*)': menus.h:1028:11: warning: 'cMineManagerMenu::subBase' will be initialized after [-Wreorder] sSubBase subBase; ^~~~~~~ menus.h:1027:13: warning: 'cBuilding* cMineManagerMenu::building' [-Wreorder] cBuilding *building; ^~~~~~~~ menus.cpp:4800:1: warning: when initialized here [-Wreorder] 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] 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] delete doneButton; ^~~~~~~~~~ menus.cpp:4876:22: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete incButtons[i]; ^ menus.cpp:4877:22: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete decButtons[i]; ^ menus.cpp:4879:26: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete resourceLabels[i]; ^ menus.cpp:4880:23: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete usageLabels[i]; ^ menus.cpp:4881:25: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete reserveLabels[i]; ^ menus.cpp:4883:21: warning: deleting object of polymorphic class type 'cMenuMaterialBar' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete metalBars[i]; ^ menus.cpp:4884:19: warning: deleting object of polymorphic class type 'cMenuMaterialBar' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete oilBars[i]; ^ menus.cpp:4885:20: warning: deleting object of polymorphic class type 'cMenuMaterialBar' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete goldBars[i]; ^ menus.cpp:4887:26: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete metalBarLabels[i]; ^ menus.cpp:4888:24: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete oilBarLabels[i]; ^ menus.cpp:4889:25: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete goldBarLabels[i]; ^ menus.cpp:4891:20: warning: deleting object of polymorphic class type 'cMenuMaterialBar' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] delete dataScreen; ^~~~~~~~~~ menus.cpp: In member function 'SDL_Surface* cMainMenu::getRandomInfoImage()': menus.cpp:652:15: warning: 'unitShow' may be used uninitialized in this function [-Wmaybe-uninitialized] lastUnitShow = unitShow; //store shown unit ~~~~~~~~~~~~~^~~~~~~~~~ menus.cpp: In member function 'bool cNetworkHostMenu::runSavedGame()': menus.cpp:3124:21: warning: 'localPlayer' may be used uninitialized in this function [-Wmaybe-uninitialized] Client->initPlayer ( localPlayer ); ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ 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 -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 -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.1174 + 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 + 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) /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 Processing files: maxr-0.2.6-alt2_3 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.55605 + 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.t0bjt7 find-provides: running scripts (alternatives,debuginfo,gir,lib,pam,perl,pkgconfig,python,shell,typelib) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.HGAXQs find-requires: running scripts (cpp,debuginfo,files,gir-js,gir-python,gir,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,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.4), libgcc_s.so.1(GCC_3.0), libm.so.6(GLIBC_2.0), libm.so.6(GLIBC_2.1), libm.so.6(GLIBC_2.27), 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.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.oCTgxo 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.vqJhXP find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.pn4a5C 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 Wrote: /usr/src/RPM/RPMS/i586/maxr-debuginfo-0.2.6-alt2_3.i586.rpm 139.86user 4.80system 1:22.58elapsed 175%CPU (0avgtext+0avgdata 348980maxresident)k 0inputs+0outputs (0major+2363043minor)pagefaults 0swaps 165.46user 10.22system 2:50.31elapsed 103%CPU (0avgtext+0avgdata 348980maxresident)k 45448inputs+0outputs (0major+3060286minor)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 2019-02-05 13:08:57.430307607 +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,2 +1333,3 @@ Requires: libc.so.6(GLIBC_2.11) +Requires: libc.so.6(GLIBC_2.3) Requires: libc.so.6(GLIBC_2.3.4) @@ -1338,6 +1339,10 @@ Requires: libm.so.6(GLIBC_2.1) -Requires: libpthread.so.0(GLIBC_2.0) +Requires: libm.so.6(GLIBC_2.27) 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.9) --- 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 2019-02-05 13:08:57.513308217 +0000 @@ -30,2 +30,3 @@ /usr/src/debug/maxr-0.2.6/src/files.cpp 100644 +/usr/src/debug/maxr-0.2.6/src/files.h 100644 /usr/src/debug/maxr-0.2.6/src/hud.cpp 100644 @@ -59,2 +60,3 @@ /usr/src/debug/maxr-0.2.6/src/mveplayer.cpp 100644 +/usr/src/debug/maxr-0.2.6/src/mveplayer.h 100644 /usr/src/debug/maxr-0.2.6/src/netmessage.cpp 100644 @@ -64,2 +66,3 @@ /usr/src/debug/maxr-0.2.6/src/pcx.cpp 100644 +/usr/src/debug/maxr-0.2.6/src/pcx.h 100644 /usr/src/debug/maxr-0.2.6/src/player.cpp 100644 @@ -97,3 +100,2 @@ Requires: debug(libm.so.6) -Requires: debug(libpthread.so.0) Requires: debug(libstdc++.so.6)