<86>Nov 27 13:01:25 userdel[10010]: delete user 'rooter' <86>Nov 27 13:01:25 userdel[10010]: removed group 'rooter' owned by 'rooter' <86>Nov 27 13:01:25 userdel[10010]: removed shadow group 'rooter' owned by 'rooter' <86>Nov 27 13:01:25 groupadd[10020]: group added to /etc/group: name=rooter, GID=543 <86>Nov 27 13:01:25 groupadd[10020]: group added to /etc/gshadow: name=rooter <86>Nov 27 13:01:25 groupadd[10020]: new group: name=rooter, GID=543 <86>Nov 27 13:01:25 useradd[10027]: new user: name=rooter, UID=543, GID=543, home=/root, shell=/bin/bash <86>Nov 27 13:01:25 userdel[10039]: delete user 'builder' <86>Nov 27 13:01:25 userdel[10039]: removed group 'builder' owned by 'builder' <86>Nov 27 13:01:25 userdel[10039]: removed shadow group 'builder' owned by 'builder' <86>Nov 27 13:01:25 groupadd[10048]: group added to /etc/group: name=builder, GID=544 <86>Nov 27 13:01:25 groupadd[10048]: group added to /etc/gshadow: name=builder <86>Nov 27 13:01:25 groupadd[10048]: new group: name=builder, GID=544 <86>Nov 27 13:01:25 useradd[10052]: new user: name=builder, UID=544, GID=544, home=/usr/src, shell=/bin/bash /usr/src/in/srpm/maxr-0.2.6-alt2_3.src.rpm: license not found in '/usr/share/license' directory: GFDL warning: user igor does not exist - using root warning: group igor does not exist - using root warning: user igor does not exist - using root warning: group igor does not exist - using root warning: user igor does not exist - using root warning: group igor does not exist - using root warning: user igor does not exist - using root warning: group igor does not exist - using root warning: user igor does not exist - using root warning: group igor does not exist - using root <13>Nov 27 13:01:30 rpmi: rpm-macros-kde-common-devel-14.12.1-alt1 1422279175 installed <13>Nov 27 13:01:30 rpmi: rpm-macros-generic-compat-0.04-alt1 1527350580 installed <13>Nov 27 13:01:30 rpmi: rpm-macros-fedora-compat-0.156-alt1 sisyphus+221696.100.1.1 1550345568 installed <13>Nov 27 13:01:37 rpmi: libpng16-1.6.37-alt1 sisyphus+236677.100.2.1 1566917998 installed <13>Nov 27 13:01:37 rpmi: libexpat-2.2.4-alt1 1503305345 installed <13>Nov 27 13:01:37 rpmi: xorg-proto-devel-2019.1-alt1 sisyphus+232786.100.1.1 1561106722 installed <13>Nov 27 13:01:37 rpmi: libjpeg-2:2.0.2-alt1 sisyphus+226996.100.1.1 1554902907 installed <13>Nov 27 13:01:37 rpmi: libogg-1.3.3-alt1 sisyphus+221902.4000.4.1 1550598661 installed <13>Nov 27 13:01:37 rpmi: libvorbis-1.3.6-alt2 sisyphus+220072.200.2.2 1548744475 installed <13>Nov 27 13:01:37 rpmi: zlib-devel-1.2.11-alt1 sisyphus+221902.6000.4.1 1550601058 installed <13>Nov 27 13:01:37 rpmi: libglvnd-7:1.2.0-alt4 sisyphus+241659.100.1.1 1574755345 installed <13>Nov 27 13:01:37 rpmi: libICE-1.0.9-alt1 1409902721 installed <13>Nov 27 13:01:37 rpmi: libSM-1.2.3-alt1 sisyphus+226734.100.2.1 1554586158 installed <13>Nov 27 13:01:37 rpmi: libpng-devel-1.6.37-alt1 sisyphus+236677.100.2.1 1566917998 installed <13>Nov 27 13:01:37 rpmi: libflac8-1.3.2-alt2 sisyphus+220898.4400.11.1 1551973321 installed <13>Nov 27 13:01:37 rpmi: libphysfs-3.0.2-alt1 sisyphus+227312.100.1.1 1555511355 installed <13>Nov 27 13:01:37 rpmi: libwebp7-1.0.3-alt1 sisyphus+234493.100.1.1 1563090160 installed <13>Nov 27 13:01:37 rpmi: libogg-devel-1.3.3-alt1 sisyphus+221902.4000.4.1 1550598661 installed <13>Nov 27 13:01:37 rpmi: libquadmath0-9.2.1-alt2 sisyphus+240563.200.2.1 1573479396 installed <13>Nov 27 13:01:38 rpmi: libicu65-1:6.5.1-alt1 sisyphus+238768.100.16.1 1571427455 installed <13>Nov 27 13:01:38 rpmi: libltdl7-2.4.6-alt1 sisyphus+226971.100.2.1 1554906368 installed <13>Nov 27 13:01:38 rpmi: libopenjpeg2.0-2.3.1-alt1 sisyphus+226454.100.1.1 1554284337 installed <13>Nov 27 13:01:38 rpmi: libjbig-2.1-alt1 1401380926 installed <13>Nov 27 13:01:38 rpmi: libtiff5-4.1.0-alt1 sisyphus+240802.100.1.1 1573743635 installed <13>Nov 27 13:01:38 rpmi: libwayland-server-1.17.0-alt1 sisyphus+225894.100.1.1 1553872805 installed <13>Nov 27 13:01:38 rpmi: libgraphite2-1.3.13-alt2 sisyphus+226799.100.1.1 1554648241 installed <13>Nov 27 13:01:38 rpmi: libharfbuzz-2.6.4-alt1 sisyphus+240033.100.1.1 1572506773 installed <13>Nov 27 13:01:38 rpmi: libfreetype-2.10.1-alt1 sisyphus+237471.100.1.1 1568276356 installed <13>Nov 27 13:01:38 rpmi: fontconfig-2.13.1-alt1 sisyphus+226691.100.2.2 1554598726 installed Updating fonts cache: <29>Nov 27 13:01:39 fontconfig: Updating fonts cache: succeeded [ DONE ] <13>Nov 27 13:01:39 rpmi: ilmbase24-common-2.3.0-alt1 sisyphus+237892.300.1.1 1568978210 installed <13>Nov 27 13:01:39 rpmi: libiex24-2.3.0-alt1 sisyphus+237892.300.1.1 1568978210 installed <13>Nov 27 13:01:39 rpmi: python-base-2.7.17-alt3 sisyphus+240580.60.5.1 1573516905 installed <13>Nov 27 13:01:39 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268152 installed <13>Nov 27 13:01:39 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Nov 27 13:01:39 rpmi: libXau-devel-1.0.9-alt1 sisyphus+223149.200.2.1 1551268152 installed <13>Nov 27 13:01:39 rpmi: libilmthread24-2.3.0-alt1 sisyphus+237892.300.1.1 1568978210 installed <13>Nov 27 13:01:39 rpmi: libhalf24-2.3.0-alt1 sisyphus+237892.300.1.1 1568978210 installed <13>Nov 27 13:01:39 rpmi: libharfbuzz-icu-2.6.4-alt1 sisyphus+240033.100.1.1 1572506773 installed <13>Nov 27 13:01:39 rpmi: libgraphite2-devel-1.3.13-alt2 sisyphus+226799.100.1.1 1554648241 installed <13>Nov 27 13:01:40 rpmi: icu-utils-1:6.5.1-alt1 sisyphus+238768.100.16.1 1571427455 installed <13>Nov 27 13:01:40 rpmi: libicu-devel-1:6.5.1-alt1 sisyphus+238768.100.16.1 1571427455 installed <13>Nov 27 13:01:40 rpmi: libquadmath9-devel-9.2.1-alt2 sisyphus+240563.200.2.1 1573479396 installed <13>Nov 27 13:01:40 rpmi: libgfortran5-9.2.1-alt2 sisyphus+240563.200.2.1 1573479396 installed <13>Nov 27 13:01:40 rpmi: libvorbis-devel-1.3.6-alt2 sisyphus+220072.200.2.2 1548744475 installed <13>Nov 27 13:01:40 rpmi: libphysfs-devel-3.0.2-alt1 sisyphus+227312.100.1.1 1555511355 installed <13>Nov 27 13:01:40 rpmi: libICE-devel-1.0.9-alt1 1409902721 installed <13>Nov 27 13:01:40 rpmi: libOpenGL-7:1.2.0-alt4 sisyphus+241659.100.1.1 1574755345 installed <13>Nov 27 13:01:40 rpmi: libGLES-7:1.2.0-alt4 sisyphus+241659.100.1.1 1574755345 installed <13>Nov 27 13:01:40 rpmi: libjasper-2.0.16-alt1 sisyphus+231386.100.1.1 1559568070 installed <13>Nov 27 13:01:40 rpmi: libnatspec-0.3.1-alt2 1445691580 installed <13>Nov 27 13:01:40 rpmi: liblua5.1-preinstall-5.1.5-alt16 sisyphus+237725.500.7.3 1569407795 installed <13>Nov 27 13:01:40 rpmi: liblua5.1-5.1.5-alt16 sisyphus+237725.500.7.3 1569407795 installed <13>Nov 27 13:01:40 rpmi: libreadline-devel-7.0.3-alt3 sisyphus+222164.300.1.1 1550686330 installed <13>Nov 27 13:01:40 rpmi: liblua5.1-compat-devel-5.1.5-alt16 sisyphus+237725.500.7.3 1569407795 installed <13>Nov 27 13:01:40 rpmi: liblua5.1-devel-5.1.5-alt16 sisyphus+237725.500.7.3 1569407795 installed <13>Nov 27 13:01:40 rpmi: libspeex-1.2-alt1 1528115225 installed <13>Nov 27 13:01:40 rpmi: libmodplug-0.8.9.0-alt1 sisyphus+224334.100.1.1 1552243563 installed <13>Nov 27 13:01:40 rpmi: libmad-0.15.1b-alt9 sisyphus+222614.100.1.1 1550890149 installed <13>Nov 27 13:01:40 rpmi: timidity-instruments-1:1.0-alt1 1166705614 installed <13>Nov 27 13:01:40 rpmi: libgsm-1.0.17-alt1 1523356165 installed <13>Nov 27 13:01:40 rpmi: libsndfile-1.0.28-alt2 sisyphus.212728.100 1536333068 installed <13>Nov 27 13:01:40 rpmi: libasyncns-0.8-alt2.qa1 1365949820 installed <13>Nov 27 13:01:40 rpmi: gcc-fortran-common-1.4.24-alt2 sisyphus+240563.100.1.1 1573475389 installed <13>Nov 27 13:01:40 rpmi: libgfortran9-devel-9.2.1-alt2 sisyphus+240563.200.2.1 1573479396 installed <13>Nov 27 13:01:42 rpmi: gcc9-fortran-9.2.1-alt2 sisyphus+240563.200.2.1 1573479396 installed <13>Nov 27 13:01:42 rpmi: gcc-c++-common-1.4.24-alt2 sisyphus+240563.100.1.1 1573475389 installed <13>Nov 27 13:01:42 rpmi: libstdc++9-devel-9.2.1-alt2 sisyphus+240563.200.2.1 1573479396 installed <13>Nov 27 13:01:43 rpmi: gcc9-c++-9.2.1-alt2 sisyphus+240563.200.2.1 1573479396 installed <13>Nov 27 13:01:43 rpmi: libstdc++-devel-9-alt1 sisyphus+239632.300.3.1 1571789214 installed <13>Nov 27 13:01:43 rpmi: xml-utils-1:2.9.10-alt2 sisyphus+240156.100.1.1 1572696450 installed <13>Nov 27 13:01:43 rpmi: rpm-build-gir-0.7.3-alt2 sisyphus+234037.40.2.1 1562495133 installed <13>Nov 27 13:01:43 rpmi: libjack-1:1.9.12-alt2 sisyphus+222776.100.1.1 1551043818 installed <13>Nov 27 13:01:43 rpmi: alsa-ucm-conf-1.2.1-alt1 sisyphus+240942.200.4.1 1574247473 installed <13>Nov 27 13:01:43 rpmi: alsa-topology-conf-1.2.1-alt1 sisyphus+240942.100.4.1 1574247451 installed <13>Nov 27 13:01:44 rpmi: libalsa-1:1.2.1.1-alt1 sisyphus+241493.100.1.1 1574412510 installed <13>Nov 27 13:01:44 rpmi: libwmflite-0.2.8.4-alt13 1506519339 installed <13>Nov 27 13:01:44 rpmi: liblqr-0.4.2-alt1 1383038438 installed <13>Nov 27 13:01:44 rpmi: liblcms2-2.9-alt1 1516411892 installed <13>Nov 27 13:01:44 rpmi: libgomp1-9.2.1-alt2 sisyphus+240563.200.2.1 1573479396 installed <13>Nov 27 13:01:44 rpmi: djvu-common-3.5.25.3-alt1 1365826139 installed <13>Nov 27 13:01:44 rpmi: libdjvu-3.5.25.3-alt1 1365826139 installed <13>Nov 27 13:01:44 rpmi: libgts-0.7.6-alt2.drc20130205.1 sisyphus+225727.500.8.1 1553672623 installed <13>Nov 27 13:01:44 rpmi: libpaper-1.1.26-alt1 sisyphus+221360.100.1.1 1549974197 installed <13>Nov 27 13:01:44 rpmi: icon-theme-hicolor-0.17-alt1 1505715846 installed <13>Nov 27 13:01:44 rpmi: libgdk-pixbuf-locales-2.40.0-alt1 sisyphus+238952.140.2.1 1570644607 installed <13>Nov 27 13:01:44 rpmi: libgtk+2-locales-2.24.32-alt3 sisyphus+227306.100.1.3 1555646039 installed <13>Nov 27 13:01:44 rpmi: libatk-locales-2.34.1-alt1 sisyphus+237956.700.4.2 1569332333 installed <13>Nov 27 13:01:44 rpmi: libatk-2.34.1-alt1 sisyphus+237956.700.4.2 1569332796 installed <13>Nov 27 13:01:44 rpmi: libdatrie-0.2.9-alt1_6 1511686676 installed <13>Nov 27 13:01:44 rpmi: libthai-0.1.28-alt1_1 sisyphus+226107.100.1.1 1554123079 installed <13>Nov 27 13:01:44 rpmi: libfribidi-1.0.7-alt1 sisyphus+238256.100.1.1 1569654633 installed <13>Nov 27 13:01:44 rpmi: libpixman-3:0.38.4-alt1 sisyphus+228006.100.1.1 1556013870 installed <13>Nov 27 13:01:44 rpmi: libxshmfence-1.3-alt1 sisyphus+223149.1000.2.1 1551268571 installed <13>Nov 27 13:01:44 rpmi: libwayland-client-1.17.0-alt1 sisyphus+225894.100.1.1 1553872805 installed <13>Nov 27 13:01:44 rpmi: libpciaccess-1:0.16-alt1 sisyphus+234814.100.1.1 1563438291 installed <13>Nov 27 13:01:44 rpmi: libdrm-1:2.4.100-alt1 sisyphus+240099.100.1.1 1572599774 installed <13>Nov 27 13:01:44 rpmi: libgbm-4:19.2.6-alt2 sisyphus+241659.200.1.1 1574755628 installed <13>Nov 27 13:01:44 rpmi: openexr24-common-2.3.0-alt2 sisyphus+237980.100.1.1 1569181634 installed <13>Nov 27 13:01:45 rpmi: libilmimf24-2.3.0-alt2 sisyphus+237980.100.1.1 1569181634 installed <13>Nov 27 13:01:45 rpmi: libX11-locales-3:1.6.9-alt1 sisyphus+239210.100.1.1 1571056781 installed <13>Nov 27 13:01:45 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949353 installed <13>Nov 27 13:01:45 rpmi: libxcb-1.13.1-alt1 sisyphus+226527.100.2.2 1554593801 installed <13>Nov 27 13:01:45 rpmi: libX11-3:1.6.9-alt1 sisyphus+239210.100.1.1 1571056801 installed <13>Nov 27 13:01:45 rpmi: libXext-1.3.4-alt1 sisyphus+225206.700.1.2 1552949429 installed <13>Nov 27 13:01:45 rpmi: libXrender-0.9.8-alt1 1371312112 installed <13>Nov 27 13:01:45 rpmi: libXfixes-5.0.3-alt1 sisyphus+226736.100.2.2 1554614841 installed <13>Nov 27 13:01:45 rpmi: libXcursor-1.2.0-alt1 sisyphus+225206.400.1.2 1552949218 installed <13>Nov 27 13:01:45 rpmi: libXft-2.3.3-alt1 sisyphus+225206.1000.3.2 1552987708 installed <13>Nov 27 13:01:45 rpmi: libXrandr-1.5.2-alt1 sisyphus+225206.1300.1.2 1552949710 installed <13>Nov 27 13:01:45 rpmi: libXxf86vm-1.1.4-alt2 1527672187 installed <13>Nov 27 13:01:45 rpmi: libXdamage-1.1.5-alt1 sisyphus+225206.500.1.2 1552949286 installed <13>Nov 27 13:01:45 rpmi: libGLX-mesa-4:19.2.6-alt2 sisyphus+241659.200.1.1 1574755628 installed <13>Nov 27 13:01:45 rpmi: libEGL-mesa-4:19.2.6-alt2 sisyphus+241659.200.1.1 1574755628 installed <13>Nov 27 13:01:45 rpmi: libEGL-7:1.2.0-alt4 sisyphus+241659.100.1.1 1574755345 installed <13>Nov 27 13:01:47 rpmi: libxcb-devel-1.13.1-alt1 sisyphus+226527.100.2.2 1554593801 installed <13>Nov 27 13:01:47 rpmi: libX11-devel-3:1.6.9-alt1 sisyphus+239210.100.1.1 1571056801 installed <13>Nov 27 13:01:47 rpmi: libXrender-devel-0.9.8-alt1 1371312112 installed <13>Nov 27 13:01:47 rpmi: libXext-devel-1.3.4-alt1 sisyphus+225206.700.1.2 1552949429 installed <13>Nov 27 13:01:47 rpmi: libGLX-7:1.2.0-alt4 sisyphus+241659.100.1.1 1574755345 installed <13>Nov 27 13:01:47 rpmi: libGL-7:1.2.0-alt4 sisyphus+241659.100.1.1 1574755345 installed <13>Nov 27 13:01:47 rpmi: libglvnd-devel-7:1.2.0-alt4 sisyphus+241659.100.1.1 1574755345 installed <13>Nov 27 13:01:47 rpmi: libGL-devel-4:19.2.6-alt2 sisyphus+241659.200.1.1 1574755628 installed <13>Nov 27 13:01:47 rpmi: libcairo-1:1.16.0-alt1 sisyphus+226534.100.2.3 1554515535 installed <13>Nov 27 13:01:47 rpmi: libpango-1.44.7-alt1 sisyphus+239731.100.1.1 1571986949 installed <13>Nov 27 13:01:47 rpmi: libGLU-4:9.0.0-alt1 1347643784 installed <13>Nov 27 13:01:47 rpmi: libGLU-devel-4:9.0.0-alt1 1347643784 installed <13>Nov 27 13:01:47 rpmi: liblasi-1.1.3-alt2 sisyphus+239300.100.1.1 1571209616 installed <13>Nov 27 13:01:47 rpmi: libEGL-devel-4:19.2.6-alt2 sisyphus+241659.200.1.1 1574755628 installed <13>Nov 27 13:01:47 rpmi: libXi-1.7.10-alt1 sisyphus+232786.300.1.1 1561106978 installed <13>Nov 27 13:01:47 rpmi: libXinerama-1.1.4-alt1 sisyphus+223149.300.2.1 1551268216 installed <13>Nov 27 13:01:47 rpmi: libXxf86dga-1.1.5-alt1 sisyphus+225206.1500.1.2 1552949843 installed <13>Nov 27 13:01:47 rpmi: libXt-1.1.4-alt1 1369984722 installed <13>Nov 27 13:01:47 rpmi: libXpm-3.5.12-alt1 sisyphus+223149.400.2.1 1551268289 installed <13>Nov 27 13:01:48 rpmi: liballegro4.4-4.4.2-alt6 sisyphus+222708.100.1.1 1551003601 installed <13>Nov 27 13:01:48 rpmi: dumb-0.9.3-alt5 1523614896 installed <13>Nov 27 13:01:48 rpmi: libgd3-2.2.5-alt3 sisyphus+226800.200.2.1 1554649317 installed <13>Nov 27 13:01:48 rpmi: libXcomposite-0.4.5-alt1 sisyphus+225206.300.1.2 1552949137 installed <13>Nov 27 13:01:48 rpmi: shared-mime-info-1.15-alt1 sisyphus+240378.100.1.1 1573073800 installed <13>Nov 27 13:01:48 rpmi: gsettings-desktop-schemas-data-3.34.0-alt1 sisyphus+237956.300.4.2 1569331130 installed <13>Nov 27 13:01:48 rpmi: libgio-2.62.3-alt1 sisyphus+241586.200.1.1 1574668909 installed <13>Nov 27 13:01:48 rpmi: gsettings-desktop-schemas-3.34.0-alt1 sisyphus+237956.300.4.2 1569331192 installed <13>Nov 27 13:01:48 rpmi: libgdk-pixbuf-2.40.0-alt1 sisyphus+238952.140.2.1 1570644615 installed <13>Nov 27 13:01:48 rpmi: gtk-update-icon-cache-3.24.12-alt1 sisyphus+238952.400.5.1 1570658170 installed <13>Nov 27 13:01:48 rpmi: librsvg-1:2.46.4-alt1 sisyphus+241586.500.1.2 1574679453 installed <13>Nov 27 13:01:48 rpmi: libgdk-pixbuf-xlib-2.40.0-alt1 sisyphus+238952.140.2.1 1570644615 installed <13>Nov 27 13:01:48 rpmi: liblz4-1:1.9.2-alt1 sisyphus+238585.100.2.2 1570066927 installed <13>Nov 27 13:01:48 rpmi: libgpg-error-1.36-alt1 sisyphus+225621.300.1.1 1553521082 installed <13>Nov 27 13:01:48 rpmi: libgcrypt20-1.8.5-alt3 sisyphus+239622.100.1.1 1571746654 installed <13>Nov 27 13:01:48 rpmi: libsystemd-1:243.4-alt1 sisyphus+241522.200.3.1 1574779014 installed <13>Nov 27 13:01:48 rpmi: libdbus-1.12.16-alt2 sisyphus+240566.100.2.1 1573547696 installed <13>Nov 27 13:01:48 rpmi: libpulseaudio-13.0-alt2 sisyphus+240493.100.1.1 1573226515 installed <13>Nov 27 13:01:48 rpmi: libSDL-1.2.14-alt8 sisyphus+232545.100.1.1 1560879163 installed <13>Nov 27 13:01:49 rpmi: libSDL-devel-1.2.14-alt8 sisyphus+232545.100.1.1 1560879163 installed <13>Nov 27 13:01:49 rpmi: libmikmod-3.3.11.1-alt2 1502706814 installed <13>Nov 27 13:01:49 rpmi: libSDL_sound-1.0.3-alt4 sisyphus+222884.100.1.1 1551178000 installed <13>Nov 27 13:01:49 rpmi: libSDL_image-1.2.12-alt2 sisyphus+223384.100.1.1 1551514520 installed <13>Nov 27 13:01:49 rpmi: libdbus-glib-1:0.106-alt1 1454672854 installed <13>Nov 27 13:01:49 rpmi: libguichan-0.8.2-alt3.1 1433991699 installed <13>Nov 27 13:01:49 rpmi: libSDL_sound-devel-1.0.3-alt4 sisyphus+222884.100.1.1 1551178000 installed <13>Nov 27 13:01:49 rpmi: radius-engine-1.1-alt1_8 sisyphus+223377.100.1.1 1551512958 installed <13>Nov 27 13:01:49 rpmi: libSDL_mixer-1.2.12-alt1 1421435874 installed <13>Nov 27 13:01:49 rpmi: libSDL_gfx-2.0.25-alt1 1417989825 installed <13>Nov 27 13:01:49 rpmi: libSDL_net-1.2.8-alt1 1333963614 installed <13>Nov 27 13:01:49 rpmi: libSDL_ttf-2.0.10-alt2 1314052177 installed <13>Nov 27 13:01:49 rpmi: dbus-tools-1.12.16-alt2 sisyphus+240566.100.2.1 1573547696 installed <86>Nov 27 13:01:49 groupadd[29098]: group added to /etc/group: name=messagebus, GID=499 <86>Nov 27 13:01:49 groupadd[29098]: group added to /etc/gshadow: name=messagebus <86>Nov 27 13:01:49 groupadd[29098]: new group: name=messagebus, GID=499 <86>Nov 27 13:01:49 useradd[29102]: new user: name=messagebus, UID=499, GID=499, home=/run/dbus, shell=/dev/null <13>Nov 27 13:01:49 rpmi: dbus-1.12.16-alt2 sisyphus+240566.100.2.1 1573547696 installed <13>Nov 27 13:01:49 rpmi: dbus-tools-gui-1.12.16-alt2 sisyphus+240566.100.2.1 1573547696 installed <13>Nov 27 13:01:49 rpmi: libavahi-0.7-alt1 sisyphus+237493.100.1.1 1568299481 installed <13>Nov 27 13:01:49 rpmi: libcups-2.2.12-alt3 sisyphus+240570.100.1.1 1573481639 installed <13>Nov 27 13:01:49 rpmi: libgtk+2-2.24.32-alt3 sisyphus+227306.100.1.3 1555646092 installed <13>Nov 27 13:01:51 rpmi: libgs-9.28-alt0.rc1.1 sisyphus+237325.100.1.1 1568104012 installed <13>Nov 27 13:01:51 rpmi: libgraphviz-2.40.1-alt8 sisyphus+239300.200.2.1 1571210558 installed <13>Nov 27 13:01:52 rpmi: libImageMagick6.6-6.9.10.74-alt1 sisyphus+241601.100.1.1 1574675424 installed <13>Nov 27 13:01:52 rpmi: ImageMagick-tools-6.9.10.74-alt1 sisyphus+241601.100.1.1 1574675424 installed <13>Nov 27 13:01:52 rpmi: liballegro-devel-4.4.2-alt6 sisyphus+222708.100.1.1 1551003601 installed <13>Nov 27 13:01:52 rpmi: libpolkit-0.116-alt1 sisyphus+228976.400.4.1 1557128967 installed <13>Nov 27 13:01:52 rpmi: libxslt-1.1.34-alt1 sisyphus+240826.100.1.1 1573801860 installed <13>Nov 27 13:01:52 rpmi: xsltproc-1.1.34-alt1 sisyphus+240826.100.1.1 1573801860 installed <13>Nov 27 13:01:52 rpmi: python-modules-curses-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Nov 27 13:01:52 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Nov 27 13:01:52 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Nov 27 13:01:52 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed <13>Nov 27 13:01:52 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512089 installed <13>Nov 27 13:01:52 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Nov 27 13:01:52 rpmi: libtasn1-4.14-alt1 sisyphus+235791.100.1.1 1565282372 installed <13>Nov 27 13:01:52 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Nov 27 13:01:52 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Nov 27 13:01:52 rpmi: ca-certificates-2019.10.28-alt1 sisyphus+239875.300.1.1 1572267834 installed <13>Nov 27 13:01:52 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Nov 27 13:01:52 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Nov 27 13:01:52 rpmi: libcrypto1.1-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235729 installed <13>Nov 27 13:01:52 rpmi: libssl1.1-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235729 installed <13>Nov 27 13:01:52 rpmi: libpython3-3.7.4-alt2 sisyphus+239418.100.1.1 1571389913 installed <13>Nov 27 13:01:52 rpmi: python3-3.7.4-alt2 sisyphus+239418.100.1.1 1571389913 installed <13>Nov 27 13:01:54 rpmi: python3-base-3.7.4-alt2 sisyphus+239418.100.1.1 1571389913 installed <13>Nov 27 13:01:54 rpmi: glib2-devel-2.62.3-alt1 sisyphus+241586.200.1.1 1574668909 installed <13>Nov 27 13:01:54 rpmi: libharfbuzz-devel-2.6.4-alt1 sisyphus+240033.100.1.1 1572506773 installed <13>Nov 27 13:01:54 rpmi: libfreetype-devel-2.10.1-alt1 sisyphus+237471.100.1.1 1568276356 installed <13>Nov 27 13:01:54 rpmi: fontconfig-devel-2.13.1-alt1 sisyphus+226691.100.2.2 1554598726 installed <13>Nov 27 13:01:54 rpmi: libcairo-devel-1:1.16.0-alt1 sisyphus+226534.100.2.3 1554515535 installed <13>Nov 27 13:01:54 rpmi: libgio-devel-2.62.3-alt1 sisyphus+241586.200.1.1 1574668909 installed <13>Nov 27 13:01:54 rpmi: libgdk-pixbuf-devel-2.40.0-alt1 sisyphus+238952.140.2.1 1570644615 installed <13>Nov 27 13:01:54 rpmi: libXft-devel-2.3.3-alt1 sisyphus+225206.1000.3.2 1552987708 installed <13>Nov 27 13:01:54 rpmi: libpango-devel-1.44.7-alt1 sisyphus+239731.100.1.1 1571986949 installed <13>Nov 27 13:01:54 rpmi: libatk-devel-2.34.1-alt1 sisyphus+237956.700.4.2 1569332796 installed <13>Nov 27 13:01:54 rpmi: libpulseaudio-devel-13.0-alt2 sisyphus+240493.100.1.1 1573226515 installed <13>Nov 27 13:01:54 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <86>Nov 27 13:01:54 groupadd[31513]: group added to /etc/group: name=_keytab, GID=498 <86>Nov 27 13:01:54 groupadd[31513]: group added to /etc/gshadow: name=_keytab <86>Nov 27 13:01:54 groupadd[31513]: new group: name=_keytab, GID=498 <13>Nov 27 13:01:54 rpmi: libkrb5-1.16.3-alt1 sisyphus+223678.100.1.1 1551746516 installed <13>Nov 27 13:01:54 rpmi: libtirpc-1.0.3-alt1 1532008017 installed <13>Nov 27 13:01:54 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed <13>Nov 27 13:01:54 rpmi: python-modules-compiler-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Nov 27 13:01:54 rpmi: python-modules-email-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Nov 27 13:01:54 rpmi: python-modules-unittest-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Nov 27 13:01:55 rpmi: python-modules-encodings-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Nov 27 13:01:55 rpmi: python-modules-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Nov 27 13:01:55 rpmi: python-modules-nis-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Nov 27 13:01:55 rpmi: python-modules-xml-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Nov 27 13:01:55 rpmi: gtk-builder-convert-2.24.32-alt3 sisyphus+227306.100.1.3 1555646039 installed <13>Nov 27 13:01:55 rpmi: python-modules-hotshot-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Nov 27 13:01:55 rpmi: python-modules-bsddb-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Nov 27 13:01:55 rpmi: python-modules-ctypes-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Nov 27 13:01:55 rpmi: python-modules-multiprocessing-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Nov 27 13:01:55 rpmi: python-modules-logging-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Nov 27 13:01:55 rpmi: python-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Nov 27 13:01:55 rpmi: python-modules-distutils-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Nov 27 13:01:55 rpmi: libnsl2-devel-1.1.0-alt1_1 1511548749 installed <86>Nov 27 13:01:55 groupadd[31825]: group added to /etc/group: name=sasl, GID=497 <86>Nov 27 13:01:55 groupadd[31825]: group added to /etc/gshadow: name=sasl <86>Nov 27 13:01:55 groupadd[31825]: new group: name=sasl, GID=497 <13>Nov 27 13:01:55 rpmi: libsasl2-3-2.1.27-alt2 sisyphus+228101.100.1.1 1556139863 installed <13>Nov 27 13:01:55 rpmi: libldap-2.4.48-alt3 sisyphus+238816.100.1.1 1570449022 installed <13>Nov 27 13:01:55 rpmi: libGConf-3.2.6-alt3 1455932638 installed <13>Nov 27 13:01:55 rpmi: GConf-3.2.6-alt3 1455932638 installed <13>Nov 27 13:01:55 rpmi: python-dev-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Nov 27 13:01:55 rpmi: libgtk+2-devel-2.24.32-alt3 sisyphus+227306.100.1.3 1555646092 installed <13>Nov 27 13:01:55 rpmi: libmikmod-devel-3.3.11.1-alt2 1502706814 installed <13>Nov 27 13:01:55 rpmi: dumb-devel-0.9.3-alt5 1523614896 installed <13>Nov 27 13:01:55 rpmi: libguichan-devel-0.8.2-alt3.1 1433991699 installed <13>Nov 27 13:01:55 rpmi: libSDL_ttf-devel-2.0.10-alt2 1314052177 installed <13>Nov 27 13:01:55 rpmi: libSDL_net-devel-1.2.8-alt1 1333963614 installed <13>Nov 27 13:01:55 rpmi: libSDL_gfx-devel-2.0.25-alt1 1417989825 installed <13>Nov 27 13:01:55 rpmi: libSDL_mixer-devel-1.2.12-alt1 1421435874 installed <13>Nov 27 13:01:55 rpmi: radius-engine-devel-1.1-alt1_8 sisyphus+223377.100.1.1 1551512958 installed <13>Nov 27 13:01:55 rpmi: libSDL_image-devel-1.2.12-alt2 sisyphus+223384.100.1.1 1551514520 installed <13>Nov 27 13:01:55 rpmi: gcc-c++-9-alt1 sisyphus+239632.300.3.1 1571788297 installed <13>Nov 27 13:01:55 rpmi: gcc-fortran-9-alt1 sisyphus+239632.300.3.1 1571788297 installed <13>Nov 27 13:01:55 rpmi: unzip-6.0-alt2.qa1 1366155324 installed <13>Nov 27 13:01:55 rpmi: libSM-devel-1.2.3-alt1 sisyphus+226734.100.2.1 1554586158 installed <13>Nov 27 13:01:55 rpmi: desktop-file-utils-0.23-alt2 sisyphus+226879.100.1.1 1554744356 installed <13>Nov 27 13:01:56 rpmi: libxml2-devel-1:2.9.10-alt2 sisyphus+240156.100.1.1 1572696450 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.73435 + 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/tar -xf - + /bin/gzip -dc /usr/src/RPM/SOURCES/maxr-0.2.6.tar.gz + 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.48588 + 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 + readlink -e -- ./configure + sort -u + xargs -ri dirname -- '{}' + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + ./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext configure: WARNING: unrecognized options: --disable-silent-rules, --without-included-gettext checking for a sed that does not truncate output... /bin/sed checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for i586-alt-linux-gcc... i586-alt-linux-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i586-alt-linux-gcc accepts -g... yes checking for i586-alt-linux-gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of i586-alt-linux-gcc... none checking for i586-alt-linux-g++... i586-alt-linux-g++ checking whether we are using the GNU C++ compiler... yes checking whether i586-alt-linux-g++ accepts -g... yes checking dependency style of i586-alt-linux-g++... none checking for gawk... (cached) gawk checking build system type... i586-alt-linux-gnu checking host system type... i586-alt-linux-gnu checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by i586-alt-linux-gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... -r checking for i586-alt-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... (cached) pass_all checking for i586-alt-linux-ar... no checking for ar... ar checking for i586-alt-linux-strip... no checking for strip... strip checking for i586-alt-linux-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from i586-alt-linux-gcc object... ok checking how to run the C preprocessor... i586-alt-linux-gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking whether we are using the GNU C++ compiler... (cached) yes checking whether i586-alt-linux-g++ accepts -g... (cached) yes checking dependency style of i586-alt-linux-g++... (cached) none checking how to run the C++ preprocessor... i586-alt-linux-g++ -E checking for objdir... .libs checking if i586-alt-linux-gcc supports -fno-rtti -fno-exceptions... no checking for i586-alt-linux-gcc option to produce PIC... -fPIC -DPIC checking if i586-alt-linux-gcc PIC flag -fPIC -DPIC works... yes checking if i586-alt-linux-gcc static flag -static works... no checking if i586-alt-linux-gcc supports -c -o file.o... yes checking if i586-alt-linux-gcc supports -c -o file.o... (cached) yes checking whether the i586-alt-linux-gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for ld used by i586-alt-linux-g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the i586-alt-linux-g++ linker (/usr/bin/ld) supports shared libraries... yes checking for i586-alt-linux-g++ option to produce PIC... -fPIC -DPIC checking if i586-alt-linux-g++ PIC flag -fPIC -DPIC works... yes checking if i586-alt-linux-g++ static flag -static works... no checking if i586-alt-linux-g++ supports -c -o file.o... yes checking if i586-alt-linux-g++ supports -c -o file.o... (cached) yes checking whether the i586-alt-linux-g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for sdl-config... sdl-config checking for SDL_Init in -lSDL... yes checking SDL/SDL.h usability... yes checking SDL/SDL.h presence... yes checking for SDL/SDL.h... yes checking for Mix_OpenAudio in -lSDL_mixer... yes checking SDL/SDL_mixer.h usability... yes checking SDL/SDL_mixer.h presence... yes checking for SDL/SDL_mixer.h... yes checking for SDLNet_Init in -lSDL_net... yes checking SDL/SDL_net.h usability... yes checking SDL/SDL_net.h presence... yes checking for SDL/SDL_net.h... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands configure: WARNING: unrecognized options: --disable-silent-rules, --without-included-gettext + make -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 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 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] 221 | 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] 265 | 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] 286 | Client->addMoveJob( vehicle, bestX + bestY * Client->Map->size); | ~~~~~~^~~~~~~~~~~~~~~~~~~ automjobs.cpp:286:21: warning: 'bestX' may be used uninitialized in this function [-Wmaybe-uninitialized] 286 | 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] 150 | Client->addMoveJob( vehicle, bestX + bestY * Client->Map->size ); | ~~~~~~^~~~~~~~~~~~~~~~~~~ automjobs.cpp:150:21: warning: 'bestX' may be used uninitialized in this function [-Wmaybe-uninitialized] 150 | 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 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 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] 205 | if ( entry.frame != Client->iFrame % 4 ) continue; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_AUTOVERSION_H -DRELEASE -pipe -frecord-gcc-switches -Wall -g -O2 -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] 88 | if( this == NULL ) | ^~ extendedtinyxml.cpp: In member function 'ExTiXmlNode* ExTiXmlNode::XmlGetNextNodeSibling()': extendedtinyxml.cpp:102:2: warning: nonnull argument 'this' compared to NULL [-Wnonnull-compare] 102 | if( this == NULL ) | ^~ extendedtinyxml.cpp: In member function 'ExTiXmlNode* ExTiXmlNode::XmlReadNodeData(std::string&, ExTiXmlNode::XML_NODE_TYPE)': extendedtinyxml.cpp:120:2: warning: nonnull argument 'this' compared to NULL [-Wnonnull-compare] 120 | if( this == NULL ) | ^~ extendedtinyxml.cpp: In member function 'ExTiXmlNode* ExTiXmlNode::XmlReadNodeData(std::string&, ExTiXmlNode::XML_NODE_TYPE, const char*)': extendedtinyxml.cpp:191:2: warning: nonnull argument 'this' compared to NULL [-Wnonnull-compare] 191 | if( this == NULL ) | ^~ make[2]: Leaving directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_AUTOVERSION_H -DRELEASE -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o files.o files.cpp files.cpp: In function 'cList >* getFilesOfDirectory(std::string)': files.cpp:115:11: warning: argument 1 null where non-null expected [-Wnonnull] 115 | 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 149 | 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 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] 55 | int iLastLandX, iLastLandY; | ^~~~~~~~~~ menus.h:54:16: warning: 'eLandingState sClientLandData::landingState' [-Wreorder] 54 | eLandingState landingState; | ^~~~~~~~~~~~ menus.h:58:2: warning: when initialized here [-Wreorder] 58 | sClientLandData() : iLandX(0), iLandY(0), iLastLandX(0), iLastLandY(0), landingState ( LANDING_STATE_UNKNOWN ), receivedOK(true) {} | ^~~~~~~~~~~~~~~ In file included from input.cpp:21: menus.h: In constructor 'cGameDataContainer::cGameDataContainer()': menus.h:154:8: warning: 'cGameDataContainer::map' will be initialized after [-Wreorder] 154 | cMap *map; | ^~~ menus.h:144:13: warning: 'eGameTypes cGameDataContainer::type' [-Wreorder] 144 | eGameTypes type; | ^~~~ menus.h:164:2: warning: when initialized here [-Wreorder] 164 | cGameDataContainer() : settings(NULL), map(NULL), type(GAME_TYPE_SINGLE), savegameNum(-1) {} | ^~~~~~~~~~~~~~~~~~ input.cpp: In member function 'void cInput::inputkey(SDL_KeyboardEvent&)': input.cpp:74:20: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 74 | if ( stringpos < (int)inputStr.length() ) | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ input.cpp:99:20: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 99 | if ( stringpos < (int)inputStr.length() ) | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ input.cpp: In member function 'std::string cInput::getInputStr(eCursorBehavior)': input.cpp:300:9: warning: enumeration value 'CURSOR_DISABLED' not handled in switch [-Wswitch] 300 | 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 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] 55 | int iLastLandX, iLastLandY; | ^~~~~~~~~~ menus.h:54:16: warning: 'eLandingState sClientLandData::landingState' [-Wreorder] 54 | eLandingState landingState; | ^~~~~~~~~~~~ menus.h:58:2: warning: when initialized here [-Wreorder] 58 | sClientLandData() : iLandX(0), iLandY(0), iLastLandX(0), iLastLandY(0), landingState ( LANDING_STATE_UNKNOWN ), receivedOK(true) {} | ^~~~~~~~~~~~~~~ In file included from menuevents.h:23, from events.cpp:22: menus.h: In constructor 'cGameDataContainer::cGameDataContainer()': menus.h:154:8: warning: 'cGameDataContainer::map' will be initialized after [-Wreorder] 154 | cMap *map; | ^~~ menus.h:144:13: warning: 'eGameTypes cGameDataContainer::type' [-Wreorder] 144 | eGameTypes type; | ^~~~ menus.h:164:2: warning: when initialized here [-Wreorder] 164 | cGameDataContainer() : settings(NULL), map(NULL), type(GAME_TYPE_SINGLE), savegameNum(-1) {} | ^~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_AUTOVERSION_H -DRELEASE -pipe -frecord-gcc-switches -Wall -g -O2 -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 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 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] 154 | int GoldProd; | ^~~~~~~~ base.h:59:6: warning: 'int sSubBase::HumanProd' [-Wreorder] 59 | int HumanProd; | ^~~~~~~~~ base.cpp:25:1: warning: when initialized here [-Wreorder] 25 | sSubBase::sSubBase( int iNextID, cPlayer* owner_ ) : | ^~~~~~~~ In file included from base.cpp:19: base.h:61:6: warning: 'sSubBase::MaxHumanNeed' will be initialized after [-Wreorder] 61 | int MaxHumanNeed; | ^~~~~~~~~~~~ base.h:39:6: warning: 'int sSubBase::iID' [-Wreorder] 39 | int iID; | ^~~ base.cpp:25:1: warning: when initialized here [-Wreorder] 25 | sSubBase::sSubBase( int iNextID, cPlayer* owner_ ) : | ^~~~~~~~ In file included from base.cpp:19: base.h:39:6: warning: 'sSubBase::iID' will be initialized after [-Wreorder] 39 | int iID; | ^~~ base.h:37:11: warning: 'cPlayer* sSubBase::owner' [-Wreorder] 37 | cPlayer* owner; | ^~~~~ base.cpp:25:1: warning: when initialized here [-Wreorder] 25 | sSubBase::sSubBase( int iNextID, cPlayer* owner_ ) : | ^~~~~~~~ In file included from base.cpp:19: base.h: In copy constructor 'sSubBase::sSubBase(const sSubBase&)': base.h:154:6: warning: 'sSubBase::GoldProd' will be initialized after [-Wreorder] 154 | int GoldProd; | ^~~~~~~~ base.h:59:6: warning: 'int sSubBase::HumanProd' [-Wreorder] 59 | int HumanProd; | ^~~~~~~~~ base.cpp:53:1: warning: when initialized here [-Wreorder] 53 | sSubBase::sSubBase( const sSubBase& sb ) : | ^~~~~~~~ In file included from base.cpp:19: base.h:61:6: warning: 'sSubBase::MaxHumanNeed' will be initialized after [-Wreorder] 61 | int MaxHumanNeed; | ^~~~~~~~~~~~ base.h:39:6: warning: 'int sSubBase::iID' [-Wreorder] 39 | int iID; | ^~~ base.cpp:53:1: warning: when initialized here [-Wreorder] 53 | sSubBase::sSubBase( const sSubBase& sb ) : | ^~~~~~~~ base.cpp: In member function 'void sSubBase::addRessouce(sUnitData::eStorageResType, int)': base.cpp:430:9: warning: enumeration value 'STORE_RES_NONE' not handled in switch [-Wswitch] 430 | switch ( storeResType ) | ^ base.cpp: In member function 'void sSubBase::addBuilding(cBuilding*)': base.cpp:1098:9: warning: enumeration value 'STORE_RES_NONE' not handled in switch [-Wswitch] 1098 | switch ( b->data.storeResType ) | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_AUTOVERSION_H -DRELEASE -pipe -frecord-gcc-switches -Wall -g -O2 -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 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] 55 | int iLastLandX, iLastLandY; | ^~~~~~~~~~ menus.h:54:16: warning: 'eLandingState sClientLandData::landingState' [-Wreorder] 54 | eLandingState landingState; | ^~~~~~~~~~~~ menus.h:58:2: warning: when initialized here [-Wreorder] 58 | sClientLandData() : iLandX(0), iLandY(0), iLastLandX(0), iLastLandY(0), landingState ( LANDING_STATE_UNKNOWN ), receivedOK(true) {} | ^~~~~~~~~~~~~~~ In file included from dialog.h:22, from hud.cpp:24: menus.h: In constructor 'cGameDataContainer::cGameDataContainer()': menus.h:154:8: warning: 'cGameDataContainer::map' will be initialized after [-Wreorder] 154 | cMap *map; | ^~~ menus.h:144:13: warning: 'eGameTypes cGameDataContainer::type' [-Wreorder] 144 | eGameTypes type; | ^~~~ menus.h:164:2: warning: when initialized here [-Wreorder] 164 | cGameDataContainer() : settings(NULL), map(NULL), type(GAME_TYPE_SINGLE), savegameNum(-1) {} | ^~~~~~~~~~~~~~~~~~ hud.cpp: In member function 'void cHud::ExtraPlayers(std::string, int, int, bool, bool)': hud.cpp:1482:63: warning: narrowing conversion of 'GraphicsData.cGraphicsData::gfx_hud_extra_players->SDL_Surface::w' from 'int' to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] 1482 | SDL_Rect rSrc = { 0, 0, GraphicsData.gfx_hud_extra_players->w, GraphicsData.gfx_hud_extra_players->h}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ hud.cpp:1482:102: warning: narrowing conversion of 'GraphicsData.cGraphicsData::gfx_hud_extra_players->SDL_Surface::h' from 'int' to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] 1482 | SDL_Rect rSrc = { 0, 0, GraphicsData.gfx_hud_extra_players->w, GraphicsData.gfx_hud_extra_players->h}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ hud.cpp:1499:38: warning: narrowing conversion of '((((int)rDest.SDL_Rect::x) + 23) - ((int)rSrc.SDL_Rect::x))' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 1499 | SDL_Rect rDotDest = { rDest.x + 23 - rSrc.x, rDest.y + 6, rDot.w, rDot.h }; | ~~~~~~~~~~~~~^~~~~~~~ hud.cpp:1499:56: warning: narrowing conversion of '(((int)rDest.SDL_Rect::y) + 6)' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 1499 | SDL_Rect rDotDest = { rDest.x + 23 - rSrc.x, rDest.y + 6, rDot.w, rDot.h }; | ~~~~~~~~^~~ hud.cpp:1502:40: warning: narrowing conversion of '((((int)rDest.SDL_Rect::x) + 40) - ((int)rSrc.SDL_Rect::x))' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 1502 | SDL_Rect rColorDest = { rDest.x + 40 - rSrc.x, rDest.y + 6, rColorSrc.w, rColorSrc.h }; | ~~~~~~~~~~~~~^~~~~~~~ hud.cpp:1502:58: warning: narrowing conversion of '(((int)rDest.SDL_Rect::y) + 6)' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 1502 | SDL_Rect rColorDest = { rDest.x + 40 - rSrc.x, rDest.y + 6, rColorSrc.w, rColorSrc.h }; | ~~~~~~~~^~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_AUTOVERSION_H -DRELEASE -pipe -frecord-gcc-switches -Wall -g -O2 -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] 55 | int iLastLandX, iLastLandY; | ^~~~~~~~~~ menus.h:54:16: warning: 'eLandingState sClientLandData::landingState' [-Wreorder] 54 | eLandingState landingState; | ^~~~~~~~~~~~ menus.h:58:2: warning: when initialized here [-Wreorder] 58 | sClientLandData() : iLandX(0), iLandY(0), iLastLandX(0), iLastLandY(0), landingState ( LANDING_STATE_UNKNOWN ), receivedOK(true) {} | ^~~~~~~~~~~~~~~ In file included from buildings.cpp:31: menus.h: In constructor 'cGameDataContainer::cGameDataContainer()': menus.h:154:8: warning: 'cGameDataContainer::map' will be initialized after [-Wreorder] 154 | cMap *map; | ^~~ menus.h:144:13: warning: 'eGameTypes cGameDataContainer::type' [-Wreorder] 144 | eGameTypes type; | ^~~~ menus.h:164:2: warning: when initialized here [-Wreorder] 164 | cGameDataContainer() : settings(NULL), map(NULL), type(GAME_TYPE_SINGLE), savegameNum(-1) {} | ^~~~~~~~~~~~~~~~~~ buildings.cpp: In member function 'void cBuilding::DrawExitPoints(sVehicle*)': buildings.cpp:1469:16: warning: variable 'size' set but not used [-Wunused-but-set-variable] 1469 | int spx, spy, size; | ^~~~ buildings.cpp: In member function 'bool cBuilding::canLoad(cVehicle*, bool)': buildings.cpp:1549:9: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 1549 | if ( i == data.storeUnitsTypes.size() ) return false; | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buildings.cpp: In member function 'void cBuilding::ShowDetails(bool, int, int, SDL_Surface*, bool)': buildings.cpp:2689:31: warning: narrowing conversion of '(((int)dest.SDL_Rect::x) + 2)' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 2689 | SDL_Rect lineRect = { dest.x+2, dest.y+14, 153, 1 }; | ~~~~~~^~ buildings.cpp:2689:41: warning: narrowing conversion of '(((int)dest.SDL_Rect::y) + 14)' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 2689 | SDL_Rect lineRect = { dest.x+2, dest.y+14, 153, 1 }; | ~~~~~~^~~ buildings.cpp:2712:11: warning: enumeration value 'STORE_RES_NONE' not handled in switch [-Wswitch] 2712 | switch ( data.storeResType ) | ^ buildings.cpp:2735:11: warning: enumeration value 'STORE_UNIT_IMG_NONE' not handled in switch [-Wswitch] 2735 | 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] 1964 | 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] 2010 | 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 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] 55 | int iLastLandX, iLastLandY; | ^~~~~~~~~~ menus.h:54:16: warning: 'eLandingState sClientLandData::landingState' [-Wreorder] 54 | eLandingState landingState; | ^~~~~~~~~~~~ menus.h:58:2: warning: when initialized here [-Wreorder] 58 | sClientLandData() : iLandX(0), iLandY(0), iLastLandX(0), iLastLandY(0), landingState ( LANDING_STATE_UNKNOWN ), receivedOK(true) {} | ^~~~~~~~~~~~~~~ In file included from dialog.h:22, from dialog.cpp:22: menus.h: In constructor 'cGameDataContainer::cGameDataContainer()': menus.h:154:8: warning: 'cGameDataContainer::map' will be initialized after [-Wreorder] 154 | cMap *map; | ^~~ menus.h:144:13: warning: 'eGameTypes cGameDataContainer::type' [-Wreorder] 144 | eGameTypes type; | ^~~~ menus.h:164:2: warning: when initialized here [-Wreorder] 164 | cGameDataContainer() : settings(NULL), map(NULL), type(GAME_TYPE_SINGLE), savegameNum(-1) {} | ^~~~~~~~~~~~~~~~~~ dialog.cpp: In destructor 'cDialogYesNow::~cDialogYesNow()': dialog.cpp:54:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 54 | delete textLabel; | ^~~~~~~~~ dialog.cpp:55:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 55 | delete yesButton; | ^~~~~~~~~ dialog.cpp:56:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 56 | delete noButton; | ^~~~~~~~ dialog.cpp: In member function 'virtual void cDialogYesNow::handleKeyInput(SDL_KeyboardEvent&, std::string)': dialog.cpp:63:9: warning: enumeration value 'SDLK_UNKNOWN' not handled in switch [-Wswitch] 63 | 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] 102 | delete textLabel; | ^~~~~~~~~ dialog.cpp:103:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 103 | delete okButton; | ^~~~~~~~ dialog.cpp: In destructor 'cDialogLicence::~cDialogLicence()': dialog.cpp:157:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 157 | delete maxrLabel; | ^~~~~~~~~ dialog.cpp:158:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 158 | delete headerLabel; | ^~~~~~~~~~~ dialog.cpp:159:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 159 | delete textLabel; | ^~~~~~~~~ dialog.cpp:161:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 161 | delete okButton; | ^~~~~~~~ dialog.cpp:162:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 162 | delete upButton; | ^~~~~~~~ dialog.cpp:163:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 163 | delete downButton; | ^~~~~~~~~~ dialog.cpp: In destructor 'cDialogPreferences::~cDialogPreferences()': dialog.cpp:404:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 404 | delete titleLabel; | ^~~~~~~~~~ dialog.cpp:406:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 406 | delete volumeLabel; | ^~~~~~~~~~~ dialog.cpp:407:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 407 | delete musicLabel; | ^~~~~~~~~~ dialog.cpp:408:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 408 | delete effectsLabel; | ^~~~~~~~~~~~ dialog.cpp:409:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 409 | delete voicesLabel; | ^~~~~~~~~~~ dialog.cpp:410:9: warning: deleting object of polymorphic class type 'cMenuCheckButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 410 | delete disableMusicChBox; | ^~~~~~~~~~~~~~~~~ dialog.cpp:411:9: warning: deleting object of polymorphic class type 'cMenuCheckButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 411 | delete disableEffectsChBox; | ^~~~~~~~~~~~~~~~~~~ dialog.cpp:412:9: warning: deleting object of polymorphic class type 'cMenuCheckButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 412 | delete disableVoicesChBox; | ^~~~~~~~~~~~~~~~~~ dialog.cpp:413:9: warning: deleting object of polymorphic class type 'cMenuSlider' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 413 | delete musicSlider; | ^~~~~~~~~~~ dialog.cpp:414:9: warning: deleting object of polymorphic class type 'cMenuSlider' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 414 | delete effectsSlider; | ^~~~~~~~~~~~~ dialog.cpp:415:9: warning: deleting object of polymorphic class type 'cMenuSlider' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 415 | delete voicesSlider; | ^~~~~~~~~~~~ dialog.cpp:417:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 417 | delete nameLabel; | ^~~~~~~~~ dialog.cpp:418:9: warning: deleting object of polymorphic class type 'cMenuLineEdit' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 418 | delete nameEdit; | ^~~~~~~~ dialog.cpp:420:9: warning: deleting object of polymorphic class type 'cMenuCheckButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 420 | delete animationChBox; | ^~~~~~~~~~~~~~ dialog.cpp:421:9: warning: deleting object of polymorphic class type 'cMenuCheckButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 421 | delete shadowsChBox; | ^~~~~~~~~~~~ dialog.cpp:422:9: warning: deleting object of polymorphic class type 'cMenuCheckButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 422 | delete alphaChBox; | ^~~~~~~~~~ dialog.cpp:423:9: warning: deleting object of polymorphic class type 'cMenuCheckButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 423 | delete demageBuilChBox; | ^~~~~~~~~~~~~~~ dialog.cpp:424:9: warning: deleting object of polymorphic class type 'cMenuCheckButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 424 | delete demageVehChBox; | ^~~~~~~~~~~~~~ dialog.cpp:425:9: warning: deleting object of polymorphic class type 'cMenuCheckButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 425 | delete tracksChBox; | ^~~~~~~~~~~ dialog.cpp:427:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 427 | delete scrollSpeedLabel; | ^~~~~~~~~~~~~~~~ dialog.cpp:428:9: warning: deleting object of polymorphic class type 'cMenuSlider' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 428 | delete scrollSpeedSlider; | ^~~~~~~~~~~~~~~~~ dialog.cpp:430:9: warning: deleting object of polymorphic class type 'cMenuCheckButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 430 | delete autosaveChBox; | ^~~~~~~~~~~~~ dialog.cpp:431:9: warning: deleting object of polymorphic class type 'cMenuCheckButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 431 | delete introChBox; | ^~~~~~~~~~ dialog.cpp:432:9: warning: deleting object of polymorphic class type 'cMenuCheckButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 432 | delete windowChBox; | ^~~~~~~~~~~ dialog.cpp:434:9: warning: deleting object of polymorphic class type 'cMenuRadioGroup' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 434 | delete resoulutionGroup; | ^~~~~~~~~~~~~~~~ dialog.cpp:436:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 436 | delete okButton; | ^~~~~~~~ dialog.cpp:437:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 437 | delete cancelButton; | ^~~~~~~~~~~~ In file included from dialog.cpp:22: dialog.h: In constructor 'cDialogTransfer::cDialogTransfer(cBuilding*, cVehicle*, cBuilding*, cVehicle*)': dialog.h:154:12: warning: 'cDialogTransfer::srcVehicle' will be initialized after [-Wreorder] 154 | cVehicle *srcVehicle, *destVehicle; | ^~~~~~~~~~ dialog.h:153:27: warning: 'cBuilding* cDialogTransfer::destBuilding' [-Wreorder] 153 | cBuilding *srcBuilding, *destBuilding; | ^~~~~~~~~~~~ dialog.cpp:571:1: warning: when initialized here [-Wreorder] 571 | cDialogTransfer::cDialogTransfer( cBuilding *srcBuilding_, cVehicle *srcVehicle_, cBuilding *destBuilding_, cVehicle *destVehicle_ ) : | ^~~~~~~~~~~~~~~ dialog.cpp: In destructor 'cDialogTransfer::~cDialogTransfer()': dialog.cpp:634:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 634 | delete doneButton; | ^~~~~~~~~~ dialog.cpp:635:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 635 | delete cancelButton; | ^~~~~~~~~~~~ dialog.cpp:637:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 637 | delete incButton; | ^~~~~~~~~ dialog.cpp:638:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 638 | delete decButton; | ^~~~~~~~~ dialog.cpp:640:9: warning: deleting object of polymorphic class type 'cMenuMaterialBar' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 640 | delete resBar; | ^~~~~~ dialog.cpp:642:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 642 | delete transferLabel; | ^~~~~~~~~~~~~ dialog.cpp:646:22: warning: deleting object of polymorphic class type 'cMenuImage' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 646 | delete unitImages[i]; | ^ dialog.cpp:648:26: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 648 | delete unitNameLabels[i]; | ^ dialog.cpp:649:27: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 649 | delete unitCargoLabels[i]; | ^ dialog.cpp: In member function 'void cDialogTransfer::getTransferType()': dialog.cpp:687:9: warning: enumeration value 'STORE_RES_NONE' not handled in switch [-Wswitch] 687 | switch ( tmpTransferType ) | ^ dialog.cpp: In member function 'void cDialogTransfer::getNamesNCargoNImages()': dialog.cpp:708:49: warning: narrowing conversion of '((cDialogTransfer*)this)->cDialogTransfer::srcBuilding->cBuilding::typ->sBuilding::img->SDL_Surface::w' from 'int' to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] 708 | SDL_Rect src = { 0, 0, srcBuilding->typ->img->w, srcBuilding->typ->img->h }; | ~~~~~~~~~~~~~~~~~~~~~~~^ dialog.cpp:708:75: warning: narrowing conversion of '((cDialogTransfer*)this)->cDialogTransfer::srcBuilding->cBuilding::typ->sBuilding::img->SDL_Surface::h' from 'int' to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] 708 | SDL_Rect src = { 0, 0, srcBuilding->typ->img->w, srcBuilding->typ->img->h }; | ~~~~~~~~~~~~~~~~~~~~~~~^ dialog.cpp:720:11: warning: enumeration value 'STORE_RES_NONE' not handled in switch [-Wswitch] 720 | 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'} [-Wnarrowing] 758 | 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'} [-Wnarrowing] 758 | 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] 770 | switch ( srcVehicle->data.storeResType ) | ^ dialog.cpp: In member function 'virtual void cDialogTransfer::handleKeyInput(SDL_KeyboardEvent&, std::string)': dialog.cpp:827:9: warning: enumeration value 'SDLK_UNKNOWN' not handled in switch [-Wswitch] 827 | 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::string, bool, int, int, SDL_Surface*)': dialog.cpp:899:17: warning: narrowing conversion of 'x' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 899 | SDL_Rect dest={x,y,42,21}; | ^ dialog.cpp:899:19: warning: narrowing conversion of 'y' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 899 | SDL_Rect dest={x,y,42,21}; | ^ dialog.cpp: In member function 'virtual void cDialogResearch::handleKeyInput(SDL_KeyboardEvent&, std::string)': dialog.cpp:1041:9: warning: enumeration value 'SDLK_UNKNOWN' not handled in switch [-Wswitch] 1041 | 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] 805 | 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 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] 55 | int iLastLandX, iLastLandY; | ^~~~~~~~~~ menus.h:54:16: warning: 'eLandingState sClientLandData::landingState' [-Wreorder] 54 | eLandingState landingState; | ^~~~~~~~~~~~ menus.h:58:2: warning: when initialized here [-Wreorder] 58 | sClientLandData() : iLandX(0), iLandY(0), iLastLandX(0), iLastLandY(0), landingState ( LANDING_STATE_UNKNOWN ), receivedOK(true) {} | ^~~~~~~~~~~~~~~ In file included from menuevents.h:23, from menuevents.cpp:19: menus.h: In constructor 'cGameDataContainer::cGameDataContainer()': menus.h:154:8: warning: 'cGameDataContainer::map' will be initialized after [-Wreorder] 154 | cMap *map; | ^~~ menus.h:144:13: warning: 'eGameTypes cGameDataContainer::type' [-Wreorder] 144 | eGameTypes type; | ^~~~ menus.h:164:2: warning: when initialized here [-Wreorder] 164 | cGameDataContainer() : settings(NULL), map(NULL), type(GAME_TYPE_SINGLE), savegameNum(-1) {} | ^~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_AUTOVERSION_H -DRELEASE -pipe -frecord-gcc-switches -Wall -g -O2 -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] 55 | int iLastLandX, iLastLandY; | ^~~~~~~~~~ menus.h:54:16: warning: 'eLandingState sClientLandData::landingState' [-Wreorder] 54 | eLandingState landingState; | ^~~~~~~~~~~~ menus.h:58:2: warning: when initialized here [-Wreorder] 58 | sClientLandData() : iLandX(0), iLandY(0), iLastLandX(0), iLastLandY(0), landingState ( LANDING_STATE_UNKNOWN ), receivedOK(true) {} | ^~~~~~~~~~~~~~~ In file included from mapdownload.cpp:28: menus.h: In constructor 'cGameDataContainer::cGameDataContainer()': menus.h:154:8: warning: 'cGameDataContainer::map' will be initialized after [-Wreorder] 154 | cMap *map; | ^~~ menus.h:144:13: warning: 'eGameTypes cGameDataContainer::type' [-Wreorder] 144 | eGameTypes type; | ^~~~ menus.h:164:2: warning: when initialized here [-Wreorder] 164 | cGameDataContainer() : settings(NULL), map(NULL), type(GAME_TYPE_SINGLE), savegameNum(-1) {} | ^~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_AUTOVERSION_H -DRELEASE -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o language.o language.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_AUTOVERSION_H -DRELEASE -pipe -frecord-gcc-switches -Wall -g -O2 -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] 135 | 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] 135 | Uint16 width_blocks = 0, height_blocks = 0, width = 0, height = 0; | ^~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_AUTOVERSION_H -DRELEASE -pipe -frecord-gcc-switches -Wall -g -O2 -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] 55 | int iLastLandX, iLastLandY; | ^~~~~~~~~~ menus.h:54:16: warning: 'eLandingState sClientLandData::landingState' [-Wreorder] 54 | eLandingState landingState; | ^~~~~~~~~~~~ menus.h:58:2: warning: when initialized here [-Wreorder] 58 | sClientLandData() : iLandX(0), iLandY(0), iLastLandX(0), iLastLandY(0), landingState ( LANDING_STATE_UNKNOWN ), receivedOK(true) {} | ^~~~~~~~~~~~~~~ In file included from main.cpp:55: menus.h: In constructor 'cGameDataContainer::cGameDataContainer()': menus.h:154:8: warning: 'cGameDataContainer::map' will be initialized after [-Wreorder] 154 | cMap *map; | ^~~ menus.h:144:13: warning: 'eGameTypes cGameDataContainer::type' [-Wreorder] 144 | eGameTypes type; | ^~~~ menus.h:164:2: warning: when initialized here [-Wreorder] 164 | cGameDataContainer() : settings(NULL), map(NULL), type(GAME_TYPE_SINGLE), savegameNum(-1) {} | ^~~~~~~~~~~~~~~~~~ main.cpp: In function 'void drawCircle(int, int, int, int, SDL_Surface*)': main.cpp:484:16: warning: variable 'ptr' set but not used [-Wunused-but-set-variable] 484 | unsigned int *ptr; | ^~~ main.cpp: In member function 'std::string sID::getText()': main.cpp:584:17: warning: '0' flag ignored with precision and '%d' gnu_printf format [-Wformat=] 584 | 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 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 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 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 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] 55 | int iLastLandX, iLastLandY; | ^~~~~~~~~~ menus.h:54:16: warning: 'eLandingState sClientLandData::landingState' [-Wreorder] 54 | eLandingState landingState; | ^~~~~~~~~~~~ menus.h:58:2: warning: when initialized here [-Wreorder] 58 | sClientLandData() : iLandX(0), iLandY(0), iLastLandX(0), iLastLandY(0), landingState ( LANDING_STATE_UNKNOWN ), receivedOK(true) {} | ^~~~~~~~~~~~~~~ In file included from menuitems.cpp:20: menus.h: In constructor 'cGameDataContainer::cGameDataContainer()': menus.h:154:8: warning: 'cGameDataContainer::map' will be initialized after [-Wreorder] 154 | cMap *map; | ^~~ menus.h:144:13: warning: 'eGameTypes cGameDataContainer::type' [-Wreorder] 144 | eGameTypes type; | ^~~~ menus.h:164:2: warning: when initialized here [-Wreorder] 164 | cGameDataContainer() : settings(NULL), map(NULL), type(GAME_TYPE_SINGLE), savegameNum(-1) {} | ^~~~~~~~~~~~~~~~~~ In file included from menuitems.cpp:19: menuitems.h: In constructor 'cMenuButton::cMenuButton(int, int, std::string, cMenuButton::eButtonTypes, eUnicodeFontType, Mix_Chunk*)': menuitems.h:385:15: warning: 'cMenuButton::buttonType' will be initialized after [-Wreorder] 385 | eButtonTypes buttonType; | ^~~~~~~~~~ menuitems.h:382:15: warning: 'SDL_Surface* cMenuButton::surface' [-Wreorder] 382 | SDL_Surface* surface; | ^~~~~~~ menuitems.cpp:353:1: warning: when initialized here [-Wreorder] 353 | cMenuButton::cMenuButton ( int x, int y, string text_, eButtonTypes buttonType_, eUnicodeFontType fontType_, sSOUND *clickSound_ ) : cMenuItem( x, y ), fontType( fontType_ ), buttonType( buttonType_ ), surface( NULL ) | ^~~~~~~~~~~ In file included from menuitems.cpp:19: menuitems.h: In constructor 'cMenuCheckButton::cMenuCheckButton(int, int, std::string, bool, bool, cMenuCheckButton::eCheckButtonTypes, cMenuCheckButton::eCheckButtonTextOriantation, eUnicodeFontType, Mix_Chunk*)': menuitems.h:438:30: warning: 'cMenuCheckButton::textOrientation' will be initialized after [-Wreorder] 438 | eCheckButtonTextOriantation textOrientation; | ^~~~~~~~~~~~~~~ menuitems.h:435:15: warning: 'SDL_Surface* cMenuCheckButton::surface' [-Wreorder] 435 | SDL_Surface* surface; | ^~~~~~~ menuitems.cpp:545:1: warning: when initialized here [-Wreorder] 545 | cMenuCheckButton::cMenuCheckButton ( int x, int y, string text_, bool checked_, bool centered_, eCheckButtonTypes buttonType_, eCheckButtonTextOriantation textOrientation_, eUnicodeFontType fontType_, sSOUND *clickSound_ ) | ^~~~~~~~~~~~~~~~ menuitems.cpp: In member function 'virtual void cMenuCheckButton::draw()': menuitems.cpp:691: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'} [-Wnarrowing] 691 | 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'} [-Wnarrowing] 691 | 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'} [-Wnarrowing] 691 | SDL_Rect dest = { position.x+position.w+2, position.y-1, 1, position.h+2 }; | ~~~~~~~~~~^~ menuitems.cpp: In destructor 'cMenuRadioGroup::~cMenuRadioGroup()': menuitems.cpp:732:22: warning: deleting object of polymorphic class type 'cMenuCheckButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 732 | delete buttonList[0]; | ^ In file included from menuitems.cpp:19: menuitems.h: In constructor 'cMenuUnitListItem::cMenuUnitListItem(sID, cPlayer*, sUnitUpgrade*, eMenuUnitListDisplayTypes, cMenuUnitsList*, bool)': menuitems.h:514:16: warning: 'cMenuUnitListItem::upgrades' will be initialized after [-Wreorder] 514 | sUnitUpgrade *upgrades; | ^~~~~~~~ menuitems.h:503:28: warning: 'eMenuUnitListDisplayTypes cMenuUnitListItem::displayType' [-Wreorder] 503 | eMenuUnitListDisplayTypes displayType; | ^~~~~~~~~~~ menuitems.cpp:791:1: warning: when initialized here [-Wreorder] 791 | cMenuUnitListItem::cMenuUnitListItem( sID unitID_, cPlayer *owner_, sUnitUpgrade *upgrades_, eMenuUnitListDisplayTypes displayType_, cMenuUnitsList* parent, bool fixedResValue_ ) | ^~~~~~~~~~~~~~~~~ In file included from menuitems.cpp:19: menuitems.h:518:7: warning: 'cMenuUnitListItem::fixedResValue' will be initialized after [-Wreorder] 518 | bool fixedResValue; | ^~~~~~~~~~~~~ menuitems.h:504:18: warning: 'cMenuUnitsList* cMenuUnitListItem::parentList' [-Wreorder] 504 | cMenuUnitsList* parentList; | ^~~~~~~~~~ menuitems.cpp:791:1: warning: when initialized here [-Wreorder] 791 | cMenuUnitListItem::cMenuUnitListItem( sID unitID_, cPlayer *owner_, sUnitUpgrade *upgrades_, eMenuUnitListDisplayTypes displayType_, cMenuUnitsList* parent, bool fixedResValue_ ) | ^~~~~~~~~~~~~~~~~ In file included from menuitems.cpp:19: menuitems.h: In constructor 'cMenuUnitListItem::cMenuUnitListItem(sUnitData*, cPlayer*, sUnitUpgrade*, eMenuUnitListDisplayTypes, cMenuUnitsList*, bool)': menuitems.h:514:16: warning: 'cMenuUnitListItem::upgrades' will be initialized after [-Wreorder] 514 | sUnitUpgrade *upgrades; | ^~~~~~~~ menuitems.h:503:28: warning: 'eMenuUnitListDisplayTypes cMenuUnitListItem::displayType' [-Wreorder] 503 | eMenuUnitListDisplayTypes displayType; | ^~~~~~~~~~~ menuitems.cpp:804:1: warning: when initialized here [-Wreorder] 804 | cMenuUnitListItem::cMenuUnitListItem( sUnitData *unitData_, cPlayer *owner_, sUnitUpgrade *upgrades_, eMenuUnitListDisplayTypes displayType_, cMenuUnitsList* parent, bool fixedResValue_ ) | ^~~~~~~~~~~~~~~~~ In file included from menuitems.cpp:19: menuitems.h:518:7: warning: 'cMenuUnitListItem::fixedResValue' will be initialized after [-Wreorder] 518 | bool fixedResValue; | ^~~~~~~~~~~~~ menuitems.h:504:18: warning: 'cMenuUnitsList* cMenuUnitListItem::parentList' [-Wreorder] 504 | cMenuUnitsList* parentList; | ^~~~~~~~~~ menuitems.cpp:804:1: warning: when initialized here [-Wreorder] 804 | cMenuUnitListItem::cMenuUnitListItem( sUnitData *unitData_, cPlayer *owner_, sUnitUpgrade *upgrades_, eMenuUnitListDisplayTypes displayType_, cMenuUnitsList* parent, bool fixedResValue_ ) | ^~~~~~~~~~~~~~~~~ menuitems.cpp: In member function 'int cMenuUnitListItem::drawName(bool)': menuitems.cpp:914:33: warning: narrowing conversion of '((((int)((cMenuUnitListItem*)this)->cMenuUnitListItem::.cMenuItem::position.SDL_Rect::x) + 32) + 4)' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 914 | SDL_Rect dest = { position.x+32+4, position.y+12, position.w-(32+4)-12, 0 }; | ~~~~~~~~~~~~~^~ menuitems.cpp:914:47: warning: narrowing conversion of '(((int)((cMenuUnitListItem*)this)->cMenuUnitListItem::.cMenuItem::position.SDL_Rect::y) + 12)' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 914 | SDL_Rect dest = { position.x+32+4, position.y+12, position.w-(32+4)-12, 0 }; | ~~~~~~~~~~^~~ menuitems.cpp:914: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'} [-Wnarrowing] 914 | SDL_Rect dest = { position.x+32+4, position.y+12, position.w-(32+4)-12, 0 }; | ~~~~~~~~~~~~~~~~~^~~ menuitems.cpp: In member function 'void cMenuUnitListItem::drawCargo(int)': menuitems.cpp:948:33: warning: narrowing conversion of '((((int)((cMenuUnitListItem*)this)->cMenuUnitListItem::.cMenuItem::position.SDL_Rect::x) + 32) + 4)' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 948 | SDL_Rect dest = { position.x+32+4, destY, 0, 0 }; | ~~~~~~~~~~~~~^~ menuitems.cpp:948:37: warning: narrowing conversion of 'destY' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 948 | SDL_Rect dest = { position.x+32+4, destY, 0, 0 }; | ^~~~~ menuitems.cpp: In destructor 'cMenuUnitsList::~cMenuUnitsList()': menuitems.cpp:1060:21: warning: deleting object of polymorphic class type 'cMenuUnitListItem' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1060 | delete unitsList[0]; | ^ menuitems.cpp: In member function 'void cMenuUnitsList::removeUnit(cMenuUnitListItem*)': menuitems.cpp:1194:14: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1194 | if ( i+1 < (int)unitsList.Size() ) nextSelUnit = unitsList[i+1]; | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ menuitems.cpp:1198:22: warning: deleting object of polymorphic class type 'cMenuUnitListItem' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1198 | delete unitsList[i]; | ^ menuitems.cpp: In member function 'void cMenuUnitsList::clear()': menuitems.cpp:1216:21: warning: deleting object of polymorphic class type 'cMenuUnitListItem' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1216 | delete unitsList[0]; | ^ menuitems.cpp: In static member function 'static void cUnitDataSymbolHandler::drawSymbols(cUnitDataSymbolHandler::eUnitDataSymbols, int, int, int, bool, int, int)': menuitems.cpp:1269:19: warning: narrowing conversion of 'x' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 1269 | SDL_Rect dest = {x, y, 0, 0}; | ^ menuitems.cpp:1269:22: warning: narrowing conversion of 'y' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 1269 | SDL_Rect dest = {x, y, 0, 0}; | ^ menuitems.cpp: In static member function 'static SDL_Rect cUnitDataSymbolHandler::getBigSymbolPosition(cUnitDataSymbolHandler::eUnitDataSymbols)': menuitems.cpp:1298:9: warning: enumeration value 'MENU_SYMBOLS_TRANS_TANK' not handled in switch [-Wswitch] 1298 | 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] 1372 | 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] 1502 | switch ( transport ) | ^ menuitems.cpp: In destructor 'cMenuMaterialBar::~cMenuMaterialBar()': menuitems.cpp:1667:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1667 | delete valueLabel; | ^~~~~~~~~~ menuitems.cpp: In destructor 'cMenuUpgradeHandler::~cMenuUpgradeHandler()': menuitems.cpp:1794:27: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1794 | delete decreaseButtons[i]; | ^ menuitems.cpp:1795:27: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1795 | delete increaseButtons[i]; | ^ menuitems.cpp:1796:22: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1796 | delete costsLabel[i]; | ^ menuitems.cpp: In member function 'cUpgradeCalculator::UpgradeTypes cMenuUpgradeHandler::getUpgradeType(sUnitUpgrade)': menuitems.cpp:1892:9: warning: enumeration value 'UPGRADE_TYPE_NONE' not handled in switch [-Wswitch] 1892 | switch ( upgrade.type ) | ^ In file included from menuitems.cpp:19: menuitems.h: In constructor 'cMenuScroller::cMenuScroller(int, int, cMenuScroller::eMenuScrollerTypes, cMenuItem*, void (*)(void*))': menuitems.h:761:21: warning: 'cMenuScroller::scrollerType' will be initialized after [-Wreorder] 761 | eMenuScrollerTypes scrollerType; | ^~~~~~~~~~~~ menuitems.h:760:13: warning: 'cMenuItem* cMenuScroller::parent' [-Wreorder] 760 | cMenuItem *parent; | ^~~~~~ menuitems.cpp:1915:1: warning: when initialized here [-Wreorder] 1915 | cMenuScroller::cMenuScroller ( int x, int y, eMenuScrollerTypes scrollerType_, cMenuItem *parent_, void (*movedCallback_)(void *) ) : | ^~~~~~~~~~~~~ In file included from menuitems.cpp:19: menuitems.h: In constructor 'cMenuScrollBar::cMenuScrollBar(int, int, int, int, cMenu*, cMenuItem*)': menuitems.h:791:6: warning: 'cMenuScrollBar::pageSteps' will be initialized after [-Wreorder] 791 | int pageSteps; | ^~~~~~~~~ menuitems.h:785:9: warning: 'cMenu* cMenuScrollBar::parentMenu' [-Wreorder] 785 | cMenu *parentMenu; | ^~~~~~~~~~ menuitems.cpp:1988:1: warning: when initialized here [-Wreorder] 1988 | cMenuScrollBar::cMenuScrollBar ( int x, int y, int h, int pageSteps_, cMenu *parentMenu_, cMenuItem *parentItem_ ) : cMenuItemContainer ( x, y ), pageSteps(pageSteps_), parentMenu(parentMenu_), parentItem(parentItem_) | ^~~~~~~~~~~~~~ menuitems.cpp: In destructor 'cMenuScrollBar::~cMenuScrollBar()': menuitems.cpp:2011:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2011 | delete upButton; | ^~~~~~~~ menuitems.cpp:2012:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2012 | delete downButton; | ^~~~~~~~~~ menuitems.cpp:2013:9: warning: deleting object of polymorphic class type 'cMenuScroller' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2013 | delete scroller; | ^~~~~~~~ In file included from menuitems.cpp:19: menuitems.h: In constructor 'cMenuListBox::cMenuListBox(int, int, int, int, int, cMenu*)': menuitems.h:823:6: warning: 'cMenuListBox::maxLines' will be initialized after [-Wreorder] 823 | int maxLines; | ^~~~~~~~ menuitems.h:820:9: warning: 'cMenu* cMenuListBox::parentMenu' [-Wreorder] 820 | cMenu *parentMenu; | ^~~~~~~~~~ menuitems.cpp:2082:1: warning: when initialized here [-Wreorder] 2082 | cMenuListBox::cMenuListBox ( int x, int y, int w, int h, int maxLines_, cMenu *parentMenu_ ) : cMenuItemContainer ( x, y ), maxLines(maxLines_), parentMenu(parentMenu_) | ^~~~~~~~~~~~ menuitems.cpp: In destructor 'cMenuListBox::~cMenuListBox()': menuitems.cpp:2095:9: warning: deleting object of polymorphic class type 'cMenuScrollBar' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2095 | delete scrollBar; | ^~~~~~~~~ menuitems.cpp: In destructor 'cMenuPlayersBox::~cMenuPlayersBox()': menuitems.cpp:2356:9: warning: deleting object of polymorphic class type 'cMenuScrollBar' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2356 | delete scrollBar; | ^~~~~~~~~ menuitems.cpp:2359:24: warning: deleting object of polymorphic class type 'cMenuImage' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2359 | delete playerColors[i]; | ^ menuitems.cpp:2360:23: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2360 | delete playerNames[i]; | ^ menuitems.cpp:2361:24: warning: deleting object of polymorphic class type 'cMenuImage' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2361 | delete playerReadys[i]; | ^ menuitems.cpp: In destructor 'cMenuSaveSlot::~cMenuSaveSlot()': menuitems.cpp:2447:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2447 | delete saveNumber; | ^~~~~~~~~~ menuitems.cpp:2448:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2448 | delete saveType; | ^~~~~~~~ menuitems.cpp:2449:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2449 | delete saveTime; | ^~~~~~~~ menuitems.cpp:2450:9: warning: deleting object of polymorphic class type 'cMenuLineEdit' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2450 | delete saveName; | ^~~~~~~~ menuitems.cpp: In destructor 'cMenuBuildSpeedHandler::~cMenuBuildSpeedHandler()': menuitems.cpp:2512:23: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2512 | delete turnsLabels[i]; | ^ menuitems.cpp:2513:23: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2513 | delete costsLabels[i]; | ^ menuitems.cpp:2515:9: warning: deleting object of polymorphic class type 'cMenuRadioGroup' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2515 | delete speedGroup; | ^~~~~~~~~~ menuitems.cpp: In destructor 'cMenuUpgradeFilter::~cMenuUpgradeFilter()': menuitems.cpp:2592:9: warning: deleting object of polymorphic class type 'cMenuCheckButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2592 | delete checkButtonTank; | ^~~~~~~~~~~~~~~ menuitems.cpp:2593:9: warning: deleting object of polymorphic class type 'cMenuCheckButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2593 | delete checkButtonPlane; | ^~~~~~~~~~~~~~~~ menuitems.cpp:2594:9: warning: deleting object of polymorphic class type 'cMenuCheckButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2594 | delete checkButtonShip; | ^~~~~~~~~~~~~~~ menuitems.cpp:2595:9: warning: deleting object of polymorphic class type 'cMenuCheckButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2595 | delete checkButtonBuilding; | ^~~~~~~~~~~~~~~~~~~ menuitems.cpp:2596:9: warning: deleting object of polymorphic class type 'cMenuCheckButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2596 | delete checkButtonTNT; | ^~~~~~~~~~~~~~ menuitems.cpp: In destructor 'cMenuSlider::~cMenuSlider()': menuitems.cpp:2708:9: warning: deleting object of polymorphic class type 'cMenuScroller' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2708 | delete scroller; | ^~~~~~~~ menuitems.cpp: In destructor 'cMenuScrollerHandler::~cMenuScrollerHandler()': menuitems.cpp:2767:9: warning: deleting object of polymorphic class type 'cMenuScroller' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2767 | delete scroller; | ^~~~~~~~ menuitems.cpp: In member function 'void cMenuReportsScreen::drawUnitsScreen()': menuitems.cpp:2833:34: warning: narrowing conversion of '(((int)((cMenuReportsScreen*)this)->cMenuReportsScreen::.cMenuItem::position.SDL_Rect::x) + 13)' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 2833 | SDL_Rect selDest = { position.x+13, position.y+26+55*selIndex, 8, 1 }; | ~~~~~~~~~~^~~ menuitems.cpp:2833:52: warning: narrowing conversion of '((((int)((cMenuReportsScreen*)this)->cMenuReportsScreen::.cMenuItem::position.SDL_Rect::y) + 26) + (55 * selIndex))' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 2833 | SDL_Rect selDest = { position.x+13, position.y+26+55*selIndex, 8, 1 }; | ~~~~~~~~~~~~~^~~~~~~~~~~~ menuitems.cpp: In member function 'void cMenuReportsScreen::drawReportsScreen()': menuitems.cpp:2867:34: warning: narrowing conversion of '(((int)((cMenuReportsScreen*)this)->cMenuReportsScreen::.cMenuItem::position.SDL_Rect::x) + 54)' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 2867 | SDL_Rect textDest = { position.x+54, position.y+25, 410, 30 }; | ~~~~~~~~~~^~~ menuitems.cpp:2867:49: warning: narrowing conversion of '(((int)((cMenuReportsScreen*)this)->cMenuReportsScreen::.cMenuItem::position.SDL_Rect::y) + 25)' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 2867 | SDL_Rect textDest = { position.x+54, position.y+25, 410, 30 }; | ~~~~~~~~~~^~~ menuitems.cpp:2882:33: warning: narrowing conversion of '(((int)((cMenuReportsScreen*)this)->cMenuReportsScreen::.cMenuItem::position.SDL_Rect::x) + 17)' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 2882 | SDL_Rect dest = { position.x+17, position.y+30+(i-(index)*maxItems)*55, 0, 0 }; | ~~~~~~~~~~^~~ menuitems.cpp:2882: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'} [-Wnarrowing] 2882 | 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'} [-Wnarrowing] 2904 | 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'} [-Wnarrowing] 2904 | SDL_Rect selDest = { position.x+15, position.y+23+55*selIndex, 1, 53 }; | ~~~~~~~~~~~~~^~~~~~~~~~~~ menuitems.cpp: In member function 'bool cMenuReportsScreen::goThroughUnits(bool, int*, cVehicle**, cBuilding**)': menuitems.cpp:2953:30: warning: narrowing conversion of '(((int)((cMenuReportsScreen*)this)->cMenuReportsScreen::.cMenuItem::position.SDL_Rect::x) + 17)' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 2953 | SDL_Rect dest = { position.x+17, position.y+30, 0, 0 }; | ~~~~~~~~~~^~~ menuitems.cpp:2953:45: warning: narrowing conversion of '(((int)((cMenuReportsScreen*)this)->cMenuReportsScreen::.cMenuItem::position.SDL_Rect::y) + 30)' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 2953 | SDL_Rect dest = { position.x+17, position.y+30, 0, 0 }; | ~~~~~~~~~~^~~ menuitems.cpp:2954:34: warning: narrowing conversion of '(((int)((cMenuReportsScreen*)this)->cMenuReportsScreen::.cMenuItem::position.SDL_Rect::x) + 54)' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 2954 | SDL_Rect nameDest = { position.x+54, position.y+25, 75, 30 }; | ~~~~~~~~~~^~~ menuitems.cpp:2954:49: warning: narrowing conversion of '(((int)((cMenuReportsScreen*)this)->cMenuReportsScreen::.cMenuItem::position.SDL_Rect::y) + 25)' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 2954 | SDL_Rect nameDest = { position.x+54, position.y+25, 75, 30 }; | ~~~~~~~~~~^~~ 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] 677 | 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 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] 55 | int iLastLandX, iLastLandY; | ^~~~~~~~~~ menus.h:54:16: warning: 'eLandingState sClientLandData::landingState' [-Wreorder] 54 | eLandingState landingState; | ^~~~~~~~~~~~ menus.h:58:2: warning: when initialized here [-Wreorder] 58 | sClientLandData() : iLandX(0), iLandY(0), iLastLandX(0), iLastLandY(0), landingState ( LANDING_STATE_UNKNOWN ), receivedOK(true) {} | ^~~~~~~~~~~~~~~ In file included from menuevents.h:23, from netmessage.cpp:26: menus.h: In constructor 'cGameDataContainer::cGameDataContainer()': menus.h:154:8: warning: 'cGameDataContainer::map' will be initialized after [-Wreorder] 154 | cMap *map; | ^~~ menus.h:144:13: warning: 'eGameTypes cGameDataContainer::type' [-Wreorder] 144 | eGameTypes type; | ^~~~ menus.h:164:2: warning: when initialized here [-Wreorder] 164 | cGameDataContainer() : settings(NULL), map(NULL), type(GAME_TYPE_SINGLE), savegameNum(-1) {} | ^~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_AUTOVERSION_H -DRELEASE -pipe -frecord-gcc-switches -Wall -g -O2 -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 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] 72 | int destX, destY; | ^~~~~ movejobs.h:68:12: warning: 'cVehicle* cPathDestHandler::srcVehicle' [-Wreorder] 68 | cVehicle *srcVehicle; | ^~~~~~~~~~ movejobs.cpp:30:1: warning: when initialized here [-Wreorder] 30 | cPathDestHandler::cPathDestHandler ( ePathDestinationTypes type_, int destX_, int destY_, cVehicle *srcVehicle_, cBuilding *destBuilding_, cVehicle *destVehicle_ ) : | ^~~~~~~~~~~~~~~~ In file included from movejobs.cpp:20: movejobs.h: In constructor 'cEndMoveAction::cEndMoveAction(eEndMoveActionType, cBuilding*, cVehicle*, cBuilding*, cVehicle*, int, int)': movejobs.h:199:21: warning: 'cEndMoveAction::endMoveActionType' will be initialized after [-Wreorder] 199 | eEndMoveActionType endMoveActionType; | ^~~~~~~~~~~~~~~~~ movejobs.h:190:13: warning: 'cBuilding* cEndMoveAction::srcBuilding' [-Wreorder] 190 | cBuilding *srcBuilding; | ^~~~~~~~~~~ movejobs.cpp:711:1: warning: when initialized here [-Wreorder] 711 | cEndMoveAction::cEndMoveAction( eEndMoveActionType endMoveActionType_, cBuilding *srcBuilding_, cVehicle *srcVehicle_, cBuilding *destBuilding_, cVehicle *destVehicle_, int destX_, int destY_ ) : | ^~~~~~~~~~~~~~ In file included from movejobs.cpp:20: movejobs.h:201:18: warning: 'cEndMoveAction::moveJob' will be initialized after [-Wreorder] 201 | cClientMoveJob *moveJob; | ^~~~~~~ movejobs.h:197:7: warning: 'bool cEndMoveAction::success' [-Wreorder] 197 | bool success; | ^~~~~~~ movejobs.cpp:711:1: warning: when initialized here [-Wreorder] 711 | cEndMoveAction::cEndMoveAction( eEndMoveActionType endMoveActionType_, cBuilding *srcBuilding_, cVehicle *srcVehicle_, cBuilding *destBuilding_, cVehicle *destVehicle_, int destX_, int destY_ ) : | ^~~~~~~~~~~~~~ movejobs.cpp: In member function 'void cPathCalculator::insertToHeap(sPathNode*, bool)': movejobs.cpp:325:14: warning: 'i' may be used uninitialized in this function [-Wmaybe-uninitialized] 325 | nodesHeap[i] = TempNode; | ^ 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::string, SDL_Surface*, int, int)': player.h:88:8: warning: 'cPlayer::base' will be initialized after [-Wreorder] 88 | cBase base; // Die Basis dieses Spielers. | ^~~~ player.h:77:9: warning: 'std::string cPlayer::name' [-Wreorder] 77 | string name; | ^~~~ player.cpp:30:1: warning: when initialized here [-Wreorder] 30 | cPlayer::cPlayer(string Name, SDL_Surface* Color, int nr, int iSocketNum) | ^~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_AUTOVERSION_H -DRELEASE -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o loaddata.o loaddata.cpp loaddata.cpp: In function 'void MakeLog(std::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'} [-Wnarrowing] 348 | 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'} [-Wnarrowing] 349 | 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=] 1908 | 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 'const size_type' {aka 'const unsigned int'} [-Wsign-compare] 2245 | while(iPosition != string::npos) | ~~~~~~~~~~^~~~~~~~~~~~~~~ loaddata.cpp: In function 'void LoadUnitData(sUnitData*, const char*, int)': loaddata.cpp:2637:21: warning: '0' flag ignored with precision and '%d' gnu_printf format [-Wformat=] 2637 | sprintf( szTmp, "unit with id %0.2d %0.2d already exists", UnitsData.vehicle[i].data.ID.iFirstPart, UnitsData.vehicle[i].data.ID.iSecondPart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ loaddata.cpp:2637: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=] 2649 | sprintf( szTmp, "unit with id %0.2d %0.2d already exists", UnitsData.vehicle[i].data.ID.iFirstPart, UnitsData.vehicle[i].data.ID.iSecondPart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ loaddata.cpp:2649: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=] 2660 | sprintf( szTmp, "ID %0.2d %0.2d isn't equal with ID for unit \"%s\" ", atoi(idString.substr(0,idString.find(" ",0)).c_str()), atoi(idString.substr(idString.find(" ",0),idString.length()).c_str()), directory); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ loaddata.cpp:2660: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=] 2666 | sprintf( szTmp, "ID %0.2d %0.2d verified", atoi(idString.substr(0,idString.find(" ",0)).c_str()), atoi(idString.substr(idString.find(" ",0),idString.length()).c_str()), directory); | ^~~~~~~~~~~~~~~~~~~~~~~~~ loaddata.cpp:2666: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] 2672 | if(pExXmlNode = pExXmlNode->XmlGetFirstNode( unitDataXml, "Unit", "Description", NULL) ) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ loaddata.cpp:2676:19: warning: comparison of integer expressions of different signedness: 'int' and 'const size_type' {aka 'const unsigned int'} [-Wsign-compare] 2676 | while(iPosition != string::npos) | ~~~~~~~~~~^~~~~~~~~~~~~~~ loaddata.cpp:2813:13: warning: comparison of integer expressions of different signedness: 'int' and 'const size_type' {aka 'const unsigned int'} [-Wsign-compare] 2813 | if ( pos == string::npos ) pos = storeUnitsString.length(); | ~~~~^~~~~~~~~~~~~~~ loaddata.cpp: In function 'void LoadUnitGraphicData(sUnitData*, const char*)': loaddata.cpp:2834:15: warning: unused variable 'pExXmlNode' [-Wunused-variable] 2834 | ExTiXmlNode *pExXmlNode = NULL; | ^~~~~~~~~~ loaddata.cpp: In function 'int LoadClans()': loaddata.cpp:2882:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2882 | while (clanNode = xmlNode->IterateChildren (clanNode)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ loaddata.cpp:2899:32: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2899 | while (changedUnitStatsNode = clanNode->IterateChildren ("ChangedUnitStat", changedUnitStatsNode)) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ loaddata.cpp:2917:30: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2917 | while (modificationNode = changedUnitStatsNode->IterateChildren (modificationNode)) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_AUTOVERSION_H -DRELEASE -pipe -frecord-gcc-switches -Wall -g -O2 -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 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 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] 357 | while ( *p && IsWhiteSpace( *p ) || *p == '\n' || *p =='\r' ) | ~~~^~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_AUTOVERSION_H -DRELEASE -pipe -frecord-gcc-switches -Wall -g -O2 -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 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] 55 | int iLastLandX, iLastLandY; | ^~~~~~~~~~ menus.h:54:16: warning: 'eLandingState sClientLandData::landingState' [-Wreorder] 54 | eLandingState landingState; | ^~~~~~~~~~~~ menus.h:58:2: warning: when initialized here [-Wreorder] 58 | sClientLandData() : iLandX(0), iLandY(0), iLastLandX(0), iLastLandY(0), landingState ( LANDING_STATE_UNKNOWN ), receivedOK(true) {} | ^~~~~~~~~~~~~~~ In file included from server.cpp:28: menus.h: In constructor 'cGameDataContainer::cGameDataContainer()': menus.h:154:8: warning: 'cGameDataContainer::map' will be initialized after [-Wreorder] 154 | cMap *map; | ^~~ menus.h:144:13: warning: 'eGameTypes cGameDataContainer::type' [-Wreorder] 144 | eGameTypes type; | ^~~~ menus.h:164:2: warning: when initialized here [-Wreorder] 164 | cGameDataContainer() : settings(NULL), map(NULL), type(GAME_TYPE_SINGLE), savegameNum(-1) {} | ^~~~~~~~~~~~~~~~~~ server.cpp: In member function 'int cServer::HandleNetMessage(cNetMessage*)': server.cpp:1120:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1120 | if (upgradeAll || i == storageSlot) | ~~^~~~~~~~~~~~~~ server.cpp: In member function 'cVehicle* cServer::getVehicleFromID(int)': server.cpp:2850:22: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 2850 | if ( Vehicle->iID == iID ) return Vehicle; | ~~~~~~~~~~~~~^~~~~~ server.cpp: In member function 'cBuilding* cServer::getBuildingFromID(int)': server.cpp:2866:23: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 2866 | 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] 1247 | 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 unifonts.o unifonts.cpp unifonts.cpp: In member function 'void cUnicodeFont::loadChars(eUnicodeFontCharset, eUnicodeFontType)': unifonts.cpp:131:9: warning: unused variable 'stop' [-Wunused-variable] 131 | int stop = 0; | ^~~~ unifonts.cpp: In member function 'void cUnicodeFont::showText(int, int, std::string, eUnicodeFontType, SDL_Surface*, bool)': unifonts.cpp:330:8: warning: enumeration value 'FONT_LATIN_NORMAL' not handled in switch [-Wswitch] 330 | 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:22: warning: narrowing conversion of 'offX' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 379 | SDL_Rect rTmp = {offX, offY, 16, 16}; | ^~~~ unifonts.cpp:379:28: warning: narrowing conversion of 'offY' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 379 | SDL_Rect rTmp = {offX, offY, 16, 16}; | ^~~~ unifonts.cpp: In member function 'int cUnicodeFont::drawWithBreakLines(SDL_Rect, std::string, eUnicodeFontType, SDL_Surface*, bool)': unifonts.cpp:402:86: warning: comparison of integer expressions of different signedness: 'int' and 'const size_type' {aka 'const unsigned int'} [-Wsign-compare] 402 | while ( getTextWide ( sText.substr ( 0, pos ), fonttype, encode ) < rDest.w && pos != string::npos ); | ~~~~^~~~~~~~~~~~~~~ unifonts.cpp: In member function 'int cUnicodeFont::showTextAsBlock(SDL_Rect, std::string, eUnicodeFontType, SDL_Surface*, bool)': unifonts.cpp:453:10: warning: comparison of integer expressions of different signedness: 'int' and 'const size_type' {aka 'const unsigned int'} [-Wsign-compare] 453 | if ( k != string::npos ) | ~~^~~~~~~~~~~~~~~ unifonts.cpp:459:12: warning: comparison of integer expressions of different signedness: 'int' and 'const size_type' {aka 'const unsigned int'} [-Wsign-compare] 459 | while ( k != string::npos ); | ~~^~~~~~~~~~~~~~~ unifonts.cpp:466:10: warning: comparison of integer expressions of different signedness: 'int' and 'const size_type' {aka 'const unsigned int'} [-Wsign-compare] 466 | if ( k != string::npos ) | ~~^~~~~~~~~~~~~~~ unifonts.cpp:471:12: warning: comparison of integer expressions of different signedness: 'int' and 'const size_type' {aka 'const unsigned int'} [-Wsign-compare] 471 | while ( k != string::npos ); | ~~^~~~~~~~~~~~~~~ unifonts.cpp:478:10: warning: comparison of integer expressions of different signedness: 'int' and 'const size_type' {aka 'const unsigned int'} [-Wsign-compare] 478 | if ( k != string::npos ) | ~~^~~~~~~~~~~~~~~ unifonts.cpp:490:12: warning: comparison of integer expressions of different signedness: 'int' and 'const size_type' {aka 'const unsigned int'} [-Wsign-compare] 490 | while ( k != string::npos ); | ~~^~~~~~~~~~~~~~~ unifonts.cpp: In member function 'SDL_Rect cUnicodeFont::getTextSize(std::string, eUnicodeFontType, bool)': unifonts.cpp:520:8: warning: enumeration value 'FONT_LATIN_NORMAL' not handled in switch [-Wswitch] 520 | 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 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] 55 | int iLastLandX, iLastLandY; | ^~~~~~~~~~ menus.h:54:16: warning: 'eLandingState sClientLandData::landingState' [-Wreorder] 54 | eLandingState landingState; | ^~~~~~~~~~~~ menus.h:58:2: warning: when initialized here [-Wreorder] 58 | sClientLandData() : iLandX(0), iLandY(0), iLastLandX(0), iLastLandY(0), landingState ( LANDING_STATE_UNKNOWN ), receivedOK(true) {} | ^~~~~~~~~~~~~~~ In file included from dialog.h:22, from vehicles.cpp:25: menus.h: In constructor 'cGameDataContainer::cGameDataContainer()': menus.h:154:8: warning: 'cGameDataContainer::map' will be initialized after [-Wreorder] 154 | cMap *map; | ^~~ menus.h:144:13: warning: 'eGameTypes cGameDataContainer::type' [-Wreorder] 144 | eGameTypes type; | ^~~~ menus.h:164:2: warning: when initialized here [-Wreorder] 164 | cGameDataContainer() : settings(NULL), map(NULL), type(GAME_TYPE_SINGLE), savegameNum(-1) {} | ^~~~~~~~~~~~~~~~~~ vehicles.cpp: In member function 'void cVehicle::ShowDetails(bool, int, int, SDL_Surface*, bool)': vehicles.cpp:990:31: warning: narrowing conversion of '(((int)dest.SDL_Rect::x) + 2)' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 990 | SDL_Rect lineRect = { dest.x+2, dest.y+14, 153, 1 }; | ~~~~~~^~ vehicles.cpp:990:41: warning: narrowing conversion of '(((int)dest.SDL_Rect::y) + 14)' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 990 | SDL_Rect lineRect = { dest.x+2, dest.y+14, 153, 1 }; | ~~~~~~^~~ vehicles.cpp:1016:11: warning: enumeration value 'STORE_RES_NONE' not handled in switch [-Wswitch] 1016 | switch ( data.storeResType ) | ^ vehicles.cpp:1033:11: warning: enumeration value 'STORE_UNIT_IMG_NONE' not handled in switch [-Wswitch] 1033 | switch ( data.storeUnitsImageType ) | ^ vehicles.cpp: In member function 'void cVehicle::DrawSymbol(eSymbols, int, int, int, int, int, SDL_Surface*)': vehicles.cpp:1078:9: warning: enumeration value 'SAir' not handled in switch [-Wswitch] 1078 | switch ( sym ) | ^ vehicles.cpp: In member function 'void cVehicle::DrawSymbolBig(eSymbolsBig, int, int, int, int, int, SDL_Surface*)': vehicles.cpp:1249:9: warning: enumeration value 'SBEnergy' not handled in switch [-Wswitch] 1249 | 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] 2936 | 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] 2987 | 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] 3188 | 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] 1533 | 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] 3285 | 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 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] 55 | int iLastLandX, iLastLandY; | ^~~~~~~~~~ menus.h:54:16: warning: 'eLandingState sClientLandData::landingState' [-Wreorder] 54 | eLandingState landingState; | ^~~~~~~~~~~~ menus.h:58:2: warning: when initialized here [-Wreorder] 58 | sClientLandData() : iLandX(0), iLandY(0), iLastLandX(0), iLastLandY(0), landingState ( LANDING_STATE_UNKNOWN ), receivedOK(true) {} | ^~~~~~~~~~~~~~~ In file included from menuevents.h:23, from serverevents.cpp:26: menus.h: In constructor 'cGameDataContainer::cGameDataContainer()': menus.h:154:8: warning: 'cGameDataContainer::map' will be initialized after [-Wreorder] 154 | cMap *map; | ^~~ menus.h:144:13: warning: 'eGameTypes cGameDataContainer::type' [-Wreorder] 144 | eGameTypes type; | ^~~~ menus.h:164:2: warning: when initialized here [-Wreorder] 164 | cGameDataContainer() : settings(NULL), map(NULL), type(GAME_TYPE_SINGLE), savegameNum(-1) {} | ^~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_AUTOVERSION_H -DRELEASE -pipe -frecord-gcc-switches -Wall -g -O2 -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] 55 | int iLastLandX, iLastLandY; | ^~~~~~~~~~ menus.h:54:16: warning: 'eLandingState sClientLandData::landingState' [-Wreorder] 54 | eLandingState landingState; | ^~~~~~~~~~~~ menus.h:58:2: warning: when initialized here [-Wreorder] 58 | sClientLandData() : iLandX(0), iLandY(0), iLastLandX(0), iLastLandY(0), landingState ( LANDING_STATE_UNKNOWN ), receivedOK(true) {} | ^~~~~~~~~~~~~~~ In file included from savegame.cpp:25: menus.h: In constructor 'cGameDataContainer::cGameDataContainer()': menus.h:154:8: warning: 'cGameDataContainer::map' will be initialized after [-Wreorder] 154 | cMap *map; | ^~~ menus.h:144:13: warning: 'eGameTypes cGameDataContainer::type' [-Wreorder] 144 | eGameTypes type; | ^~~~ menus.h:164:2: warning: when initialized here [-Wreorder] 164 | cGameDataContainer() : settings(NULL), map(NULL), type(GAME_TYPE_SINGLE), savegameNum(-1) {} | ^~~~~~~~~~~~~~~~~~ savegame.cpp: In constructor 'cSavegame::cSavegame(int)': savegame.cpp:33:23: warning: '0' flag ignored with precision and '%d' gnu_printf format [-Wformat=] 33 | sprintf ( numberstr, "%0.3d", number ); | ^~~~~~~ savegame.cpp: In member function 'void cSavegame::loadGameInfo()': savegame.cpp:232:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 232 | if ( element = gameInfoNode->FirstChildElement( "Hotseat" ) ) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:237:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 237 | if ( element = gameInfoNode->FirstChildElement( "PlayTurns" ) ) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp: In member function 'cPlayer* cSavegame::loadPlayer(TiXmlElement*, cMap*)': savegame.cpp:304:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 304 | if ( element = playerNode->FirstChildElement ("Clan" ) ) element->Attribute ( "num", &clan ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:393:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 393 | if ( subbasesNode = playerNode->FirstChildElement( "Subbases" ) ) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp: In member function 'void cSavegame::loadUpgrade(TiXmlElement*, sUnitData*)': savegame.cpp:423:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 423 | if ( element = upgradeNode->FirstChildElement( "Ammo" ) ) element->Attribute ( "num", &data->ammoMax ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:424:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 424 | if ( element = upgradeNode->FirstChildElement( "HitPoints" ) ) element->Attribute ( "num", &data->hitpointsMax ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:425:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 425 | if ( element = upgradeNode->FirstChildElement( "Shots" ) ) element->Attribute ( "num", &data->shotsMax ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:426:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 426 | if ( element = upgradeNode->FirstChildElement( "Speed" ) ) element->Attribute ( "num", &data->speedMax ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:427:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 427 | if ( element = upgradeNode->FirstChildElement( "Armor" ) ) element->Attribute ( "num", &data->armor ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:428:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 428 | if ( element = upgradeNode->FirstChildElement( "Costs" ) ) element->Attribute ( "num", &data->buildCosts ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:429:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 429 | if ( element = upgradeNode->FirstChildElement( "Damage" ) ) element->Attribute ( "num", &data->damage ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:430:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 430 | if ( element = upgradeNode->FirstChildElement( "Range" ) ) element->Attribute ( "num", &data->range ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:431:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 431 | if ( element = upgradeNode->FirstChildElement( "Scan" ) ) element->Attribute ( "num", &data->scan ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp: In member function 'void cSavegame::loadVehicle(TiXmlElement*, sID&)': savegame.cpp:563:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 563 | if ( element = unitNode->FirstChildElement( "CommandoRank" ) ) { element->Attribute ( "num", &tmpdouble ); vehicle->CommandoRank = (float)tmpdouble; } | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:574:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 574 | if ( element = unitNode->FirstChildElement( "Building" ) ) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:599:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 599 | if ( element = unitNode->FirstChildElement( "Clearing" ) ) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:606:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 606 | if ( element = unitNode->FirstChildElement( "Movejob" ) ) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:618:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 618 | if ( detectedNode = unitNode->FirstChildElement( "IsDetectedByPlayers" ) ) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:621:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 621 | while ( element = detectedNode->FirstChildElement ( ("Player_" + iToStr( playerNodeNum )).c_str() ) ) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:635:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 635 | if ( element = unitNode->FirstChildElement( "Stored_In" ) ) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp: In member function 'void cSavegame::loadBuilding(TiXmlElement*, sID&)': savegame.cpp:707:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 707 | if ( element = unitNode->FirstChildElement( "Building" ) ) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:710:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 710 | if ( element = buildNode->FirstChildElement( "BuildSpeed" ) ) element->Attribute ( "num", &building->BuildSpeed ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:711:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 711 | if ( element = buildNode->FirstChildElement( "MetalPerRound" ) ) element->Attribute ( "num", &building->MetalPerRound ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:749:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 749 | if ( detectedNode = unitNode->FirstChildElement( "IsDetectedByPlayers" ) ) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:752:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 752 | while ( element = detectedNode->FirstChildElement ( ("Player_" + iToStr( playerNodeNum )).c_str() ) ) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp: In member function 'void cSavegame::loadUnitValues(TiXmlElement*, sUnitData*)': savegame.cpp:785:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 785 | if ( Element = unitNode->FirstChildElement( "Version" ) ) Element->Attribute ( "num", &Data->version ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:787:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 787 | if ( Element = unitNode->FirstChildElement( "Max_Hitpoints" ) ) Element->Attribute ( "num", &Data->hitpointsMax ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:788:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 788 | if ( Element = unitNode->FirstChildElement( "Max_Ammo" ) ) Element->Attribute ( "num", &Data->ammoMax ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:789:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 789 | if ( Element = unitNode->FirstChildElement( "Max_Speed" ) ) Element->Attribute ( "num", &Data->speedMax ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:790:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 790 | if ( Element = unitNode->FirstChildElement( "Max_Shots" ) ) Element->Attribute ( "num", &Data->shotsMax ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:791:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 791 | if ( Element = unitNode->FirstChildElement( "Armor" ) ) Element->Attribute ( "num", &Data->armor ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:792:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 792 | if ( Element = unitNode->FirstChildElement( "Damage" ) ) Element->Attribute ( "num", &Data->damage ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:793:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 793 | if ( Element = unitNode->FirstChildElement( "Range" ) ) Element->Attribute ( "num", &Data->range ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:794:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 794 | if ( Element = unitNode->FirstChildElement( "Scan" ) ) Element->Attribute ( "num", &Data->scan ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:796:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 796 | if ( Element = unitNode->FirstChildElement( "Hitpoints" ) ) Element->Attribute ( "num", &Data->hitpointsCur ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:798:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 798 | if ( Element = unitNode->FirstChildElement( "Ammo" ) ) Element->Attribute ( "num", &Data->ammoCur ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:801:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 801 | if ( Element = unitNode->FirstChildElement( "ResCargo" ) ) Element->Attribute ( "num", &Data->storageResCur ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:802:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 802 | if ( Element = unitNode->FirstChildElement( "UnitCargo" ) ) Element->Attribute ( "num", &Data->storageUnitsCur ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:804:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 804 | if ( Element = unitNode->FirstChildElement( "Cargo" ) ) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:810:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 810 | if ( Element = unitNode->FirstChildElement( "Speed" ) ) Element->Attribute ( "num", &Data->speedCur ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:812:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 812 | if ( Element = unitNode->FirstChildElement( "Shots" ) ) Element->Attribute ( "num", &Data->shotsCur ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp: In member function 'void cSavegame::loadStandardUnitValues(TiXmlElement*)': savegame.cpp:865:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 865 | if ( Element = unitNode->FirstChildElement( "Scan" ) ) Element->Attribute ( "num", &Data->scan ); else Data->scan = 0; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:866:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 866 | if ( Element = unitNode->FirstChildElement( "Movement" ) ) Element->Attribute ( "num", &Data->speedMax ); else Data->speedMax = 0; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:871:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 871 | if ( Element = unitNode->FirstChildElement( "MuzzleType" ) ) { Element->Attribute ( "num", &tmpInt ); Data->muzzleType = (sUnitData::eMuzzleType)tmpInt; } else Data->muzzleType = sUnitData::MUZZLE_TYPE_NONE; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:872:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 872 | if ( Element = unitNode->FirstChildElement( "Shots" ) ) Element->Attribute ( "num", &Data->shotsMax ); else Data->shotsMax = 0; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:873:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 873 | if ( Element = unitNode->FirstChildElement( "Ammo" ) ) Element->Attribute ( "num", &Data->ammoMax ); else Data->ammoMax = 0; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:874:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 874 | if ( Element = unitNode->FirstChildElement( "Range" ) ) Element->Attribute ( "num", &Data->range ); else Data->range = 0; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:875:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 875 | if ( Element = unitNode->FirstChildElement( "Damage" ) ) Element->Attribute ( "num", &Data->damage ); else Data->damage = 0; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:876:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 876 | if ( Element = unitNode->FirstChildElement( "Can_Attack" ) ) { Element->Attribute ( "num", &tmpInt ); Data->canAttack = tmpInt; } else Data->canAttack = TERRAIN_NONE; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:878:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 878 | if ( Element = unitNode->FirstChildElement( "Can_Build" ) ) Data->canBuild = Element->Attribute ( "string" ); else Data->canBuild = ""; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:879:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 879 | if ( Element = unitNode->FirstChildElement( "Build_As" ) ) Data->buildAs = Element->Attribute ( "string" ); else Data->buildAs = ""; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:880:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 880 | if ( Element = unitNode->FirstChildElement( "Max_Build_Factor" ) ) Element->Attribute ( "num", &Data->maxBuildFactor ); else Data->maxBuildFactor = 0; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:882:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 882 | if ( Element = unitNode->FirstChildElement( "Storage_Res_Max" ) ) Element->Attribute ( "num", &Data->storageResMax ); else Data->storageResMax = 0; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:883:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 883 | if ( Element = unitNode->FirstChildElement( "Storage_Units_Max" ) ) Element->Attribute ( "num", &Data->storageUnitsMax ); else Data->storageUnitsMax = 0; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:884:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 884 | if ( Element = unitNode->FirstChildElement( "Store_Res_Type" ) ) { Element->Attribute ( "num", &tmpInt ); Data->storeResType = (sUnitData::eStorageResType)tmpInt; } else Data->storeResType = sUnitData::STORE_RES_NONE; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:885:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 885 | if ( Element = unitNode->FirstChildElement( "StoreUnits_Image_Type" ) ) { Element->Attribute ( "num", &tmpInt ); Data->storeUnitsImageType = (sUnitData::eStorageUnitsImageType)tmpInt; } else Data->storeUnitsImageType = sUnitData::STORE_UNIT_IMG_NONE; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:886:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 886 | if ( Element = unitNode->FirstChildElement( "Is_Storage_Type" ) ) Data->isStorageType = Element->Attribute ( "string" ); else Data->isStorageType = ""; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:887:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 887 | if ( Element = unitNode->FirstChildElement( "StoreUnitsTypes" ) ) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:897:14: warning: comparison of integer expressions of different signedness: 'int' and 'const size_type' {aka 'const unsigned int'} [-Wsign-compare] 897 | if ( pos == string::npos ) pos = storeUnitsString.length(); | ~~~~^~~~~~~~~~~~~~~ savegame.cpp:904:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 904 | if ( Element = unitNode->FirstChildElement( "Needs_Energy" ) ) Element->Attribute ( "num", &Data->needsEnergy ); else Data->needsEnergy = 0; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:905:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 905 | if ( Element = unitNode->FirstChildElement( "Needs_Humans" ) ) Element->Attribute ( "num", &Data->needsHumans ); else Data->needsHumans = 0; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:906:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 906 | if ( Element = unitNode->FirstChildElement( "Needs_Oil" ) ) Element->Attribute ( "num", &Data->needsOil ); else Data->needsOil = 0; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:907:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 907 | if ( Element = unitNode->FirstChildElement( "Needs_Metal" ) ) Element->Attribute ( "num", &Data->needsMetal ); else Data->needsMetal = 0; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:908:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 908 | if ( Element = unitNode->FirstChildElement( "Converts_Gold" ) ) Element->Attribute ( "num", &Data->convertsGold ); else Data->convertsGold = 0; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:909:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 909 | if ( Element = unitNode->FirstChildElement( "Can_Mine_Max_Res" ) ) Element->Attribute ( "num", &Data->canMineMaxRes ); else Data->canMineMaxRes = 0; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:921:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 921 | if ( Element = unitNode->FirstChildElement( "Is_Stealth_On" ) ) { Element->Attribute ( "num", &tmpInt ); Data->isStealthOn = tmpInt; } else Data->isStealthOn = TERRAIN_NONE; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:922:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 922 | if ( Element = unitNode->FirstChildElement( "Can_Detect_Stealth_On" ) ) { Element->Attribute ( "num", &tmpInt ); Data->canDetectStealthOn = tmpInt; } else Data->canDetectStealthOn = TERRAIN_NONE; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:924:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 924 | if ( Element = unitNode->FirstChildElement( "Surface_Position" ) ) { Element->Attribute ( "num", &tmpInt ); Data->surfacePosition = (sUnitData::eSurfacePosition)tmpInt; } else Data->surfacePosition = sUnitData::SURFACE_POS_GROUND; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:925:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 925 | if ( Element = unitNode->FirstChildElement( "Can_Be_Overbuild" ) ) { Element->Attribute ( "num", &tmpInt ); Data->canBeOverbuild = (sUnitData::eOverbuildType)tmpInt; } else Data->canBeOverbuild = sUnitData::OVERBUILD_TYPE_NO; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:928:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 928 | if ( Element = unitNode->FirstChildElement( "Factor_Air" ) ) { Element->Attribute ( "num", &tmpdouble ); Data->factorAir = (float)tmpdouble; } else Data->factorAir = 0; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:929:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 929 | if ( Element = unitNode->FirstChildElement( "Factor_Coast" ) ) { Element->Attribute ( "num", &tmpdouble ); Data->factorCoast = (float)tmpdouble; } else Data->factorCoast = 0; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:930:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 930 | if ( Element = unitNode->FirstChildElement( "Factor_Ground" ) ) { Element->Attribute ( "num", &tmpdouble ); Data->factorGround = (float)tmpdouble; } else Data->factorGround = 0; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:931:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 931 | if ( Element = unitNode->FirstChildElement( "Factor_Sea" ) ) { Element->Attribute ( "num", &tmpdouble ); Data->factorSea = (float)tmpdouble; } else Data->factorSea = 0; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:933:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 933 | if ( Element = unitNode->FirstChildElement( "Factor_Sea" ) ) { Element->Attribute ( "num", &tmpdouble ); Data->modifiesSpeed = (float)tmpdouble; } else Data->modifiesSpeed = 0; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cpp:822:6: warning: variable 'unitNum' set but not used [-Wunused-but-set-variable] 822 | int unitNum; | ^~~~~~~ savegame.cpp:823:7: warning: variable 'isVehicle' set but not used [-Wunused-but-set-variable] 823 | bool isVehicle; | ^~~~~~~~~ savegame.cpp: In constructor 'cSavegame::cSavegame(int)': savegame.cpp:33:24: warning: '%0.3d' directive writing between 3 and 11 bytes into a region of size 4 [-Wformat-overflow=] 33 | sprintf ( numberstr, "%0.3d", number ); | ^~~~~ savegame.cpp:33:23: note: directive argument in the range [-2147483648, 100] 33 | sprintf ( numberstr, "%0.3d", number ); | ^~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/c++/9/cstdio:42, from /usr/include/c++/9/ext/string_conversions.h:43, from /usr/include/c++/9/bits/basic_string.h:6493, from /usr/include/c++/9/string:55, from /usr/include/c++/9/bits/locale_classes.h:40, from /usr/include/c++/9/bits/ios_base.h:41, from /usr/include/c++/9/ios:42, from /usr/include/c++/9/ostream:38, from /usr/include/c++/9/iostream:39, from main.h:36, from savegame.h:22, from savegame.cpp:20: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 4 and 12 bytes into a destination of size 4 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __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] 664 | 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] 536 | 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 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] 55 | int iLastLandX, iLastLandY; | ^~~~~~~~~~ menus.h:54:16: warning: 'eLandingState sClientLandData::landingState' [-Wreorder] 54 | eLandingState landingState; | ^~~~~~~~~~~~ menus.h:58:2: warning: when initialized here [-Wreorder] 58 | sClientLandData() : iLandX(0), iLandY(0), iLastLandX(0), iLastLandY(0), landingState ( LANDING_STATE_UNKNOWN ), receivedOK(true) {} | ^~~~~~~~~~~~~~~ In file included from menus.cpp:22: menus.h: In constructor 'cGameDataContainer::cGameDataContainer()': menus.h:154:8: warning: 'cGameDataContainer::map' will be initialized after [-Wreorder] 154 | cMap *map; | ^~~ menus.h:144:13: warning: 'eGameTypes cGameDataContainer::type' [-Wreorder] 144 | eGameTypes type; | ^~~~ menus.h:164:2: warning: when initialized here [-Wreorder] 164 | cGameDataContainer() : settings(NULL), map(NULL), type(GAME_TYPE_SINGLE), savegameNum(-1) {} | ^~~~~~~~~~~~~~~~~~ menus.cpp: In destructor 'cMainMenu::~cMainMenu()': menus.cpp:618:9: warning: deleting object of polymorphic class type 'cMenuImage' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 618 | delete infoImage; | ^~~~~~~~~ menus.cpp:619:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 619 | delete creditsLabel; | ^~~~~~~~~~~~ menus.cpp: In destructor 'cStartMenu::~cStartMenu()': menus.cpp:699:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 699 | delete titleLabel; | ^~~~~~~~~~ menus.cpp:700:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 700 | delete singleButton; | ^~~~~~~~~~~~ menus.cpp:701:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 701 | delete multiButton; | ^~~~~~~~~~~ menus.cpp:702:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 702 | delete preferenceButton; | ^~~~~~~~~~~~~~~~ menus.cpp:703:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 703 | delete licenceButton; | ^~~~~~~~~~~~~ menus.cpp:704:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 704 | delete exitButton; | ^~~~~~~~~~ menus.cpp: In destructor 'cSinglePlayerMenu::~cSinglePlayerMenu()': menus.cpp:766:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 766 | delete titleLabel; | ^~~~~~~~~~ menus.cpp:767:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 767 | delete newGameButton; | ^~~~~~~~~~~~~ menus.cpp:768:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 768 | delete loadGameButton; | ^~~~~~~~~~~~~~ menus.cpp:769:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 769 | delete backButton; | ^~~~~~~~~~ menus.cpp: In destructor 'cMultiPlayersMenu::~cMultiPlayersMenu()': menus.cpp:831:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 831 | delete titleLabel; | ^~~~~~~~~~ menus.cpp:832:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 832 | delete tcpHostButton; | ^~~~~~~~~~~~~ menus.cpp:833:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 833 | delete tcpClientButton; | ^~~~~~~~~~~~~~~ menus.cpp:834:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 834 | delete newHotseatButton; | ^~~~~~~~~~~~~~~~ menus.cpp:835:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 835 | delete loadHotseatButton; | ^~~~~~~~~~~~~~~~~ menus.cpp:836:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 836 | delete backButton; | ^~~~~~~~~~ menus.cpp: In destructor 'cSettingsMenu::~cSettingsMenu()': menus.cpp:1008:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1008 | delete titleLabel; | ^~~~~~~~~~ menus.cpp:1009:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1009 | delete okButton; | ^~~~~~~~ menus.cpp:1010:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1010 | delete backButton; | ^~~~~~~~~~ menus.cpp:1012:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1012 | delete metalLabel; | ^~~~~~~~~~ menus.cpp:1013:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1013 | delete oilLabel; | ^~~~~~~~ menus.cpp:1014:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1014 | delete goldLabel; | ^~~~~~~~~ menus.cpp:1015:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1015 | delete creditsLabel; | ^~~~~~~~~~~~ menus.cpp:1016:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1016 | delete bridgeheadLabel; | ^~~~~~~~~~~~~~~ menus.cpp:1018:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1018 | delete clansLabel; | ^~~~~~~~~~ menus.cpp:1019:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1019 | delete resFrequencyLabel; | ^~~~~~~~~~~~~~~~~ menus.cpp:1020:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1020 | delete gameTypeLabel; | ^~~~~~~~~~~~~ menus.cpp:1022:9: warning: deleting object of polymorphic class type 'cMenuRadioGroup' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1022 | delete metalGroup; | ^~~~~~~~~~ menus.cpp:1023:9: warning: deleting object of polymorphic class type 'cMenuRadioGroup' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1023 | delete oilGroup; | ^~~~~~~~ menus.cpp:1024:9: warning: deleting object of polymorphic class type 'cMenuRadioGroup' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1024 | delete goldGroup; | ^~~~~~~~~ menus.cpp:1025:9: warning: deleting object of polymorphic class type 'cMenuRadioGroup' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1025 | delete creditsGroup; | ^~~~~~~~~~~~ menus.cpp:1026:9: warning: deleting object of polymorphic class type 'cMenuRadioGroup' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1026 | delete bridgeheadGroup; | ^~~~~~~~~~~~~~~ menus.cpp:1028:9: warning: deleting object of polymorphic class type 'cMenuRadioGroup' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1028 | delete clansGroup; | ^~~~~~~~~~ menus.cpp:1029:9: warning: deleting object of polymorphic class type 'cMenuRadioGroup' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1029 | delete resFrequencyGroup; | ^~~~~~~~~~~~~~~~~ menus.cpp:1030:9: warning: deleting object of polymorphic class type 'cMenuRadioGroup' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1030 | delete gameTypeGroup; | ^~~~~~~~~~~~~ menus.cpp: In destructor 'cPlanetsSelectionMenu::~cPlanetsSelectionMenu()': menus.cpp:1164:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1164 | delete titleLabel; | ^~~~~~~~~~ menus.cpp:1166:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1166 | delete okButton; | ^~~~~~~~ menus.cpp:1167:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1167 | delete backButton; | ^~~~~~~~~~ menus.cpp:1169:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1169 | delete arrowUpButton; | ^~~~~~~~~~~~~ menus.cpp:1170:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1170 | delete arrowDownButton; | ^~~~~~~~~~~~~~~ menus.cpp:1174:24: warning: deleting object of polymorphic class type 'cMenuImage' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1174 | delete planetImages[i]; | ^ menus.cpp:1175:24: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1175 | delete planetTitles[i]; | ^ menus.cpp: In destructor 'cClanSelectionMenu::~cClanSelectionMenu()': menus.cpp:1474:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1474 | delete okButton; | ^~~~~~~~ menus.cpp:1475:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1475 | delete backButton; | ^~~~~~~~~~ menus.cpp:1477:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1477 | delete titleLabel; | ^~~~~~~~~~ menus.cpp:1478:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1478 | delete clanDescription1; | ^~~~~~~~~~~~~~~~ menus.cpp:1479:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1479 | delete clanDescription2; | ^~~~~~~~~~~~~~~~ menus.cpp:1483:22: warning: deleting object of polymorphic class type 'cMenuImage' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1483 | delete clanImages[i]; | ^ menus.cpp:1484:21: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1484 | delete clanNames[i]; | ^ menus.cpp: In destructor 'cHangarMenu::~cHangarMenu()': menus.cpp:1625:9: warning: deleting object of polymorphic class type 'cMenuImage' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1625 | delete infoImage; | ^~~~~~~~~ menus.cpp:1626:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1626 | delete infoText; | ^~~~~~~~ menus.cpp:1627:9: warning: deleting object of polymorphic class type 'cMenuCheckButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1627 | delete infoTextCheckBox; | ^~~~~~~~~~~~~~~~ menus.cpp:1629:9: warning: deleting object of polymorphic class type 'cMenuUnitDetails' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1629 | delete unitDetails; | ^~~~~~~~~~~ menus.cpp:1631:9: warning: deleting object of polymorphic class type 'cMenuUnitsList' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1631 | delete selectionList; | ^~~~~~~~~~~~~ menus.cpp:1633:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1633 | delete selListUpButton; | ^~~~~~~~~~~~~~~ menus.cpp:1634:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1634 | delete selListDownButton; | ^~~~~~~~~~~~~~~~~ menus.cpp:1636:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1636 | delete doneButton; | ^~~~~~~~~~ menus.cpp:1637:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1637 | delete backButton; | ^~~~~~~~~~ menus.cpp: In destructor 'cAdvListHangarMenu::~cAdvListHangarMenu()': menus.cpp:1708:9: warning: deleting object of polymorphic class type 'cMenuUnitsList' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1708 | delete secondList; | ^~~~~~~~~~ menus.cpp:1710:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1710 | delete secondListUpButton; | ^~~~~~~~~~~~~~~~~~ menus.cpp:1711:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1711 | delete secondListDownButton; | ^~~~~~~~~~~~~~~~~~~~ menus.cpp: In destructor 'cStartupHangarMenu::~cStartupHangarMenu()': menus.cpp:1879:9: warning: deleting object of polymorphic class type 'cMenuRadioGroup' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1879 | delete upgradeBuyGroup; | ^~~~~~~~~~~~~~~ menus.cpp:1881:9: warning: deleting object of polymorphic class type 'cMenuMaterialBar' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1881 | delete materialBar; | ^~~~~~~~~~~ menus.cpp:1882:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1882 | delete materialBarLabel; | ^~~~~~~~~~~~~~~~ menus.cpp:1883:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1883 | delete materialBarUpButton; | ^~~~~~~~~~~~~~~~~~~ menus.cpp:1884:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1884 | delete materialBarDownButton; | ^~~~~~~~~~~~~~~~~~~~~ menus.cpp: In member function 'void cStartupHangarMenu::updateUnitData()': menus.cpp:1898:11: warning: enumeration value 'UPGRADE_TYPE_NONE' not handled in switch [-Wswitch] 1898 | switch ( upgrades[j].type ) | ^ menus.cpp: In member function 'virtual void cStartupHangarMenu::generateSelectionList()': menus.cpp:2052:13: warning: unused variable 'oldSelectdBuilding' [-Wunused-variable] 2052 | sBuilding *oldSelectdBuilding = NULL; | ^~~~~~~~~~~~~~~~~~ In file included from menus.cpp:22: menus.h: In constructor 'cLandingMenu::cLandingMenu(cGameDataContainer*, cPlayer*)': menus.h:650:15: warning: 'cLandingMenu::mapSurface' will be initialized after [-Wreorder] 650 | SDL_Surface *mapSurface; | ^~~~~~~~~~ menus.h:643:22: warning: 'cGameDataContainer* cLandingMenu::gameDataContainer' [-Wreorder] 643 | cGameDataContainer *gameDataContainer; | ^~~~~~~~~~~~~~~~~ menus.cpp:2175:1: warning: when initialized here [-Wreorder] 2175 | cLandingMenu::cLandingMenu ( cGameDataContainer *gameDataContainer_, cPlayer *player_ ) : cMenu ( NULL ), hudSurface (NULL), mapSurface(NULL), gameDataContainer(gameDataContainer_), player(player_) | ^~~~~~~~~~~~ menus.cpp: In destructor 'cLandingMenu::~cLandingMenu()': menus.cpp:2199:9: warning: deleting object of polymorphic class type 'cMenuImage' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2199 | delete hudImage; | ^~~~~~~~ menus.cpp:2200:9: warning: deleting object of polymorphic class type 'cMenuImage' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2200 | delete mapImage; | ^~~~~~~~ menus.cpp:2201:9: warning: deleting object of polymorphic class type 'cMenuImage' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2201 | delete circlesImage; | ^~~~~~~~~~~~ menus.cpp:2202:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2202 | delete infoLabel; | ^~~~~~~~~ menus.cpp: In member function 'void cLandingMenu::hitPosition()': menus.cpp:2381:9: warning: enumeration value 'GAME_TYPE_HOTSEAT' not handled in switch [-Wswitch] 2381 | switch ( gameDataContainer->type ) | ^ menus.cpp: In destructor 'cNetworkMenu::~cNetworkMenu()': menus.cpp:2485:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2485 | delete backButton; | ^~~~~~~~~~ menus.cpp:2486:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2486 | delete sendButton; | ^~~~~~~~~~ menus.cpp:2488:9: warning: deleting object of polymorphic class type 'cMenuImage' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2488 | delete mapImage; | ^~~~~~~~ menus.cpp:2489:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2489 | delete mapLabel; | ^~~~~~~~ menus.cpp:2491:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2491 | delete settingsText; | ^~~~~~~~~~~~ menus.cpp:2493:9: warning: deleting object of polymorphic class type 'cMenuListBox' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2493 | delete chatBox; | ^~~~~~~ menus.cpp:2494:9: warning: deleting object of polymorphic class type 'cMenuLineEdit' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2494 | delete chatLine; | ^~~~~~~~ menus.cpp:2496:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2496 | delete ipLabel; | ^~~~~~~ menus.cpp:2497:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2497 | delete portLabel; | ^~~~~~~~~ menus.cpp:2498:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2498 | delete nameLabel; | ^~~~~~~~~ menus.cpp:2499:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2499 | delete colorLabel; | ^~~~~~~~~~ menus.cpp:2501:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2501 | delete nextColorButton; | ^~~~~~~~~~~~~~~ menus.cpp:2502:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2502 | delete prevColorButton; | ^~~~~~~~~~~~~~~ menus.cpp:2503:9: warning: deleting object of polymorphic class type 'cMenuImage' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2503 | delete colorImage; | ^~~~~~~~~~ menus.cpp:2505:9: warning: deleting object of polymorphic class type 'cMenuLineEdit' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2505 | delete ipLine; | ^~~~~~ menus.cpp:2506:9: warning: deleting object of polymorphic class type 'cMenuLineEdit' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2506 | delete portLine; | ^~~~~~~~ menus.cpp:2507:9: warning: deleting object of polymorphic class type 'cMenuLineEdit' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2507 | delete nameLine; | ^~~~~~~~ menus.cpp:2509:9: warning: deleting object of polymorphic class type 'cMenuPlayersBox' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2509 | delete playersBox; | ^~~~~~~~~~ menus.cpp: In member function 'void cNetworkMenu::showMap()': menus.cpp:2606:12: warning: unused variable 'rSrc' [-Wunused-variable] 2606 | SDL_Rect rSrc = { 0, 0, dest.w, dest.h }; | ^~~~ menus.cpp: In destructor 'cNetworkHostMenu::~cNetworkHostMenu()': menus.cpp:2766:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2766 | delete titleLabel; | ^~~~~~~~~~ menus.cpp:2768:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2768 | delete okButton; | ^~~~~~~~ menus.cpp:2770:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2770 | delete mapButton; | ^~~~~~~~~ menus.cpp:2771:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2771 | delete settingsButton; | ^~~~~~~~~~~~~~ menus.cpp:2772:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2772 | delete loadButton; | ^~~~~~~~~~ menus.cpp:2773:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2773 | delete startButton; | ^~~~~~~~~~~ menus.cpp: In destructor 'cNetworkClientMenu::~cNetworkClientMenu()': menus.cpp:3180:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 3180 | delete titleLabel; | ^~~~~~~~~~ menus.cpp:3181:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 3181 | delete connectButton; | ^~~~~~~~~~~~~ menus.cpp: In destructor 'cLoadMenu::~cLoadMenu()': menus.cpp:3591:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 3591 | delete titleLabel; | ^~~~~~~~~~ menus.cpp:3593:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 3593 | delete backButton; | ^~~~~~~~~~ menus.cpp:3594:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 3594 | delete loadButton; | ^~~~~~~~~~ menus.cpp:3596:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 3596 | delete upButton; | ^~~~~~~~ menus.cpp:3597:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 3597 | delete downButton; | ^~~~~~~~~~ menus.cpp:3601:21: warning: deleting object of polymorphic class type 'cMenuSaveSlot' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 3601 | delete saveSlots[i]; | ^ menus.cpp: In destructor 'cLoadSaveMenu::~cLoadSaveMenu()': menus.cpp:3764:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 3764 | delete exitButton; | ^~~~~~~~~~ menus.cpp:3765:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 3765 | delete saveButton; | ^~~~~~~~~~ menus.cpp: In destructor 'cBuildingsBuildMenu::~cBuildingsBuildMenu()': menus.cpp:3860:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 3860 | delete titleLabel; | ^~~~~~~~~~ menus.cpp:3862:43: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 3862 | if ( vehicle->data.canBuildPath ) delete pathButton; | ^~~~~~~~~~ menus.cpp:3864:9: warning: deleting object of polymorphic class type 'cMenuBuildSpeedHandler' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 3864 | delete speedHandler; | ^~~~~~~~~~~~ menus.cpp: In destructor 'cVehiclesBuildMenu::~cVehiclesBuildMenu()': menus.cpp:3996:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 3996 | delete titleLabel; | ^~~~~~~~~~ menus.cpp:3997:9: warning: deleting object of polymorphic class type 'cMenuBuildSpeedHandler' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 3997 | delete speedHandler; | ^~~~~~~~~~~~ menus.cpp:3999:9: warning: deleting object of polymorphic class type 'cMenuCheckButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 3999 | delete repeatButton; | ^~~~~~~~~~~~ menus.cpp: In destructor 'cUpgradeHangarMenu::~cUpgradeHangarMenu()': menus.cpp:4133:9: warning: deleting object of polymorphic class type 'cMenuUpgradeFilter' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 4133 | delete upgradeFilter; | ^~~~~~~~~~~~~ menus.cpp:4134:9: warning: deleting object of polymorphic class type 'cMenuUpgradeHandler' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 4134 | delete upgradeButtons; | ^~~~~~~~~~~~~~ menus.cpp:4136:9: warning: deleting object of polymorphic class type 'cMenuMaterialBar' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 4136 | delete goldBar; | ^~~~~~~ menus.cpp:4137:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 4137 | delete goldBarLabel; | ^~~~~~~~~~~~ menus.cpp: In constructor 'cUpgradeMenu::cUpgradeMenu(cPlayer*)': menus.cpp:4259:143: warning: base 'cUpgradeHangarMenu' will be initialized after [-Wreorder] 4259 | cUpgradeMenu::cUpgradeMenu ( cPlayer *player ) : cUpgradeHangarMenu ( player ), cHangarMenu ( LoadPCX ( GFXOD_UPGRADE ), player, MNU_BG_ALPHA ) | ^ menus.cpp:4259:143: warning: base 'cHangarMenu' [-Wreorder] menus.cpp:4259:1: warning: when initialized here [-Wreorder] 4259 | cUpgradeMenu::cUpgradeMenu ( cPlayer *player ) : cUpgradeHangarMenu ( player ), cHangarMenu ( LoadPCX ( GFXOD_UPGRADE ), player, MNU_BG_ALPHA ) | ^~~~~~~~~~~~ menus.cpp: In destructor 'cUnitHelpMenu::~cUnitHelpMenu()': menus.cpp:4406:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 4406 | delete titleLabel; | ^~~~~~~~~~ menus.cpp:4408:9: warning: deleting object of polymorphic class type 'cMenuImage' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 4408 | delete infoImage; | ^~~~~~~~~ menus.cpp:4409:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 4409 | delete infoText; | ^~~~~~~~ menus.cpp:4411:9: warning: deleting object of polymorphic class type 'cMenuUnitDetails' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 4411 | delete unitDetails; | ^~~~~~~~~~~ menus.cpp:4413:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 4413 | delete doneButton; | ^~~~~~~~~~ menus.cpp:4415:9: warning: deleting object of polymorphic class type 'cMenuUnitListItem' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 4415 | delete unit; | ^~~~ In file included from menus.cpp:22: menus.h: In constructor 'cStorageMenu::cStorageMenu(cList&, cVehicle*, cBuilding*)': menus.h:966:21: warning: 'cStorageMenu::storageList' will be initialized after [-Wreorder] 966 | cList &storageList; | ^~~~~~~~~~~ menus.h:964:12: warning: 'cVehicle* cStorageMenu::ownerVehicle' [-Wreorder] 964 | cVehicle *ownerVehicle; | ^~~~~~~~~~~~ menus.cpp:4431:1: warning: when initialized here [-Wreorder] 4431 | cStorageMenu::cStorageMenu( cList &storageList_, cVehicle *vehicle, cBuilding *building ) : cMenu ( LoadPCX ( GFXOD_STORAGE ), MNU_BG_ALPHA ), storageList(storageList_), ownerVehicle( vehicle ), ownerBuilding(building) | ^~~~~~~~~~~~ menus.cpp: In destructor 'cStorageMenu::~cStorageMenu()': menus.cpp:4493:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 4493 | delete doneButton; | ^~~~~~~~~~ In file included from menus.cpp:22: menus.h: In constructor 'cMineManagerMenu::cMineManagerMenu(cBuilding*)': menus.h:1028:11: warning: 'cMineManagerMenu::subBase' will be initialized after [-Wreorder] 1028 | sSubBase subBase; | ^~~~~~~ menus.h:1027:13: warning: 'cBuilding* cMineManagerMenu::building' [-Wreorder] 1027 | cBuilding *building; | ^~~~~~~~ menus.cpp:4800:1: warning: when initialized here [-Wreorder] 4800 | cMineManagerMenu::cMineManagerMenu( cBuilding *building_ ) : cMenu ( LoadPCX(GFXOD_MINEMANAGER), MNU_BG_ALPHA ), subBase( *building_->SubBase ), building(building_) | ^~~~~~~~~~~~~~~~ menus.cpp: In destructor 'cMineManagerMenu::~cMineManagerMenu()': menus.cpp:4869:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 4869 | delete titleLabel; | ^~~~~~~~~~ menus.cpp:4870:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 4870 | delete doneButton; | ^~~~~~~~~~ menus.cpp:4876:22: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 4876 | delete incButtons[i]; | ^ menus.cpp:4877:22: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 4877 | delete decButtons[i]; | ^ menus.cpp:4879:26: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 4879 | delete resourceLabels[i]; | ^ menus.cpp:4880:23: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 4880 | delete usageLabels[i]; | ^ menus.cpp:4881:25: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 4881 | delete reserveLabels[i]; | ^ menus.cpp:4883:21: warning: deleting object of polymorphic class type 'cMenuMaterialBar' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 4883 | delete metalBars[i]; | ^ menus.cpp:4884:19: warning: deleting object of polymorphic class type 'cMenuMaterialBar' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 4884 | delete oilBars[i]; | ^ menus.cpp:4885:20: warning: deleting object of polymorphic class type 'cMenuMaterialBar' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 4885 | delete goldBars[i]; | ^ menus.cpp:4887:26: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 4887 | delete metalBarLabels[i]; | ^ menus.cpp:4888:24: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 4888 | delete oilBarLabels[i]; | ^ menus.cpp:4889:25: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 4889 | delete goldBarLabels[i]; | ^ menus.cpp:4891:20: warning: deleting object of polymorphic class type 'cMenuMaterialBar' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 4891 | delete noneBars[i]; | ^ menus.cpp: In destructor 'cReportsMenu::~cReportsMenu()': menus.cpp:5122:9: warning: deleting object of polymorphic class type 'cMenuRadioGroup' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 5122 | delete typeButtonGroup; | ^~~~~~~~~~~~~~~ menus.cpp:5124:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 5124 | delete includedLabel; | ^~~~~~~~~~~~~ menus.cpp:5125:9: warning: deleting object of polymorphic class type 'cMenuCheckButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 5125 | delete planesCheckBtn; | ^~~~~~~~~~~~~~ menus.cpp:5126:9: warning: deleting object of polymorphic class type 'cMenuCheckButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 5126 | delete groundCheckBtn; | ^~~~~~~~~~~~~~ menus.cpp:5127:9: warning: deleting object of polymorphic class type 'cMenuCheckButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 5127 | delete seaCheckBtn; | ^~~~~~~~~~~ menus.cpp:5128:9: warning: deleting object of polymorphic class type 'cMenuCheckButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 5128 | delete stationaryCheckBtn; | ^~~~~~~~~~~~~~~~~~ menus.cpp:5130:9: warning: deleting object of polymorphic class type 'cMenuLabel' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 5130 | delete borderedLabel; | ^~~~~~~~~~~~~ menus.cpp:5131:9: warning: deleting object of polymorphic class type 'cMenuCheckButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 5131 | delete buildCheckBtn; | ^~~~~~~~~~~~~ menus.cpp:5132:9: warning: deleting object of polymorphic class type 'cMenuCheckButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 5132 | delete fightCheckBtn; | ^~~~~~~~~~~~~ menus.cpp:5133:9: warning: deleting object of polymorphic class type 'cMenuCheckButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 5133 | delete damagedCheckBtn; | ^~~~~~~~~~~~~~~ menus.cpp:5134:9: warning: deleting object of polymorphic class type 'cMenuCheckButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 5134 | delete stealthCheckBtn; | ^~~~~~~~~~~~~~~ menus.cpp:5136:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 5136 | delete doneButton; | ^~~~~~~~~~ menus.cpp:5137:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 5137 | delete upButton; | ^~~~~~~~ menus.cpp:5138:9: warning: deleting object of polymorphic class type 'cMenuButton' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 5138 | delete downButton; | ^~~~~~~~~~ menus.cpp:5140:9: warning: deleting object of polymorphic class type 'cMenuReportsScreen' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 5140 | delete dataScreen; | ^~~~~~~~~~ menus.cpp: In member function 'SDL_Surface* cMainMenu::getRandomInfoImage()': menus.cpp:652:15: warning: 'unitShow' may be used uninitialized in this function [-Wmaybe-uninitialized] 652 | 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] 3124 | 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' 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] 55 | int iLastLandX, iLastLandY; | ^~~~~~~~~~ menus.h:54:16: warning: 'eLandingState sClientLandData::landingState' [-Wreorder] 54 | eLandingState landingState; | ^~~~~~~~~~~~ menus.h:58:2: warning: when initialized here [-Wreorder] 58 | sClientLandData() : iLandX(0), iLandY(0), iLastLandX(0), iLastLandY(0), landingState ( LANDING_STATE_UNKNOWN ), receivedOK(true) {} | ^~~~~~~~~~~~~~~ In file included from client.cpp:32: menus.h: In constructor 'cGameDataContainer::cGameDataContainer()': menus.h:154:8: warning: 'cGameDataContainer::map' will be initialized after [-Wreorder] 154 | cMap *map; | ^~~ menus.h:144:13: warning: 'eGameTypes cGameDataContainer::type' [-Wreorder] 144 | eGameTypes type; | ^~~~ menus.h:164:2: warning: when initialized here [-Wreorder] 164 | cGameDataContainer() : settings(NULL), map(NULL), type(GAME_TYPE_SINGLE), savegameNum(-1) {} | ^~~~~~~~~~~~~~~~~~ client.cpp: In constructor 'sFX::sFX(eFXTyps, int, int)': client.cpp:64:9: warning: enumeration value 'fxMuzzleBig' not handled in switch [-Wswitch] 64 | 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'} [-Wnarrowing] 338 | 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] 556 | 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'} [-Wnarrowing] 1549 | 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'} [-Wnarrowing] 1549 | SDL_Rect clipRect = { 180, 18, SettingsData.iScreenW - 192, SettingsData.iScreenH - 32 }; | ~~~~~~~~~~~~~~~~~~~~~~^~~~ client.cpp:1545:8: warning: unused variable 'factor' [-Wunused-variable] 1545 | float factor = (float)(Hud.Zoom/64.0); | ^~~~~~ client.cpp: In member function 'void cClient::displayFX()': client.cpp:2230:55: warning: narrowing conversion of '(SettingsData.cSettings::iScreenW - 192)' from 'int' to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] 2230 | SDL_Rect clipRect = { 180, 18, SettingsData.iScreenW - 192, SettingsData.iScreenH - 32 }; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ client.cpp:2230:84: warning: narrowing conversion of '(SettingsData.cSettings::iScreenH - 32)' from 'int' to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] 2230 | SDL_Rect clipRect = { 180, 18, SettingsData.iScreenW - 192, SettingsData.iScreenH - 32 }; | ~~~~~~~~~~~~~~~~~~~~~~^~~~ client.cpp: In member function 'void cClient::displayFXBottom()': client.cpp:2245:55: warning: narrowing conversion of '(SettingsData.cSettings::iScreenW - 192)' from 'int' to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] 2245 | SDL_Rect clipRect = { 180, 18, SettingsData.iScreenW - 192, SettingsData.iScreenH - 32 }; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ client.cpp:2245:84: warning: narrowing conversion of '(SettingsData.cSettings::iScreenH - 32)' from 'int' to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] 2245 | SDL_Rect clipRect = { 180, 18, SettingsData.iScreenW - 192, SettingsData.iScreenH - 32 }; | ~~~~~~~~~~~~~~~~~~~~~~^~~~ client.cpp: In member function 'void cClient::drawFX(int)': client.cpp:2339:9: warning: enumeration value 'fxTorpedo' not handled in switch [-Wswitch] 2339 | 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] 2590 | 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'} [-Wnarrowing] 2695 | 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'} [-Wnarrowing] 2695 | SDL_Rect clipRect = { 180, 18, SettingsData.iScreenW - 192, SettingsData.iScreenH - 32 }; | ~~~~~~~~~~~~~~~~~~~~~~^~~~ client.cpp:2721:19: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2721 | 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'} [-Wnarrowing] 2843 | #define DEBUGOUT_X_POS (SettingsData.iScreenW-140) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ client.cpp:2852:22: note: in expansion of macro 'DEBUGOUT_X_POS' 2852 | 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'} [-Wnarrowing] 2852 | 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'} [-Wnarrowing] 2854 | 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'} [-Wnarrowing] 2854 | 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'} [-Wnarrowing] 2855 | 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'} [-Wnarrowing] 2855 | 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=] 3546 | 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'} [-Wnarrowing] 3732 | 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] 4090 | if ( Vehicle->Disabled > 0 != bWasDisabled ) Vehicle->owner->DoScan(); | ~~~~~~~~~~~~~~~~~~^~~ client.cpp:4110:29: warning: suggest parentheses around comparison in operand of '!=' [-Wparentheses] 4110 | if ( Building->Disabled > 0 != bWasDisabled ) Building->owner->DoScan(); | ~~~~~~~~~~~~~~~~~~~^~~ client.cpp:4034:13: warning: unused variable 'Player' [-Wunused-variable] 4034 | 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] 5609 | 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] 5624 | if ( Building->iID == iID ) return Building; | ~~~~~~~~~~~~~~^~~~~~ client.cpp:5632:22: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 5632 | if ( Building->iID == iID ) return Building; | ~~~~~~~~~~~~~~^~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' make[2]: Entering directory '/usr/src/RPM/BUILD/maxr-0.2.6/src' /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.79517 + 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.54428 + 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.6PAE3H 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.WhvjrJ 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), libc.so.6(GLIBC_2.7), 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), libm.so.6(GLIBC_2.29), libstdc++.so.6(CXXABI_1.3), libstdc++.so.6(CXXABI_1.3.1), libstdc++.so.6(CXXABI_1.3.8), libstdc++.so.6(CXXABI_1.3.9), libstdc++.so.6(GLIBCXX_3.4), libstdc++.so.6(GLIBCXX_3.4.20), libstdc++.so.6(GLIBCXX_3.4.21), libstdc++.so.6(GLIBCXX_3.4.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.9Hyi4H 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.3v10SK find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.NwvikL 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 274.53user 12.26system 2:11.23elapsed 218%CPU (0avgtext+0avgdata 368852maxresident)k 0inputs+0outputs (0major+2317355minor)pagefaults 0swaps /.out/maxr-0.2.6-alt2_3.i586.rpm: license not found in '/usr/share/license' directory: GFDL /.out/maxr-debuginfo-0.2.6-alt2_3.i586.rpm: license not found in '/usr/share/license' directory: GFDL 307.67user 22.22system 2:56.12elapsed 187%CPU (0avgtext+0avgdata 368852maxresident)k 20240inputs+0outputs (0major+2853994minor)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-11-27 13:04:17.937213080 +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,4 +1333,6 @@ Requires: libc.so.6(GLIBC_2.11) +Requires: libc.so.6(GLIBC_2.3) Requires: libc.so.6(GLIBC_2.3.4) Requires: libc.so.6(GLIBC_2.4) +Requires: libc.so.6(GLIBC_2.7) Requires: libgcc_s.so.1(GCC_3.0) @@ -1338,6 +1340,11 @@ Requires: libm.so.6(GLIBC_2.1) -Requires: libpthread.so.0(GLIBC_2.0) +Requires: libm.so.6(GLIBC_2.27) +Requires: libm.so.6(GLIBC_2.29) Requires: libstdc++.so.6(CXXABI_1.3) Requires: libstdc++.so.6(CXXABI_1.3.1) +Requires: libstdc++.so.6(CXXABI_1.3.8) +Requires: libstdc++.so.6(CXXABI_1.3.9) Requires: libstdc++.so.6(GLIBCXX_3.4) +Requires: libstdc++.so.6(GLIBCXX_3.4.20) +Requires: libstdc++.so.6(GLIBCXX_3.4.21) Requires: libstdc++.so.6(GLIBCXX_3.4.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-11-27 13:04:17.974211859 +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)