<86>Feb 5 04:32:36 userdel[12357]: delete user 'rooter' <86>Feb 5 04:32:36 userdel[12357]: removed group 'rooter' owned by 'rooter' <86>Feb 5 04:32:36 userdel[12357]: removed shadow group 'rooter' owned by 'rooter' <86>Feb 5 04:32:36 groupadd[12367]: group added to /etc/group: name=rooter, GID=996 <86>Feb 5 04:32:36 groupadd[12367]: group added to /etc/gshadow: name=rooter <86>Feb 5 04:32:36 groupadd[12367]: new group: name=rooter, GID=996 <86>Feb 5 04:32:36 useradd[12373]: new user: name=rooter, UID=996, GID=996, home=/root, shell=/bin/bash <86>Feb 5 04:32:36 userdel[12379]: delete user 'builder' <86>Feb 5 04:32:36 userdel[12379]: removed group 'builder' owned by 'builder' <86>Feb 5 04:32:36 userdel[12379]: removed shadow group 'builder' owned by 'builder' <86>Feb 5 04:32:36 groupadd[12391]: group added to /etc/group: name=builder, GID=997 <86>Feb 5 04:32:36 groupadd[12391]: group added to /etc/gshadow: name=builder <86>Feb 5 04:32:36 groupadd[12391]: new group: name=builder, GID=997 <86>Feb 5 04:32:36 useradd[12398]: new user: name=builder, UID=997, GID=997, home=/usr/src, shell=/bin/bash /usr/src/in/srpm/frogatto-1.3.3-alt3_19.src.rpm: license not found in '/usr/share/license' directory: proprietary <13>Feb 5 04:32:40 rpmi: libpng16-1.6.37-alt1 sisyphus+275734.100.2.1 1624788812 installed <13>Feb 5 04:32:40 rpmi: libboost_system1.77.0-1:1.77.0-alt4 sisyphus+291245.34220.55.1 1643343217 installed <13>Feb 5 04:32:40 rpmi: libboost_thread1.77.0-1:1.77.0-alt4 sisyphus+291245.34220.55.1 1643343217 installed <13>Feb 5 04:32:40 rpmi: libexpat-2.4.4-alt1 sisyphus+294677.100.1.1 1643949482 installed <13>Feb 5 04:32:40 rpmi: libglvnd-7:1.4.0-alt1 sisyphus+292743.100.1.1 1640688166 installed <13>Feb 5 04:32:40 rpmi: libwayland-client-1.20.0-alt1 sisyphus+290473.40.2.1 1639117746 installed <13>Feb 5 04:32:40 rpmi: perl-HTTP-Date-6.05-alt1 sisyphus+258981.100.1.1 1601542386 installed <13>Feb 5 04:32:41 rpmi: libjpeg-2:2.1.2-alt1 sisyphus+294623.100.2.1 1643889751 installed <13>Feb 5 04:32:41 rpmi: libogg-1.3.5-alt1 sisyphus+278100.3400.1.1 1626059695 installed <13>Feb 5 04:32:41 rpmi: xorg-proto-devel-2021.5-alt1 sisyphus+285490.100.1.1 1632124129 installed <13>Feb 5 04:32:41 rpmi: perl-XML-NamespaceSupport-1.12-alt1 1491296348 installed <13>Feb 5 04:32:41 rpmi: libflac8-1.3.3.0.79.37d1-alt2 sisyphus+278100.1400.1.1 1626058888 installed <13>Feb 5 04:32:41 rpmi: libvorbis-1.3.7-alt1 sisyphus+275738.100.1.1 1624751609 installed <13>Feb 5 04:32:41 rpmi: libboost_filesystem1.77.0-1:1.77.0-alt4 sisyphus+291245.34220.55.1 1643343217 installed <13>Feb 5 04:32:41 rpmi: libfribidi-1.0.11-alt1 sisyphus+285870.100.1.1 1632466314 installed <13>Feb 5 04:32:41 rpmi: libsqlite3-3.36.0-alt2 sisyphus+287712.100.2.1 1635827486 installed <13>Feb 5 04:32:41 rpmi: liblcms2-2.12-alt2 sisyphus+294116.100.1.1 1643180629 installed <13>Feb 5 04:32:41 rpmi: libwayland-server-1.20.0-alt1 sisyphus+290473.40.2.1 1639117746 installed <13>Feb 5 04:32:41 rpmi: perl-LWP-MediaTypes-6.04-alt1 sisyphus+225468.100.1.1 1553186684 installed <13>Feb 5 04:32:41 rpmi: perl-Compress-Raw-Zlib-2.101-alt1 sisyphus+279723.300.1.1 1626648908 installed <13>Feb 5 04:32:41 rpmi: perl-libnet-1:3.13-alt1 sisyphus+266120.100.1.1 1612961310 installed <13>Feb 5 04:32:41 rpmi: perl-Term-ANSIColor-5.01-alt1 sisyphus+244783.100.1.2 1579747505 installed <13>Feb 5 04:32:41 rpmi: perl-XML-SAX-Base-1.09-alt1 1494364363 installed <13>Feb 5 04:32:41 rpmi: libidn2-2.3.2-alt1 sisyphus+281238.100.1.2 1627476328 installed <13>Feb 5 04:32:41 rpmi: libnettle8-3.7.3-alt1 sisyphus+276723.100.1.2 1625211849 installed <13>Feb 5 04:32:41 rpmi: libnuma-2.0.14-alt2 sisyphus+278485.100.1.1 1626104243 installed <13>Feb 5 04:32:41 rpmi: libnl3-3.5.0-alt1 sisyphus+275381.100.1.2 1624498118 installed <13>Feb 5 04:32:41 rpmi: libibverbs-38.0-alt3 sisyphus+290959.100.1.1 1638189825 installed <13>Feb 5 04:32:41 rpmi: librdmacm-38.0-alt3 sisyphus+290959.100.1.1 1638189825 installed <13>Feb 5 04:32:41 rpmi: libopenblas-0.3.19-alt1.1 sisyphus+293828.100.1.1 1642694457 installed <13>Feb 5 04:32:41 rpmi: libquadmath0-11.2.1-alt2 sisyphus+291192.100.1.1 1638461765 installed <13>Feb 5 04:32:41 rpmi: libgfortran5-11.2.1-alt2 sisyphus+291192.100.1.1 1638461765 installed <13>Feb 5 04:32:41 rpmi: libp11-kit-0.24.1-alt1 sisyphus+293720.100.1.1 1642535281 installed <13>Feb 5 04:32:41 rpmi: libtasn1-4.18.0-alt1 sisyphus+294217.100.3.1 1643755527 installed <13>Feb 5 04:32:41 rpmi: libboost_context1.77.0-1:1.77.0-alt4 sisyphus+291245.34220.55.1 1643343217 installed <13>Feb 5 04:32:41 rpmi: libboost_serialization1.77.0-1:1.77.0-alt4 sisyphus+291245.34220.55.1 1643343217 installed <13>Feb 5 04:32:41 rpmi: libboost_regex1.77.0-1:1.77.0-alt4 sisyphus+291245.34220.55.1 1643343217 installed <13>Feb 5 04:32:41 rpmi: libboost_graph1.77.0-1:1.77.0-alt4 sisyphus+291245.34220.55.1 1643343217 installed <13>Feb 5 04:32:41 rpmi: libboost_log1.77.0-1:1.77.0-alt4 sisyphus+291245.34220.55.1 1643343217 installed <13>Feb 5 04:32:41 rpmi: libboost_fiber1.77.0-1:1.77.0-alt4 sisyphus+291245.34220.55.1 1643343217 installed <13>Feb 5 04:32:41 rpmi: libboost_coroutine1.77.0-1:1.77.0-alt4 sisyphus+291245.34220.55.1 1643343217 installed <13>Feb 5 04:32:41 rpmi: libquadmath11-devel-11.2.1-alt2 sisyphus+291192.100.1.1 1638461765 installed <13>Feb 5 04:32:41 rpmi: libnuma-devel-2.0.14-alt2 sisyphus+278485.100.1.1 1626104243 installed <13>Feb 5 04:32:41 rpmi: libhogweed6-3.7.3-alt1 sisyphus+276723.100.1.2 1625211849 installed <13>Feb 5 04:32:41 rpmi: libgnutls30-3.6.16-alt1 sisyphus+273086.100.1.1 1622478374 installed <13>Feb 5 04:32:41 rpmi: perl-Data-Dump-1.25-alt1 sisyphus+276551.100.1.1 1625126880 installed <13>Feb 5 04:32:41 rpmi: libjasper-2.0.33-alt2 sisyphus+291936.40.2.1 1639478958 installed <13>Feb 5 04:32:41 rpmi: libicns-0.7.1-alt1.2 sisyphus+223351.100.1.1 1551468904 installed <13>Feb 5 04:32:41 rpmi: perl-File-Listing-6.14-alt1 sisyphus+262735.100.1.1 1606813544 installed <13>Feb 5 04:32:41 rpmi: libwayland-cursor-1.20.0-alt1 sisyphus+290473.40.2.1 1639117746 installed <13>Feb 5 04:32:41 rpmi: libwayland-egl-4:18.1.0-alt1 sisyphus+290473.40.2.1 1639117746 installed <13>Feb 5 04:32:41 rpmi: libGLES-7:1.4.0-alt1 sisyphus+292743.100.1.1 1640688166 installed <13>Feb 5 04:32:41 rpmi: libOpenGL-7:1.4.0-alt1 sisyphus+292743.100.1.1 1640688166 installed <13>Feb 5 04:32:41 rpmi: libboost_type_erasure1.77.0-1:1.77.0-alt4 sisyphus+291245.34220.55.1 1643343217 installed <13>Feb 5 04:32:41 rpmi: libboost_wave1.77.0-1:1.77.0-alt4 sisyphus+291245.34220.55.1 1643343217 installed <13>Feb 5 04:32:41 rpmi: libboost_atomic1.77.0-1:1.77.0-alt4 sisyphus+291245.34220.55.1 1643343217 installed <13>Feb 5 04:32:41 rpmi: libboost_contract1.77.0-1:1.77.0-alt4 sisyphus+291245.34220.55.1 1643343217 installed <13>Feb 5 04:32:41 rpmi: libboost_chrono1.77.0-1:1.77.0-alt4 sisyphus+291245.34220.55.1 1643343217 installed <13>Feb 5 04:32:41 rpmi: libboost_timer1.77.0-1:1.77.0-alt4 sisyphus+291245.34220.55.1 1643343217 installed <13>Feb 5 04:32:41 rpmi: perl-Term-Cap-1.17-alt1 1445018869 installed <13>Feb 5 04:32:41 rpmi: perl-Pod-Escapes-1.07-alt1 1418767892 installed <13>Feb 5 04:32:41 rpmi: zlib-devel-1.2.11-alt2 sisyphus+283721.100.1.1 1629847006 installed <13>Feb 5 04:32:41 rpmi: libyaml2-0.2.5-alt1 sisyphus+278391.100.1.1 1626094932 installed <13>Feb 5 04:32:41 rpmi: libstemmer-2.0.0-alt1 sisyphus+278406.100.1.1 1626096576 installed <13>Feb 5 04:32:41 rpmi: publicsuffix-list-dafsa-20211230-alt1 sisyphus+293275.100.1.1 1641900592 installed <13>Feb 5 04:32:41 rpmi: libpsl-0.21.1-alt2 sisyphus+279461.100.1.1 1626547555 installed <13>Feb 5 04:32:41 rpmi: libverto-0.3.2-alt1_1 sisyphus+279289.100.1.3 1626493872 installed <13>Feb 5 04:32:41 rpmi: liblmdb-0.9.23-alt1 sisyphus+275369.100.1.2 1624493869 installed <13>Feb 5 04:32:41 rpmi: libkeyutils-1.6.3-alt1 sisyphus+266061.100.1.1 1612919567 installed <13>Feb 5 04:32:41 rpmi: libcom_err-1.46.4.0.5.4cda-alt1 sisyphus+283826.100.1.1 1629975361 installed <13>Feb 5 04:32:41 rpmi: libxkbcommon-1.3.1-alt1 sisyphus+285084.100.1.1 1631455232 installed <13>Feb 5 04:32:41 rpmi: libdatrie-0.2.13-alt1_2 sisyphus+285649.100.1.1 1632260805 installed <13>Feb 5 04:32:41 rpmi: libthai-0.1.29-alt1_1 sisyphus+292947.100.1.1 1641111918 installed <13>Feb 5 04:32:41 rpmi: libepoxy-1.5.9-alt1 sisyphus+282786.100.1.1 1629026261 installed <13>Feb 5 04:32:41 rpmi: libusb-1.0.24-alt2 sisyphus+287338.100.1.1 1634382961 installed <13>Feb 5 04:32:41 rpmi: libgudev-1:237-alt1 sisyphus+282754.100.1.1 1629006690 installed <13>Feb 5 04:32:41 rpmi: libpixman-3:0.40.0-alt2 sisyphus+281167.100.1.1 1627444970 installed <13>Feb 5 04:32:41 rpmi: xml-utils-1:2.9.12-alt1 sisyphus+291245.3700.54.1 1643297840 installed <13>Feb 5 04:32:41 rpmi: libbrotlicommon-1.0.9-alt2 sisyphus+278430.100.1.2 1626213212 installed <13>Feb 5 04:32:41 rpmi: libbrotlidec-1.0.9-alt2 sisyphus+278430.100.1.2 1626213212 installed <13>Feb 5 04:32:41 rpmi: libgraphite2-1.3.14-alt2.1 sisyphus+279571.100.1.2 1626605157 installed <13>Feb 5 04:32:41 rpmi: libharfbuzz-3.2.0-alt1 sisyphus+291977.100.2.1 1640010570 installed <13>Feb 5 04:32:41 rpmi: libfreetype-2.11.1-alt1 sisyphus+293609.100.1.1 1642412092 installed <13>Feb 5 04:32:41 rpmi: fontconfig-2.13.1-alt3 sisyphus+294521.100.1.1 1643785099 installed Updating fonts cache: <29>Feb 5 04:32:42 fontconfig: Updating fonts cache: succeeded [ DONE ] <13>Feb 5 04:32:42 rpmi: libmpg123-1.29.3-alt1 sisyphus+291857.100.1.1 1639310458 installed <13>Feb 5 04:32:42 rpmi: libmad-0.15.1b-alt9 sisyphus+278239.100.1.1 1626080113 installed <13>Feb 5 04:32:43 rpmi: timidity-instruments-1:1.0-alt1 sisyphus+276870.100.1.1 1625246545 installed <13>Feb 5 04:32:43 rpmi: libopus-1.3.1-alt3 sisyphus+278010.100.1.2 1625975602 installed <13>Feb 5 04:32:43 rpmi: libgsm-1.0.17-alt1 sisyphus+275359.100.2.1 1624907612 installed <13>Feb 5 04:32:43 rpmi: libsndfile-1.0.31-alt1 sisyphus+279495.100.1.1 1626550766 installed <13>Feb 5 04:32:43 rpmi: libasyncns-0.8-alt2.qa1 sisyphus+275091.100.1.1 1624402242 installed <13>Feb 5 04:32:43 rpmi: libxshmfence-1.3-alt1 sisyphus+278248.100.1.1 1626080763 installed <13>Feb 5 04:32:43 rpmi: libpciaccess-1:0.16-alt1 sisyphus+278288.100.1.1 1626084208 installed <13>Feb 5 04:32:43 rpmi: libdrm-1:2.4.109-alt1 sisyphus+291482.100.1.1 1638787695 installed <13>Feb 5 04:32:43 rpmi: libgbm-4:21.3.5-alt1 sisyphus+294218.100.1.3 1643756746 installed <13>Feb 5 04:32:43 rpmi: perl-Try-Tiny-0.31-alt1 sisyphus+290597.100.1.1 1637915507 installed <13>Feb 5 04:32:43 rpmi: perl-IO-Socket-IP-0.41-alt1 sisyphus+259012.100.1.2 1601553446 installed <13>Feb 5 04:32:43 rpmi: perl-Compress-Raw-Bzip2-2.101-alt1 sisyphus+279723.400.1.1 1626648934 installed <13>Feb 5 04:32:43 rpmi: perl-HTML-Tagset-3.20-alt2 1317725093 installed <13>Feb 5 04:32:43 rpmi: perl-Filter-1.60-alt1 sisyphus+279723.100.1.1 1626648797 installed <13>Feb 5 04:32:43 rpmi: perl-Encode-3.16-alt1 sisyphus+287134.100.1.1 1634299222 installed <13>Feb 5 04:32:43 rpmi: perl-URI-5.10-alt1 sisyphus+288175.100.1.1 1635236817 installed <13>Feb 5 04:32:43 rpmi: perl-IO-Compress-2.102-alt1 sisyphus+278038.1500.1.2 1625983088 installed <13>Feb 5 04:32:43 rpmi: perl-Net-HTTP-6.22-alt1 sisyphus+294185.100.1.1 1643275428 installed <13>Feb 5 04:32:43 rpmi: perl-HTML-Parser-3.76-alt1 sisyphus+279723.500.1.1 1626648965 installed <13>Feb 5 04:32:43 rpmi: perl-WWW-RobotRules-6.02-alt1 1329756211 installed <13>Feb 5 04:32:43 rpmi: perl-Encode-Locale-1.05-alt1 1444608613 installed <13>Feb 5 04:32:43 rpmi: perl-IO-HTML-1.004-alt1 sisyphus+258983.100.1.1 1601542619 installed <13>Feb 5 04:32:43 rpmi: perl-HTTP-Message-6.36-alt1 sisyphus+293128.100.1.1 1641619603 installed <13>Feb 5 04:32:43 rpmi: perl-HTTP-Cookies-6.10-alt1 sisyphus+264349.100.1.1 1609891183 installed <13>Feb 5 04:32:43 rpmi: perl-HTTP-Negotiate-6.01-alt1 1329760563 installed <13>Feb 5 04:32:43 rpmi: perl-libwww-6.61-alt1 sisyphus+294285.100.1.2 1643758171 installed <13>Feb 5 04:32:43 rpmi: perl-XML-LibXML-2.0207-alt4 sisyphus+279723.24400.1.3 1626684357 installed <13>Feb 5 04:32:43 rpmi: perl-XML-SAX-1.02-alt1 sisyphus+232322.100.1.1 1560758406 installed <13>Feb 5 04:32:43 rpmi: perl-XML-Simple-2.25-alt2 sisyphus+257498.100.1.1 1599324034 installed <13>Feb 5 04:32:43 rpmi: icon-naming-utils-0.8.90-alt1 sisyphus+276851.100.1.1 1625243947 installed <13>Feb 5 04:32:43 rpmi: icon-theme-adwaita-41.0-alt1 sisyphus+290326.4300.2.1 1637479341 installed <13>Feb 5 04:32:43 rpmi: perl-Pod-Simple-3.43-alt1 sisyphus+276561.100.1.1 1625127752 installed <13>Feb 5 04:32:43 rpmi: perl-Pod-Usage-2.01-alt1 sisyphus+277175.100.1.1 1625408247 installed <13>Feb 5 04:32:43 rpmi: perl-podlators-4.14-alt1 sisyphus+277178.100.1.2 1625426264 installed <13>Feb 5 04:32:43 rpmi: libwebp7-1.2.2-alt1 sisyphus+293797.100.1.1 1642668643 installed <13>Feb 5 04:32:43 rpmi: libjbig-2.1-alt1 sisyphus+276068.100.1.1 1624815406 installed <13>Feb 5 04:32:43 rpmi: libdeflate-1.8-alt1 sisyphus+290923.240.4.1 1638162729 installed <13>Feb 5 04:32:43 rpmi: libtiff5-4.3.0-alt2 sisyphus+290923.300.4.1 1638162797 installed <13>Feb 5 04:32:43 rpmi: libgdk-pixbuf-locales-2.42.6-alt1 sisyphus+277964.100.1.1 1625927113 installed <13>Feb 5 04:32:43 rpmi: gtk+3-themes-incompatible-3.20-alt3 1461944560 installed <13>Feb 5 04:32:43 rpmi: libproxy-0.4.17-alt1.1 sisyphus+279553.100.1.2 1626595616 installed <13>Feb 5 04:32:43 rpmi: libboost_program_options1.77.0-1:1.77.0-alt4 sisyphus+291245.34220.55.1 1643343217 installed <13>Feb 5 04:32:43 rpmi: libboost_math_tr1l1.77.0-1:1.77.0-alt4 sisyphus+291245.34220.55.1 1643343217 installed <13>Feb 5 04:32:43 rpmi: libboost_math_tr1f1.77.0-1:1.77.0-alt4 sisyphus+291245.34220.55.1 1643343217 installed <13>Feb 5 04:32:43 rpmi: libboost_math_tr11.77.0-1:1.77.0-alt4 sisyphus+291245.34220.55.1 1643343217 installed <13>Feb 5 04:32:43 rpmi: libboost_math_c99l1.77.0-1:1.77.0-alt4 sisyphus+291245.34220.55.1 1643343217 installed <13>Feb 5 04:32:43 rpmi: libboost_math_c99f1.77.0-1:1.77.0-alt4 sisyphus+291245.34220.55.1 1643343217 installed <13>Feb 5 04:32:43 rpmi: libboost_math_c991.77.0-1:1.77.0-alt4 sisyphus+291245.34220.55.1 1643343217 installed <13>Feb 5 04:32:44 rpmi: libicu69-1:6.9.1-alt2 sisyphus+277632.100.1.1 1625726231 installed <13>Feb 5 04:32:44 rpmi: libboost_locale1.77.0-1:1.77.0-alt4 sisyphus+291245.34220.55.1 1643343217 installed <13>Feb 5 04:32:44 rpmi: tcsh-6.20.00-alt4 sisyphus+278971.100.1.1 1626339281 installed <13>Feb 5 04:32:44 rpmi: rpm-macros-mpi-selector-1.0.3-alt3 1504498675 installed <13>Feb 5 04:32:44 rpmi: mpi-selector-1.0.3-alt3 1504498675 installed <13>Feb 5 04:32:44 rpmi: openmpi-2.0.1-alt8 sisyphus+275152.100.1.1 1624410819 installed <13>Feb 5 04:32:44 rpmi: libboost_mpi1.77.0-1:1.77.0-alt4 sisyphus+291245.34220.55.1 1643343217 installed <13>Feb 5 04:32:44 rpmi: libboost_graph_parallel1.77.0-1:1.77.0-alt4 sisyphus+291245.34220.55.1 1643343217 installed <13>Feb 5 04:32:44 rpmi: libibumad-38.0-alt3 sisyphus+290959.100.1.1 1638189825 installed <13>Feb 5 04:32:44 rpmi: libibmad-38.0-alt3 sisyphus+290959.100.1.1 1638189825 installed <13>Feb 5 04:32:44 rpmi: libibnetdisc-38.0-alt3 sisyphus+290959.100.1.1 1638189825 installed <13>Feb 5 04:32:44 rpmi: mount-2.37.3-alt2 sisyphus+294073.100.1.1 1643117189 installed <13>Feb 5 04:32:44 rpmi: losetup-2.37.3-alt2 sisyphus+294073.100.1.1 1643117189 installed <13>Feb 5 04:32:44 rpmi: libdevmapper-1.02.179-alt2 sisyphus+287340.100.1.1 1634383917 installed <13>Feb 5 04:32:44 rpmi: lsblk-2.37.3-alt2 sisyphus+294073.100.1.1 1643117189 installed <13>Feb 5 04:32:44 rpmi: gcc-fortran-common-1.4.27-alt1 sisyphus+278099.1300.1.1 1626028636 installed <13>Feb 5 04:32:44 rpmi: libgfortran11-devel-11.2.1-alt2 sisyphus+291192.100.1.1 1638461765 installed <13>Feb 5 04:32:45 rpmi: gcc11-fortran-11.2.1-alt2 sisyphus+291192.100.1.1 1638461765 installed <13>Feb 5 04:32:45 rpmi: gcc-fortran-11-alt1 sisyphus+285602.400.1.1 1632239666 installed <13>Feb 5 04:32:45 rpmi: gcc-c++-common-1.4.27-alt1 sisyphus+278099.1300.1.1 1626028636 installed <13>Feb 5 04:32:45 rpmi: libstdc++11-devel-11.2.1-alt2 sisyphus+291192.100.1.1 1638461765 installed <13>Feb 5 04:32:46 rpmi: gcc11-c++-11.2.1-alt2 sisyphus+291192.100.1.1 1638461765 installed <13>Feb 5 04:32:46 rpmi: gcc-c++-11-alt1 sisyphus+285602.400.1.1 1632239666 installed <13>Feb 5 04:32:46 rpmi: libxblas-1.0.248-alt2 sisyphus+285045.40.2.1 1631388462 installed <13>Feb 5 04:32:46 rpmi: liblapack-1:3.8.0-alt7 sisyphus+293726.100.1.1 1642544503 installed <13>Feb 5 04:32:46 rpmi: boost-python-headers-1:1.77.0-alt4 sisyphus+291245.34220.55.1 1643343217 installed <13>Feb 5 04:32:46 rpmi: libncurses-6.3.20211106-alt2 sisyphus+294456.100.3.1 1643966459 installed <13>Feb 5 04:32:46 rpmi: libtinfo-devel-6.3.20211106-alt2 sisyphus+294456.100.3.1 1643966459 installed <13>Feb 5 04:32:46 rpmi: libncurses-devel-6.3.20211106-alt2 sisyphus+294456.100.3.1 1643966459 installed <13>Feb 5 04:32:46 rpmi: mpdecimal-2.5.1-alt1 sisyphus+291245.40.54.1 1643293464 installed <13>Feb 5 04:32:46 rpmi: libgdbm-1.8.3-alt10 sisyphus+278100.1600.1.1 1626059138 installed <13>Feb 5 04:32:46 rpmi: libboost_stacktrace1.77.0-1:1.77.0-alt4 sisyphus+291245.34220.55.1 1643343217 installed <13>Feb 5 04:32:46 rpmi: libboost_nowide1.77.0-1:1.77.0-alt4 sisyphus+291245.34220.55.1 1643343217 installed <13>Feb 5 04:32:46 rpmi: libboost_test1.77.0-1:1.77.0-alt4 sisyphus+291245.34220.55.1 1643343217 installed <13>Feb 5 04:32:46 rpmi: libboost_random1.77.0-1:1.77.0-alt4 sisyphus+291245.34220.55.1 1643343217 installed <13>Feb 5 04:32:46 rpmi: libboost_iostreams1.77.0-1:1.77.0-alt4 sisyphus+291245.34220.55.1 1643343217 installed <13>Feb 5 04:32:46 rpmi: libboost_json1.77.0-1:1.77.0-alt4 sisyphus+291245.34220.55.1 1643343217 installed <13>Feb 5 04:32:46 rpmi: libboost_date_time1.77.0-1:1.77.0-alt4 sisyphus+291245.34220.55.1 1643343217 installed <13>Feb 5 04:32:46 rpmi: libboost_container1.77.0-1:1.77.0-alt4 sisyphus+291245.34220.55.1 1643343217 installed <13>Feb 5 04:32:47 rpmi: boost-devel-headers-1:1.77.0-alt4 sisyphus+291245.34220.55.1 1643343501 installed <13>Feb 5 04:32:47 rpmi: boost-devel-1:1.77.0-alt4 sisyphus+291245.34220.55.1 1643343217 installed <13>Feb 5 04:32:47 rpmi: boost-asio-devel-1:1.77.0-alt4 sisyphus+291245.34220.55.1 1643343501 installed <13>Feb 5 04:32:47 rpmi: boost-context-devel-1:1.77.0-alt4 sisyphus+291245.34220.55.1 1643343217 installed <13>Feb 5 04:32:47 rpmi: boost-coroutine-devel-1:1.77.0-alt4 sisyphus+291245.34220.55.1 1643343217 installed <13>Feb 5 04:32:48 rpmi: boost-interprocess-devel-1:1.77.0-alt4 sisyphus+291245.34220.55.1 1643343501 installed <13>Feb 5 04:32:48 rpmi: boost-flyweight-devel-1:1.77.0-alt4 sisyphus+291245.34220.55.1 1643343501 installed <13>Feb 5 04:32:48 rpmi: boost-polygon-devel-1:1.77.0-alt4 sisyphus+291245.34220.55.1 1643343501 installed <13>Feb 5 04:32:48 rpmi: boost-geometry-devel-1:1.77.0-alt4 sisyphus+291245.34220.55.1 1643343501 installed <13>Feb 5 04:32:48 rpmi: boost-locale-devel-1:1.77.0-alt4 sisyphus+291245.34220.55.1 1643343217 installed <13>Feb 5 04:32:48 rpmi: boost-lockfree-devel-1:1.77.0-alt4 sisyphus+291245.34220.55.1 1643343501 installed <13>Feb 5 04:32:48 rpmi: boost-log-devel-1:1.77.0-alt4 sisyphus+291245.34220.55.1 1643343217 installed <13>Feb 5 04:32:48 rpmi: boost-math-devel-1:1.77.0-alt4 sisyphus+291245.34220.55.1 1643343217 installed <13>Feb 5 04:32:48 rpmi: boost-msm-devel-1:1.77.0-alt4 sisyphus+291245.34220.55.1 1643343501 installed <13>Feb 5 04:32:48 rpmi: boost-program_options-devel-1:1.77.0-alt4 sisyphus+291245.34220.55.1 1643343217 installed <13>Feb 5 04:32:48 rpmi: boost-signals-devel-1:1.77.0-alt4 sisyphus+291245.34220.55.1 1643343217 installed <13>Feb 5 04:32:48 rpmi: boost-filesystem-devel-1:1.77.0-alt4 sisyphus+291245.34220.55.1 1643343217 installed <13>Feb 5 04:32:48 rpmi: boost-wave-devel-1:1.77.0-alt4 sisyphus+291245.34220.55.1 1643343217 installed <13>Feb 5 04:32:48 rpmi: libatk-locales-2.36.0-alt1 sisyphus+275092.100.2.1 1624560096 installed <13>Feb 5 04:32:48 rpmi: libatk-2.36.0-alt1 sisyphus+275092.100.2.1 1624560101 installed <13>Feb 5 04:32:48 rpmi: desktop-file-utils-0.26-alt2 sisyphus+291568.100.1.1 1638875878 installed <13>Feb 5 04:32:48 rpmi: shared-mime-info-2.1-alt2 sisyphus+292072.100.1.1 1639655304 installed <13>Feb 5 04:32:48 rpmi: gsettings-desktop-schemas-data-41.0-alt1 sisyphus+290326.500.2.1 1637476268 installed <13>Feb 5 04:32:48 rpmi: libgio-2.70.3-alt1 sisyphus+291245.36320.55.1 1643345733 installed <13>Feb 5 04:32:48 rpmi: gsettings-desktop-schemas-41.0-alt1 sisyphus+290326.500.2.1 1637476294 installed <13>Feb 5 04:32:48 rpmi: libgdk-pixbuf-2.42.6-alt1 sisyphus+277964.100.1.1 1625927159 installed <13>Feb 5 04:32:48 rpmi: libgusb-0.3.10-alt1 sisyphus+293257.100.1.1 1641836017 installed <13>Feb 5 04:32:48 rpmi: libcolord-1.4.5-alt2 sisyphus+264292.100.1.1 1609619010 installed <13>Feb 5 04:32:48 rpmi: gtk-update-icon-cache-3.24.31-alt1 sisyphus+292382.100.3.2 1640095528 installed <13>Feb 5 04:32:48 rpmi: libdconf-0.40.0-alt1 sisyphus+279299.100.1.2 1626495975 installed <13>Feb 5 04:32:48 rpmi: libjson-glib-1.6.4-alt1 sisyphus+283305.200.1.1 1629309139 installed <13>Feb 5 04:32:48 rpmi: liblz4-1:1.9.3-alt1 sisyphus+278100.4000.1.1 1626060252 installed <13>Feb 5 04:32:48 rpmi: libsystemd-1:249.9-alt1 sisyphus+293502.100.1.1 1642187918 installed <13>Feb 5 04:32:48 rpmi: libdbus-1.12.20-alt1 sisyphus+281278.100.1.1 1627484268 installed <13>Feb 5 04:32:48 rpmi: dbus-tools-1.12.20-alt1 sisyphus+281278.100.1.1 1627484268 installed <86>Feb 5 04:32:48 groupadd[59630]: group added to /etc/group: name=messagebus, GID=499 <86>Feb 5 04:32:48 groupadd[59630]: group added to /etc/gshadow: name=messagebus <86>Feb 5 04:32:48 groupadd[59630]: new group: name=messagebus, GID=499 <86>Feb 5 04:32:48 useradd[59637]: new user: name=messagebus, UID=499, GID=499, home=/run/dbus, shell=/dev/null <13>Feb 5 04:32:48 rpmi: dbus-1.12.20-alt1 sisyphus+281278.100.1.1 1627484268 installed <13>Feb 5 04:32:48 rpmi: dconf-0.40.0-alt1 sisyphus+279299.100.1.2 1626495975 installed <13>Feb 5 04:32:48 rpmi: libgtk+3-schemas-3.24.31-alt1 sisyphus+292382.100.3.2 1640095505 installed <13>Feb 5 04:32:48 rpmi: libavahi-0.8-alt2 sisyphus+279391.100.1.2 1626530700 installed <13>Feb 5 04:32:48 rpmi: libcups-2.3.3-alt7.op2 sisyphus+289457.100.2.1 1636771530 installed <13>Feb 5 04:32:48 rpmi: libpolkit-0.120-alt1.qa1 sisyphus+294103.100.1.1 1643150892 installed <13>Feb 5 04:32:48 rpmi: libX11-locales-3:1.7.3-alt1 sisyphus+291550.100.1.1 1638859750 installed <13>Feb 5 04:32:48 rpmi: libXdmcp-1.1.3-alt1 sisyphus+278816.100.1.1 1626219233 installed <13>Feb 5 04:32:48 rpmi: libXau-1.0.9-alt1 sisyphus+278247.100.1.1 1626080738 installed <13>Feb 5 04:32:48 rpmi: libxcb-1.14-alt1 sisyphus+277968.100.1.3 1625952333 installed <13>Feb 5 04:32:48 rpmi: libX11-3:1.7.3-alt1 sisyphus+291550.100.1.1 1638859758 installed <13>Feb 5 04:32:48 rpmi: libXext-1.3.4-alt1 sisyphus+278817.100.1.3 1626262589 installed <13>Feb 5 04:32:48 rpmi: libXrender-0.9.10-alt1 sisyphus+278480.100.1.2 1626227741 installed <13>Feb 5 04:32:48 rpmi: libXfixes-6.0.0-alt1 sisyphus+284644.300.1.1 1630910333 installed <13>Feb 5 04:32:48 rpmi: libXrandr-1.5.2-alt1 sisyphus+275330.100.2.2 1624575560 installed <13>Feb 5 04:32:48 rpmi: libXi-1.8-alt1 sisyphus+285490.200.1.1 1632124180 installed <13>Feb 5 04:32:48 rpmi: libat-spi2-core-2.42.0-alt1 sisyphus+290326.1200.2.1 1637477154 installed <13>Feb 5 04:32:48 rpmi: libpulseaudio-15.0-alt1 sisyphus+281243.100.1.2 1627477167 installed <13>Feb 5 04:32:48 rpmi: libmikmod-3.3.11.1-alt2 sisyphus+278211.100.1.1 1626077624 installed <13>Feb 5 04:32:48 rpmi: libXcursor-1.2.0-alt1 sisyphus+278256.100.1.2 1626134584 installed <13>Feb 5 04:32:48 rpmi: libXft-2.3.4-alt1 sisyphus+284644.500.1.1 1630910448 installed <13>Feb 5 04:32:48 rpmi: libXtst-1.2.3-alt1 sisyphus+278848.100.1.2 1626298057 installed <13>Feb 5 04:32:48 rpmi: libXxf86vm-1.1.4-alt2 sisyphus+275334.100.2.2 1624577012 installed <13>Feb 5 04:32:48 rpmi: libGLX-mesa-4:21.3.5-alt1 sisyphus+294218.100.1.3 1643756746 installed <13>Feb 5 04:32:48 rpmi: libEGL-mesa-4:21.3.5-alt1 sisyphus+294218.100.1.3 1643756746 installed <13>Feb 5 04:32:48 rpmi: libEGL-7:1.4.0-alt1 sisyphus+292743.100.1.1 1640688166 installed <13>Feb 5 04:32:48 rpmi: libGLX-7:1.4.0-alt1 sisyphus+292743.100.1.1 1640688166 installed <13>Feb 5 04:32:48 rpmi: libGL-7:1.4.0-alt1 sisyphus+292743.100.1.1 1640688166 installed <13>Feb 5 04:32:48 rpmi: libcairo-1:1.16.0-alt1 sisyphus+275343.100.2.3 1624578031 installed <13>Feb 5 04:32:48 rpmi: libpango-1.48.11-alt1 sisyphus+293302.100.1.1 1641918228 installed <13>Feb 5 04:32:48 rpmi: libcairo-gobject-1:1.16.0-alt1 sisyphus+275343.100.2.3 1624578031 installed <13>Feb 5 04:32:48 rpmi: libGLU-4:9.0.1-alt1 sisyphus+278350.100.1.2 1626174378 installed <13>Feb 5 04:32:48 rpmi: libGLEW2.2-2.2.0-alt1 sisyphus+278988.100.1.1 1626351078 installed <13>Feb 5 04:32:48 rpmi: libXinerama-1.1.4-alt1 sisyphus+275328.100.2.2 1624575558 installed <13>Feb 5 04:32:48 rpmi: dbus-tools-gui-1.12.20-alt1 sisyphus+281278.100.1.1 1627484268 installed <13>Feb 5 04:32:48 rpmi: xprop-1.2.5-alt1 sisyphus+279025.100.1.1 1626354193 installed <13>Feb 5 04:32:48 rpmi: at-spi2-core-2.42.0-alt1 sisyphus+290326.1200.2.1 1637477154 installed <13>Feb 5 04:32:48 rpmi: at-spi2-atk-2.38.0-alt1 sisyphus+277983.100.1.2 1625960722 installed <13>Feb 5 04:32:48 rpmi: libXcomposite-0.4.5-alt1 sisyphus+275323.100.2.2 1624573270 installed <13>Feb 5 04:32:48 rpmi: libXdamage-1.1.5-alt1 sisyphus+275324.100.2.2 1624573270 installed <13>Feb 5 04:32:50 rpmi: libxcb-devel-1.14-alt1 sisyphus+277968.100.1.3 1625952333 installed <13>Feb 5 04:32:50 rpmi: libX11-devel-3:1.7.3-alt1 sisyphus+291550.100.1.1 1638859758 installed <13>Feb 5 04:32:50 rpmi: libglvnd-devel-7:1.4.0-alt1 sisyphus+292743.100.1.1 1640688166 installed <13>Feb 5 04:32:50 rpmi: libGLU-devel-4:9.0.1-alt1 sisyphus+278350.100.1.2 1626174378 installed <13>Feb 5 04:32:50 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+278157.100.2.1 1626055790 installed <13>Feb 5 04:32:50 rpmi: alternatives-0.5.1-alt1 sisyphus+278157.100.2.1 1626055790 installed <13>Feb 5 04:32:50 rpmi: ca-certificates-2021.10.06-alt1 sisyphus+286526.200.1.1 1633528578 installed <13>Feb 5 04:32:50 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Feb 5 04:32:50 rpmi: p11-kit-trust-0.24.1-alt1 sisyphus+293720.100.1.1 1642535281 installed <13>Feb 5 04:32:50 rpmi: libcrypto1.1-1.1.1l-alt2 sisyphus+287339.100.1.1 1634383658 installed <13>Feb 5 04:32:50 rpmi: libssl1.1-1.1.1l-alt2 sisyphus+287339.100.1.1 1634383658 installed <13>Feb 5 04:32:50 rpmi: python3-3.10.2-alt1.1 sisyphus+294733.100.1.1 1643981508 installed <13>Feb 5 04:32:50 rpmi: python3-base-3.10.2-alt1.1 sisyphus+294733.100.1.1 1643981508 installed <13>Feb 5 04:32:50 rpmi: libboost_python3-1.77.0-1:1.77.0-alt4 sisyphus+291245.34220.55.1 1643343217 installed <13>Feb 5 04:32:50 rpmi: libkmod-29-alt1 sisyphus+288763.100.1.1 1635886492 installed <13>Feb 5 04:32:50 rpmi: kmod-29-alt1 sisyphus+288763.100.1.1 1635886492 installed <13>Feb 5 04:32:50 rpmi: dmsetup-1.02.179-alt2 sisyphus+287340.100.1.1 1634383917 installed <86>Feb 5 04:32:50 groupadd[66285]: group added to /etc/group: name=tape, GID=498 <86>Feb 5 04:32:50 groupadd[66285]: group added to /etc/gshadow: name=tape <86>Feb 5 04:32:50 groupadd[66285]: new group: name=tape, GID=498 <86>Feb 5 04:32:50 groupadd[66293]: group added to /etc/group: name=dialout, GID=497 <86>Feb 5 04:32:50 groupadd[66293]: group added to /etc/gshadow: name=dialout <86>Feb 5 04:32:50 groupadd[66293]: new group: name=dialout, GID=497 <86>Feb 5 04:32:50 groupadd[66305]: group added to /etc/group: name=input, GID=496 <86>Feb 5 04:32:50 groupadd[66305]: group added to /etc/gshadow: name=input <86>Feb 5 04:32:50 groupadd[66305]: new group: name=input, GID=496 <86>Feb 5 04:32:50 groupadd[66317]: group added to /etc/group: name=video, GID=495 <86>Feb 5 04:32:50 groupadd[66317]: group added to /etc/gshadow: name=video <86>Feb 5 04:32:50 groupadd[66317]: new group: name=video, GID=495 <86>Feb 5 04:32:50 groupadd[66327]: group added to /etc/group: name=render, GID=494 <86>Feb 5 04:32:50 groupadd[66327]: group added to /etc/gshadow: name=render <86>Feb 5 04:32:50 groupadd[66327]: new group: name=render, GID=494 <13>Feb 5 04:32:51 rpmi: udev-1:249.9-alt1 sisyphus+293502.100.1.1 1642187918 installed <13>Feb 5 04:32:51 rpmi: rdma-core-38.0-alt3 sisyphus+290959.100.1.1 1638189825 installed <13>Feb 5 04:32:51 rpmi: rdma-core-devel-38.0-alt3 sisyphus+290959.100.1.1 1638189825 installed <13>Feb 5 04:32:51 rpmi: openmpi-devel-2.0.1-alt8 sisyphus+275152.100.1.1 1624410819 installed <86>Feb 5 04:32:51 groupadd[68050]: group added to /etc/group: name=colord, GID=493 <86>Feb 5 04:32:51 groupadd[68050]: group added to /etc/gshadow: name=colord <86>Feb 5 04:32:51 groupadd[68050]: new group: name=colord, GID=493 <86>Feb 5 04:32:51 useradd[68068]: new user: name=colord, UID=498, GID=493, home=/var/colord, shell=/dev/null <13>Feb 5 04:32:51 rpmi: colord-1.4.5-alt2 sisyphus+264292.100.1.1 1609619010 installed <13>Feb 5 04:32:51 rpmi: libgtk+3-3.24.31-alt1 sisyphus+292382.100.3.2 1640095528 installed <13>Feb 5 04:32:51 rpmi: libboost_mpi_python3-1.77.0-1:1.77.0-alt4 sisyphus+291245.34220.55.1 1643343217 installed <13>Feb 5 04:32:52 rpmi: libpython3-3.10.2-alt1.1 sisyphus+294733.100.1.1 1643981508 installed <13>Feb 5 04:32:52 rpmi: python3-module-markupsafe-1:2.0.1-alt2 sisyphus+291245.15300.54.1 1643303355 installed <13>Feb 5 04:32:52 rpmi: python3-module-jinja2-3.0.1-alt1 sisyphus+274841.1100.1.1 1624295237 installed <13>Feb 5 04:32:52 rpmi: python3-module-pkg_resources-1:60.5.4-alt1 sisyphus+293292.1330.5.1 1642856721 installed <13>Feb 5 04:32:52 rpmi: python3-module-railroad-diagrams-1.1.1-alt1 sisyphus+294587.100.1.1 1643813088 installed <13>Feb 5 04:32:52 rpmi: python3-module-pyparsing-3.0.7-alt1 sisyphus+294592.100.2.1 1643824768 installed <13>Feb 5 04:32:52 rpmi: python3-module-packaging-21.3-alt1 sisyphus+293292.100.4.1 1642663064 installed <13>Feb 5 04:32:52 rpmi: python3-module-numpy-1:1.22.1-alt3 sisyphus+294708.100.1.1 1643971588 installed <13>Feb 5 04:32:52 rpmi: libboost_numpy3-1.77.0-1:1.77.0-alt4 sisyphus+291245.34220.55.1 1643343217 installed <13>Feb 5 04:32:52 rpmi: tests-for-installed-python3-pkgs-0.1.18-alt1 sisyphus+290420.100.1.1 1637593698 installed <13>Feb 5 04:32:52 rpmi: rpm-build-python3-0.1.18-alt1 sisyphus+290420.100.1.1 1637593698 installed <13>Feb 5 04:32:52 rpmi: python3-dev-3.10.2-alt1.1 sisyphus+294733.100.1.1 1643981508 installed <13>Feb 5 04:32:52 rpmi: boost-python3-devel-1:1.77.0-alt4 sisyphus+291245.34220.55.1 1643343217 installed <13>Feb 5 04:32:52 rpmi: boost-mpi-devel-1:1.77.0-alt4 sisyphus+291245.34220.55.1 1643343217 installed <13>Feb 5 04:32:52 rpmi: boost-graph-parallel-devel-1:1.77.0-alt4 sisyphus+291245.34220.55.1 1643343217 installed <86>Feb 5 04:32:52 groupadd[75788]: group added to /etc/group: name=_keytab, GID=492 <86>Feb 5 04:32:52 groupadd[75788]: group added to /etc/gshadow: name=_keytab <86>Feb 5 04:32:52 groupadd[75788]: new group: name=_keytab, GID=492 <13>Feb 5 04:32:53 rpmi: libkrb5-1.19.2-alt2 sisyphus+281652.100.1.1 1627900477 installed <13>Feb 5 04:32:53 rpmi: libarchive13-3.5.1-alt1 sisyphus+279480.100.1.1 1626549371 installed <13>Feb 5 04:32:53 rpmi: glib-networking-2.70.1-alt1 sisyphus+291245.1040.54.1 1643295389 installed <13>Feb 5 04:32:53 rpmi: libsoup-2.74.2-alt1 sisyphus+290537.100.1.1 1637789790 installed <13>Feb 5 04:32:53 rpmi: alsa-ucm-conf-1.2.6.2-alt1 sisyphus+291831.200.1.1 1639213787 installed <13>Feb 5 04:32:53 rpmi: alsa-topology-conf-1.2.5.1-alt1 sisyphus+274777.100.1.1 1624089141 installed <13>Feb 5 04:32:53 rpmi: libalsa-1:1.2.6.1-alt1 sisyphus+291831.100.1.1 1639213777 installed <13>Feb 5 04:32:53 rpmi: libSDL-1.2.14-alt10 sisyphus+284852.100.1.1 1631107844 installed <13>Feb 5 04:32:53 rpmi: libSDL-devel-1.2.14-alt10 sisyphus+284852.100.1.1 1631107844 installed <13>Feb 5 04:32:53 rpmi: libSDL_image-1.2.12-alt3.gitd0ea78d sisyphus+278696.40.4.1 1626250397 installed <13>Feb 5 04:32:53 rpmi: libSDL_mixer-1.2.12-alt2.git40a7e1a sisyphus+278696.140.4.1 1626250452 installed <13>Feb 5 04:32:53 rpmi: libSDL_ttf-2.0.11-alt1.git1ed61fe sisyphus+278696.400.4.1 1626250543 installed <13>Feb 5 04:32:53 rpmi: libSDL_ttf-devel-2.0.11-alt1.git1ed61fe sisyphus+278696.400.4.1 1626250543 installed <13>Feb 5 04:32:53 rpmi: libSDL_mixer-devel-1.2.12-alt2.git40a7e1a sisyphus+278696.140.4.1 1626250452 installed <13>Feb 5 04:32:53 rpmi: libSDL_image-devel-1.2.12-alt3.gitd0ea78d sisyphus+278696.40.4.1 1626250397 installed <13>Feb 5 04:32:53 rpmi: libappstream-glib-0.7.18-alt1 sisyphus+275090.100.2.3 1624561347 installed <13>Feb 5 04:32:53 rpmi: boost-complete-1:1.77.0-alt4 sisyphus+291245.34220.55.1 1643343501 installed <13>Feb 5 04:32:53 rpmi: libGLEW-devel-2.2.0-alt1 sisyphus+278988.100.1.1 1626351078 installed <13>Feb 5 04:32:53 rpmi: libpng-devel-1.6.37-alt1 sisyphus+275734.100.2.1 1624788812 installed <13>Feb 5 04:32:53 rpmi: libicns-utils-0.7.1-alt1.2 sisyphus+223351.100.1.1 1551468904 installed <13>Feb 5 04:32:53 rpmi: ccache-3.7.8-alt1 sisyphus+278349.100.1.2 1626174505 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/frogatto-1.3.3-alt3_19.nosrc.rpm (w1.gzdio) Installing frogatto-1.3.3-alt3_19.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.28260 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d + echo 'Source #0 (frogatto-1.3.3-a7ef3bf.tar.gz):' Source #0 (frogatto-1.3.3-a7ef3bf.tar.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/frogatto-1.3.3-a7ef3bf.tar.gz + /bin/tar -xf - + cd frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (frogatto-1.2-Makefile.patch):' Patch #0 (frogatto-1.2-Makefile.patch): + /usr/bin/patch -p1 patching file Makefile + echo 'Patch #1 (frogatto-1.3-no-boost-mt.patch):' Patch #1 (frogatto-1.3-no-boost-mt.patch): + /usr/bin/patch -p1 patching file Makefile + echo 'Patch #2 (frogatto-1.3-fonts.patch):' Patch #2 (frogatto-1.3-fonts.patch): + /usr/bin/patch -p1 patching file src/font.cpp patching file src/vector_text.cpp + echo 'Patch #3 (frogatto-1.3-narrowing-conversion-fixes.patch):' Patch #3 (frogatto-1.3-narrowing-conversion-fixes.patch): + /usr/bin/patch -p1 patching file src/debug_console.cpp patching file src/dialog.cpp patching file src/draw_scene.cpp patching file src/editor.cpp patching file src/editor_module_properties_dialog.cpp patching file src/entity.cpp patching file src/font.cpp patching file src/formula_constants.cpp patching file src/geometry.cpp patching file src/grid_widget.cpp patching file src/label.cpp patching file src/level.cpp patching file src/level_object.cpp patching file src/level_runner.cpp patching file src/texture.hpp + echo 'Patch #4 (frogatto-1.3-comparison.patch):' Patch #4 (frogatto-1.3-comparison.patch): + /usr/bin/patch -p1 patching file src/surface_cache.cpp patching file src/variant.cpp + echo 'Patch #5 (frogatto-1.3-boost.patch):' Patch #5 (frogatto-1.3-boost.patch): + /usr/bin/patch -p0 patching file src/http_server.cpp patching file src/server.cpp + sed -i 's!"./locale/"!"/usr/share/locale/"!' src/i18n.cpp + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.51077 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d + make -j16 'BASE_CXXFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/base64.cpp src/base64.cpp: In function 'void base64::decodeblock(const char*, std::vector::iterator&)': src/base64.cpp:105:40: warning: array subscript has type 'char' [-Wchar-subscripts] 105 | unsigned long nn = (_base64inv[in[0]] << 18) | (_base64inv[in[1]] << 12) | ~~~~^ src/base64.cpp:105:68: warning: array subscript has type 'char' [-Wchar-subscripts] 105 | unsigned long nn = (_base64inv[in[0]] << 18) | (_base64inv[in[1]] << 12) | ~~~~^ src/base64.cpp:106:27: warning: array subscript has type 'char' [-Wchar-subscripts] 106 | | (_base64inv[in[2]] << 6) | (_base64inv[in[3]]); | ~~~~^ src/base64.cpp:106:54: warning: array subscript has type 'char' [-Wchar-subscripts] 106 | | (_base64inv[in[2]] << 6) | (_base64inv[in[3]]); | ~~~~^ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/base64.cpp > base64.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/blur.cpp g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/blur.cpp > blur.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/border_widget.cpp In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/widget.hpp:19, from src/border_widget.hpp:6, from src/border_widget.cpp:3: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/border_widget.hpp:6, from src/border_widget.cpp:3: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/border_widget.hpp:6, from src/border_widget.cpp:3: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/border_widget.cpp > border_widget.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/animation_widget.cpp In file included from /usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22, from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23, from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14, from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42, from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25, from /usr/include/boost/smart_ptr/shared_ptr.hpp:29, from /usr/include/boost/shared_ptr.hpp:17, from src/variant.hpp:5, from src/geometry.hpp:5, from src/frame.hpp:9, from src/animation_widget.hpp:8, from src/animation_widget.cpp:1: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/widget.hpp:19, from src/label.hpp:22, from src/animation_widget.hpp:10, from src/animation_widget.cpp:1: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/label.hpp:22, from src/animation_widget.hpp:10, from src/animation_widget.cpp:1: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/label.hpp:22, from src/animation_widget.hpp:10, from src/animation_widget.cpp:1: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/animation_widget.cpp > animation_widget.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/button.cpp In file included from /usr/include/boost/bind.hpp:30, from src/button.cpp:13: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/widget.hpp:19, from src/button.hpp:19, from src/button.cpp:16: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/button.hpp:19, from src/button.cpp:16: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/button.hpp:19, from src/button.cpp:16: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ In file included from src/button.cpp:16: src/button.hpp: In constructor 'gui::button::button(const string&, boost::function)': src/button.hpp:53:34: warning: 'gui::button::onclick_' will be initialized after [-Wreorder] 53 | boost::function onclick_; | ^~~~~~~~ src/button.hpp:50:27: warning: 'gui::BUTTON_RESOLUTION gui::button::button_resolution_' [-Wreorder] 50 | BUTTON_RESOLUTION button_resolution_; | ^~~~~~~~~~~~~~~~~~ src/button.cpp:28:1: warning: when initialized here [-Wreorder] 28 | button::button(const std::string& str, boost::function onclick) | ^~~~~~ In file included from src/button.cpp:16: src/button.hpp:51:22: warning: 'gui::button::button_style_' will be initialized after [-Wreorder] 51 | BUTTON_STYLE button_style_; | ^~~~~~~~~~~~~ src/button.hpp:48:13: warning: 'int gui::button::hpadding_' [-Wreorder] 48 | int hpadding_; | ^~~~~~~~~ src/button.cpp:28:1: warning: when initialized here [-Wreorder] 28 | button::button(const std::string& str, boost::function onclick) | ^~~~~~ In file included from src/button.cpp:16: src/button.hpp:48:13: warning: 'gui::button::hpadding_' will be initialized after [-Wreorder] 48 | int hpadding_; | ^~~~~~~~~ src/button.hpp:47:13: warning: 'int gui::button::vpadding_' [-Wreorder] 47 | int vpadding_; | ^~~~~~~~~ src/button.cpp:28:1: warning: when initialized here [-Wreorder] 28 | button::button(const std::string& str, boost::function onclick) | ^~~~~~ In file included from src/button.cpp:16: src/button.hpp: In constructor 'gui::button::button(gui::widget_ptr, boost::function, gui::BUTTON_STYLE, gui::BUTTON_RESOLUTION)': src/button.hpp:53:34: warning: 'gui::button::onclick_' will be initialized after [-Wreorder] 53 | boost::function onclick_; | ^~~~~~~~ src/button.hpp:50:27: warning: 'gui::BUTTON_RESOLUTION gui::button::button_resolution_' [-Wreorder] 50 | BUTTON_RESOLUTION button_resolution_; | ^~~~~~~~~~~~~~~~~~ src/button.cpp:38:1: warning: when initialized here [-Wreorder] 38 | button::button(widget_ptr label, boost::function onclick, BUTTON_STYLE button_style, BUTTON_RESOLUTION button_resolution) | ^~~~~~ In file included from src/button.cpp:16: src/button.hpp:54:14: warning: 'gui::button::down_' will be initialized after [-Wreorder] 54 | bool down_; | ^~~~~ src/button.hpp:48:13: warning: 'int gui::button::hpadding_' [-Wreorder] 48 | int hpadding_; | ^~~~~~~~~ src/button.cpp:38:1: warning: when initialized here [-Wreorder] 38 | button::button(widget_ptr label, boost::function onclick, BUTTON_STYLE button_style, BUTTON_RESOLUTION button_resolution) | ^~~~~~ In file included from src/button.cpp:16: src/button.hpp:48:13: warning: 'gui::button::hpadding_' will be initialized after [-Wreorder] 48 | int hpadding_; | ^~~~~~~~~ src/button.hpp:47:13: warning: 'int gui::button::vpadding_' [-Wreorder] 47 | int vpadding_; | ^~~~~~~~~ src/button.cpp:38:1: warning: when initialized here [-Wreorder] 38 | button::button(widget_ptr label, boost::function onclick, BUTTON_STYLE button_style, BUTTON_RESOLUTION button_resolution) | ^~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/button.cpp > button.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/background_task_pool.cpp In file included from /usr/include/boost/bind.hpp:30, from src/background_task_pool.cpp:1: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ src/background_task_pool.cpp: In function 'void background_task_pool::{anonymous}::run_task(boost::function, int)': src/background_task_pool.cpp:31:24: warning: unnecessary parentheses in declaration of 'completed_tasks_mutex' [-Wparentheses] 31 | threading::lock(*completed_tasks_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~ src/background_task_pool.cpp:31:24: note: remove parentheses 31 | threading::lock(*completed_tasks_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~ | - - src/background_task_pool.cpp:31:26: warning: unused variable 'completed_tasks_mutex' [-Wunused-variable] 31 | threading::lock(*completed_tasks_mutex); | ^~~~~~~~~~~~~~~~~~~~~ src/background_task_pool.cpp: In function 'void background_task_pool::pump()': src/background_task_pool.cpp:60:32: warning: unnecessary parentheses in declaration of 'completed_tasks_mutex' [-Wparentheses] 60 | threading::lock(*completed_tasks_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~ src/background_task_pool.cpp:60:32: note: remove parentheses 60 | threading::lock(*completed_tasks_mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~ | - - src/background_task_pool.cpp:60:34: warning: unused variable 'completed_tasks_mutex' [-Wunused-variable] 60 | threading::lock(*completed_tasks_mutex); | ^~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/background_task_pool.cpp > background_task_pool.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/checksum.cpp src/checksum.cpp: In constructor 'checksum::manager::manager()': src/checksum.cpp:51:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 51 | for(int n = 0; n != keys.size(); ++n) { | ~~^~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/checksum.cpp > checksum.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/checkbox.cpp In file included from /usr/include/boost/bind.hpp:30, from src/checkbox.cpp:1: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/widget.hpp:19, from src/button.hpp:19, from src/checkbox.hpp:4, from src/checkbox.cpp:3: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/button.hpp:19, from src/checkbox.hpp:4, from src/checkbox.cpp:3: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/button.hpp:19, from src/checkbox.hpp:4, from src/checkbox.cpp:3: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ In file included from src/checkbox.cpp:3: src/checkbox.hpp: In constructor 'gui::checkbox::checkbox(const variant&, game_logic::formula_callable*)': src/checkbox.hpp:22:14: warning: 'gui::checkbox::checked_' will be initialized after [-Wreorder] 22 | bool checked_; | ^~~~~~~~ src/checkbox.cpp:39:100: warning: base 'gui::button' [-Wreorder] 39 | checkbox::checkbox(const variant& v, game_logic::formula_callable* e) : checked_(false), button(v,e) | ^ src/checkbox.cpp:39:1: warning: when initialized here [-Wreorder] 39 | checkbox::checkbox(const variant& v, game_logic::formula_callable* e) : checked_(false), button(v,e) | ^~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/checkbox.cpp > checkbox.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/achievements.cpp g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/achievements.cpp > achievements.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/asserts.cpp In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/level.hpp:20, from src/editor.hpp:13, from src/asserts.cpp:4: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/custom_object.hpp:15, from src/gui_formula_functions.hpp:4, from src/level.hpp:24, from src/editor.hpp:13, from src/asserts.cpp:4: src/draw_scene.hpp: In constructor 'screen_position::screen_position()': src/draw_scene.hpp:29:13: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:17: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:9: warning: when initialized here [-Wreorder] 19 | screen_position() : init(false), x(0), y(0), focus_x(0), focus_y(0), | ^~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/custom_object.hpp:25, from src/gui_formula_functions.hpp:4, from src/level.hpp:24, from src/editor.hpp:13, from src/asserts.cpp:4: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/custom_object.hpp:25, from src/gui_formula_functions.hpp:4, from src/level.hpp:24, from src/editor.hpp:13, from src/asserts.cpp:4: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ In file included from src/level.hpp:25, from src/editor.hpp:13, from src/asserts.cpp:4: src/hex_map.hpp: In constructor 'hex::hex_map::hex_map()': src/hex_map.hpp:68:13: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:16: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:9: warning: when initialized here [-Wreorder] 26 | hex_map() : zorder_(-1000), width_(0), height_(0), x_(0), y_(0) | ^~~~~~~ In file included from src/level.hpp:26, from src/editor.hpp:13, from src/asserts.cpp:4: src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:45:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 45 | return a.y < b.y || a.y == b.y && a.x < b.x; | ~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const std::pair&) const': src/level_object.hpp:49:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 49 | return a.y < b.second || a.y == b.second && a.x < b.first; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const std::pair&, const level_tile&) const': src/level_object.hpp:53:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 53 | return a.second < b.y || a.second == b.y && a.first < b.x; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_zorder_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:59:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp:59:119: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from src/level.hpp:31, from src/editor.hpp:13, from src/asserts.cpp:4: src/tile_map.hpp: In constructor 'tile_map::pattern_index_entry::pattern_index_entry()': src/tile_map.hpp:75:58: warning: comparison of integer expressions of different signedness: 'int' and 'boost::array::size_type' {aka 'unsigned int'} [-Wsign-compare] 75 | pattern_index_entry() { for(int n = 0; n != str.size(); ++n) { str[n] = 0; } } | ~~^~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/asserts.cpp > asserts.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/compress.cpp src/compress.cpp: In function 'void TEST_compression_test()': src/compress.cpp:81:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 81 | for(int n = 0; n != data.size(); ++n) { | ~~^~~~~~~~~~~~~~ src/compress.cpp:88:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 88 | for(int n = 0; n != data.size(); ++n) { | ~~^~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/compress.cpp > compress.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/decimal.cpp src/decimal.cpp: In static member function 'static decimal decimal::from_string(const string&)': src/decimal.cpp:35:17: warning: unused variable 'result_value' [-Wunused-variable] 35 | int64_t result_value = n*DECIMAL_PRECISION + m; | ^~~~~~~~~~~~ src/decimal.cpp: In function 'decimal operator/(const decimal&, const decimal&)': src/decimal.cpp:114:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 114 | if(a.value() < 0 && b.value() > 0 || b.value() < 0 && a.value() > 0) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/decimal.cpp > decimal.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/color_chart.cpp In file included from /usr/include/boost/bind.hpp:30, from src/color_chart.cpp:1: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/color_chart.cpp > color_chart.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/character_editor_dialog.cpp In file included from /usr/include/boost/bind.hpp:30, from src/character_editor_dialog.cpp:2: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/widget.hpp:19, from src/border_widget.hpp:6, from src/character_editor_dialog.cpp:4: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/border_widget.hpp:6, from src/character_editor_dialog.cpp:4: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/border_widget.hpp:6, from src/character_editor_dialog.cpp:4: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ In file included from src/character_editor_dialog.hpp:9, from src/character_editor_dialog.cpp:6: src/text_editor_widget.hpp: In member function 'bool gui::text_editor_widget::Loc::operator<(const gui::text_editor_widget::Loc&) const': src/text_editor_widget.hpp:41:89: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 41 | bool operator<(const Loc& o) const { return row < o.row || row == o.row && col < o.col; } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from src/custom_object.hpp:15, from src/gui_formula_functions.hpp:4, from src/level.hpp:24, from src/editor.hpp:13, from src/character_editor_dialog.cpp:7: src/draw_scene.hpp: In constructor 'screen_position::screen_position()': src/draw_scene.hpp:29:13: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:17: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:9: warning: when initialized here [-Wreorder] 19 | screen_position() : init(false), x(0), y(0), focus_x(0), focus_y(0), | ^~~~~~~~~~~~~~~ In file included from src/level.hpp:25, from src/editor.hpp:13, from src/character_editor_dialog.cpp:7: src/hex_map.hpp: In constructor 'hex::hex_map::hex_map()': src/hex_map.hpp:68:13: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:16: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:9: warning: when initialized here [-Wreorder] 26 | hex_map() : zorder_(-1000), width_(0), height_(0), x_(0), y_(0) | ^~~~~~~ In file included from src/level.hpp:26, from src/editor.hpp:13, from src/character_editor_dialog.cpp:7: src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:45:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 45 | return a.y < b.y || a.y == b.y && a.x < b.x; | ~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const std::pair&) const': src/level_object.hpp:49:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 49 | return a.y < b.second || a.y == b.second && a.x < b.first; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const std::pair&, const level_tile&) const': src/level_object.hpp:53:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 53 | return a.second < b.y || a.second == b.y && a.first < b.x; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_zorder_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:59:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp:59:119: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from src/level.hpp:31, from src/editor.hpp:13, from src/character_editor_dialog.cpp:7: src/tile_map.hpp: In constructor 'tile_map::pattern_index_entry::pattern_index_entry()': src/tile_map.hpp:75:58: warning: comparison of integer expressions of different signedness: 'int' and 'boost::array::size_type' {aka 'unsigned int'} [-Wsign-compare] 75 | pattern_index_entry() { for(int n = 0; n != str.size(); ++n) { str[n] = 0; } } | ~~^~~~~~~~~~~~~ src/character_editor_dialog.cpp: In member function 'void editor_dialogs::character_editor_dialog::init()': src/character_editor_dialog.cpp:47:22: warning: unused variable 'frame' [-Wunused-variable] 47 | const frame& frame = *editor_.all_characters()[editor_.get_object()].preview_frame(); | ^~~~~ src/character_editor_dialog.cpp: In member function 'gui::widget_ptr editor_dialogs::character_editor_dialog::generate_grid(const string&)': src/character_editor_dialog.cpp:84:72: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 84 | matches = p == id.c_str() || p != NULL && *(p-1) == '_'; | ~~~~~~~~~~^~~~~~~~~~~~~~~~ src/character_editor_dialog.cpp:118:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 118 | for(int n = 0; n != borders.size(); ++n) { | ~~^~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/character_editor_dialog.cpp > character_editor_dialog.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/current_generator.cpp g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/current_generator.cpp > current_generator.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/background.cpp In file included from /usr/include/boost/bind.hpp:30, from src/background.cpp:3: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/level.hpp:20, from src/background.cpp:15: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/custom_object.hpp:15, from src/gui_formula_functions.hpp:4, from src/level.hpp:24, from src/background.cpp:15: src/draw_scene.hpp: In constructor 'screen_position::screen_position()': src/draw_scene.hpp:29:13: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:17: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:9: warning: when initialized here [-Wreorder] 19 | screen_position() : init(false), x(0), y(0), focus_x(0), focus_y(0), | ^~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/custom_object.hpp:25, from src/gui_formula_functions.hpp:4, from src/level.hpp:24, from src/background.cpp:15: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/custom_object.hpp:25, from src/gui_formula_functions.hpp:4, from src/level.hpp:24, from src/background.cpp:15: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ In file included from src/level.hpp:25, from src/background.cpp:15: src/hex_map.hpp: In constructor 'hex::hex_map::hex_map()': src/hex_map.hpp:68:13: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:16: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:9: warning: when initialized here [-Wreorder] 26 | hex_map() : zorder_(-1000), width_(0), height_(0), x_(0), y_(0) | ^~~~~~~ In file included from src/level.hpp:26, from src/background.cpp:15: src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:45:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 45 | return a.y < b.y || a.y == b.y && a.x < b.x; | ~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const std::pair&) const': src/level_object.hpp:49:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 49 | return a.y < b.second || a.y == b.second && a.x < b.first; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const std::pair&, const level_tile&) const': src/level_object.hpp:53:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 53 | return a.second < b.y || a.second == b.y && a.first < b.x; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_zorder_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:59:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp:59:119: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from src/level.hpp:31, from src/background.cpp:15: src/tile_map.hpp: In constructor 'tile_map::pattern_index_entry::pattern_index_entry()': src/tile_map.hpp:75:58: warning: comparison of integer expressions of different signedness: 'int' and 'boost::array::size_type' {aka 'unsigned int'} [-Wsign-compare] 75 | pattern_index_entry() { for(int n = 0; n != str.size(); ++n) { str[n] = 0; } } | ~~^~~~~~~~~~~~~ src/background.cpp: In member function 'void background::draw(int, int, const rect&, const std::vector&, int, int) const': src/background.cpp:261:27: warning: unused variable 'scissor_scale' [-Wunused-variable] 261 | const int scissor_scale = preferences::double_scale() ? 2 : 1; | ^~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/background.cpp > background.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/animation_preview_widget.cpp In file included from /usr/include/boost/bind.hpp:30, from src/animation_preview_widget.cpp:2: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/widget.hpp:19, from src/label.hpp:22, from src/animation_preview_widget.hpp:9, from src/animation_preview_widget.cpp:4: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/label.hpp:22, from src/animation_preview_widget.hpp:9, from src/animation_preview_widget.cpp:4: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/label.hpp:22, from src/animation_preview_widget.hpp:9, from src/animation_preview_widget.cpp:4: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ In file included from src/custom_object.hpp:15, from src/gui_formula_functions.hpp:4, from src/level.hpp:24, from src/pathfinding.hpp:17, from src/animation_preview_widget.cpp:8: src/draw_scene.hpp: In constructor 'screen_position::screen_position()': src/draw_scene.hpp:29:13: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:17: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:9: warning: when initialized here [-Wreorder] 19 | screen_position() : init(false), x(0), y(0), focus_x(0), focus_y(0), | ^~~~~~~~~~~~~~~ In file included from src/level.hpp:25, from src/pathfinding.hpp:17, from src/animation_preview_widget.cpp:8: src/hex_map.hpp: In constructor 'hex::hex_map::hex_map()': src/hex_map.hpp:68:13: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:16: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:9: warning: when initialized here [-Wreorder] 26 | hex_map() : zorder_(-1000), width_(0), height_(0), x_(0), y_(0) | ^~~~~~~ In file included from src/level.hpp:26, from src/pathfinding.hpp:17, from src/animation_preview_widget.cpp:8: src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:45:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 45 | return a.y < b.y || a.y == b.y && a.x < b.x; | ~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const std::pair&) const': src/level_object.hpp:49:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 49 | return a.y < b.second || a.y == b.second && a.x < b.first; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const std::pair&, const level_tile&) const': src/level_object.hpp:53:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 53 | return a.second < b.y || a.second == b.y && a.first < b.x; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_zorder_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:59:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp:59:119: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from src/level.hpp:31, from src/pathfinding.hpp:17, from src/animation_preview_widget.cpp:8: src/tile_map.hpp: In constructor 'tile_map::pattern_index_entry::pattern_index_entry()': src/tile_map.hpp:75:58: warning: comparison of integer expressions of different signedness: 'int' and 'boost::array::size_type' {aka 'unsigned int'} [-Wsign-compare] 75 | pattern_index_entry() { for(int n = 0; n != str.size(); ++n) { str[n] = 0; } } | ~~^~~~~~~~~~~~~ src/animation_preview_widget.cpp: In member function 'virtual void gui::animation_preview_widget::handle_draw() const': src/animation_preview_widget.cpp:346:76: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 346 | const bool view_locked = mouse_buttons && locked_focus_.w()*locked_focus_.h(); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ src/animation_preview_widget.cpp:399:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 399 | if(x2 > image_texture.width()) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~ src/animation_preview_widget.cpp:407:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 407 | if(y2 > image_texture.height()) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/animation_preview_widget.cpp:451:86: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 451 | if(rect_chosen || !(dragging_sides_bitmap_&TOP_SIDE) && point_in_rect(point(mousex, mousey), rect(box.x(), box.y2()-4, box.w(), 9))) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/animation_preview_widget.cpp:461:52: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] 461 | if(rect_chosen || (!dragging_sides_bitmap_&LEFT_SIDE) && point_in_rect(point(mousex, mousey), rect(box.x2()-4, box.y(), 9, box.h()))) { | ^~~~~~~~~~~~~~~~~~~~~~~ src/animation_preview_widget.cpp:461:87: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 461 | if(rect_chosen || (!dragging_sides_bitmap_&LEFT_SIDE) && point_in_rect(point(mousex, mousey), rect(box.x2()-4, box.y(), 9, box.h()))) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/animation_preview_widget.cpp:513:38: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 513 | if(solid && solid->area().w()*solid->area().h()) { | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/animation_preview_widget.cpp:8: src/pathfinding.hpp: In instantiation of 'pathfinding::graph_node::graph_node(const N&) [with N = variant; T = decimal]': src/pathfinding.hpp:129:109: required from here src/pathfinding.hpp:83:11: warning: 'pathfinding::graph_node::src_' will be initialized after [-Wreorder] 83 | N src_; | ^~~~ src/pathfinding.hpp:82:11: warning: 'decimal pathfinding::graph_node::f_' [-Wreorder] 82 | T f_, g_, h_; | ^~ src/pathfinding.hpp:42:9: warning: when initialized here [-Wreorder] 42 | graph_node(const N& src) | ^~~~~~~~~~ src/pathfinding.hpp: In instantiation of 'pathfinding::graph_node::graph_node(const N&) [with N = point; T = int]': src/animation_preview_widget.cpp:99:71: required from here src/pathfinding.hpp:83:11: warning: 'pathfinding::graph_node::src_' will be initialized after [-Wreorder] 83 | N src_; | ^~~~ src/pathfinding.hpp:82:11: warning: 'int pathfinding::graph_node::f_' [-Wreorder] 82 | T f_, g_, h_; | ^~ src/pathfinding.hpp:42:9: warning: when initialized here [-Wreorder] 42 | graph_node(const N& src) | ^~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/animation_preview_widget.cpp > animation_preview_widget.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/drag_widget.cpp In file included from /usr/include/boost/bind.hpp:30, from src/drag_widget.cpp:2: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/widget.hpp:19, from src/image_widget.hpp:22, from src/drag_widget.cpp:7: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/image_widget.hpp:22, from src/drag_widget.cpp:7: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/image_widget.hpp:22, from src/drag_widget.cpp:7: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ In file included from src/drag_widget.cpp:8: src/drag_widget.hpp: In constructor 'gui::drag_widget::drag_widget(int, int, int, int, gui::drag_widget::drag_direction, boost::function, boost::function, boost::function)': src/drag_widget.hpp:53:24: warning: 'gui::drag_widget::dir_' will be initialized after [-Wreorder] 53 | drag_direction dir_; | ^~~~ src/drag_widget.hpp:39:41: warning: 'boost::function gui::drag_widget::drag_start_' [-Wreorder] 39 | boost::function drag_start_; | ^~~~~~~~~~~ src/drag_widget.cpp:75:1: warning: when initialized here [-Wreorder] 75 | drag_widget::drag_widget(const int x, const int y, const int w, const int h, | ^~~~~~~~~~~ src/drag_widget.cpp: In member function 'bool gui::drag_widget::handle_mousedown(const SDL_MouseButtonEvent&, bool)': src/drag_widget.cpp:220:13: warning: unused variable 'button_state' [-Wunused-variable] 220 | int button_state = SDL_GetMouseState(&p.x, &p.y); | ^~~~~~~~~~~~ src/drag_widget.cpp: In member function 'bool gui::drag_widget::handle_mouseup(const SDL_MouseButtonEvent&, bool)': src/drag_widget.cpp:237:13: warning: unused variable 'button_state' [-Wunused-variable] 237 | int button_state = SDL_GetMouseState(&mousex, &mousey); | ^~~~~~~~~~~~ src/drag_widget.cpp: In member function 'bool gui::drag_widget::handle_mousemotion(const SDL_MouseMotionEvent&, bool)': src/drag_widget.cpp:251:13: warning: unused variable 'button_state' [-Wunused-variable] 251 | int button_state = SDL_GetMouseState(&p.x, &p.y); | ^~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/drag_widget.cpp > drag_widget.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/code_editor_dialog.cpp In file included from /usr/include/boost/bind.hpp:30, from src/code_editor_dialog.cpp:2: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/widget.hpp:19, from src/border_widget.hpp:6, from src/code_editor_dialog.cpp:6: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/border_widget.hpp:6, from src/code_editor_dialog.cpp:6: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/border_widget.hpp:6, from src/code_editor_dialog.cpp:6: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ In file included from src/code_editor_widget.hpp:9, from src/code_editor_dialog.hpp:10, from src/code_editor_dialog.cpp:8: src/text_editor_widget.hpp: In member function 'bool gui::text_editor_widget::Loc::operator<(const gui::text_editor_widget::Loc&) const': src/text_editor_widget.hpp:41:89: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 41 | bool operator<(const Loc& o) const { return row < o.row || row == o.row && col < o.col; } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from src/custom_object.hpp:15, from src/code_editor_dialog.cpp:10: src/draw_scene.hpp: In constructor 'screen_position::screen_position()': src/draw_scene.hpp:29:13: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:17: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:9: warning: when initialized here [-Wreorder] 19 | screen_position() : init(false), x(0), y(0), focus_x(0), focus_y(0), | ^~~~~~~~~~~~~~~ In file included from src/level.hpp:25, from src/code_editor_dialog.cpp:23: src/hex_map.hpp: In constructor 'hex::hex_map::hex_map()': src/hex_map.hpp:68:13: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:16: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:9: warning: when initialized here [-Wreorder] 26 | hex_map() : zorder_(-1000), width_(0), height_(0), x_(0), y_(0) | ^~~~~~~ In file included from src/level.hpp:26, from src/code_editor_dialog.cpp:23: src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:45:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 45 | return a.y < b.y || a.y == b.y && a.x < b.x; | ~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const std::pair&) const': src/level_object.hpp:49:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 49 | return a.y < b.second || a.y == b.second && a.x < b.first; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const std::pair&, const level_tile&) const': src/level_object.hpp:53:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 53 | return a.second < b.y || a.second == b.y && a.first < b.x; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_zorder_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:59:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp:59:119: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from src/level.hpp:31, from src/code_editor_dialog.cpp:23: src/tile_map.hpp: In constructor 'tile_map::pattern_index_entry::pattern_index_entry()': src/tile_map.hpp:75:58: warning: comparison of integer expressions of different signedness: 'int' and 'boost::array::size_type' {aka 'unsigned int'} [-Wsign-compare] 75 | pattern_index_entry() { for(int n = 0; n != str.size(); ++n) { str[n] = 0; } } | ~~^~~~~~~~~~~~~ src/code_editor_dialog.cpp: In member function 'void code_editor_dialog::load_file(std::string, bool)': src/code_editor_dialog.cpp:150:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 150 | if(index == files_.size()) { | ~~~~~~^~~~~~~~~~~~~~~~ src/code_editor_dialog.cpp: In member function 'void code_editor_dialog::select_file(int)': src/code_editor_dialog.cpp:218:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 218 | if(index < 0 || index >= files_.size()) { | ~~~~~~^~~~~~~~~~~~~~~~ src/code_editor_dialog.cpp: In member function 'void code_editor_dialog::process()': src/code_editor_dialog.cpp:311:43: warning: comparison of integer expressions of different signedness: 'Uint32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 311 | if(invalidated_ && SDL_GetTicks() > invalidated_ + 200) { | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/code_editor_dialog.cpp: In member function 'void code_editor_dialog::select_suggestion(int)': src/code_editor_dialog.cpp:758:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 758 | if(index >= 0 && index < suggestions_.size()) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ src/code_editor_dialog.cpp:761:68: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] 761 | if(suggestions_prefix_ >= 0 && suggestions_prefix_ < str.size()) { | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/code_editor_dialog.cpp > code_editor_dialog.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/IMG_savepng.cpp In file included from /usr/include/boost/bind.hpp:30, from src/IMG_savepng.cpp:34: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ src/IMG_savepng.cpp: In function 'int IMG_SavePNG_RW(SDL_RWops*, SDL_Surface*, int)': src/IMG_savepng.cpp:169:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 169 | for (i=0;ipalette->ncolors;i++) { | ~^~~~~~~~~~~~~~~~~~~~~~ src/IMG_savepng.cpp:210:26: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 210 | for(i=0;ih;i++){ | ~^~~~~~~~ src/IMG_savepng.cpp:302:34: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 302 | for(i=0;ih;i++){ | ~^~~~~~~~~~~~ src/IMG_savepng.cpp:314:34: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 314 | for(i=0;ih;i++){ | ~^~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/IMG_savepng.cpp > IMG_savepng.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/animation_creator.cpp In file included from /usr/include/boost/bind.hpp:30, from src/animation_creator.hpp:6, from src/animation_creator.cpp:6: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/widget.hpp:19, from src/label.hpp:22, from src/animation_preview_widget.hpp:9, from src/animation_creator.hpp:11, from src/animation_creator.cpp:6: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/label.hpp:22, from src/animation_preview_widget.hpp:9, from src/animation_creator.hpp:11, from src/animation_creator.cpp:6: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/label.hpp:22, from src/animation_preview_widget.hpp:9, from src/animation_creator.hpp:11, from src/animation_creator.cpp:6: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ In file included from src/dropdown_widget.hpp:13, from src/animation_creator.hpp:15, from src/animation_creator.cpp:6: src/text_editor_widget.hpp: In member function 'bool gui::text_editor_widget::Loc::operator<(const gui::text_editor_widget::Loc&) const': src/text_editor_widget.hpp:41:89: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 41 | bool operator<(const Loc& o) const { return row < o.row || row == o.row && col < o.col; } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from src/animation_creator.cpp:7: src/draw_scene.hpp: In constructor 'screen_position::screen_position()': src/draw_scene.hpp:29:13: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:17: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:9: warning: when initialized here [-Wreorder] 19 | screen_position() : init(false), x(0), y(0), focus_x(0), focus_y(0), | ^~~~~~~~~~~~~~~ In file included from src/level.hpp:25, from src/animation_creator.cpp:13: src/hex_map.hpp: In constructor 'hex::hex_map::hex_map()': src/hex_map.hpp:68:13: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:16: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:9: warning: when initialized here [-Wreorder] 26 | hex_map() : zorder_(-1000), width_(0), height_(0), x_(0), y_(0) | ^~~~~~~ In file included from src/level.hpp:26, from src/animation_creator.cpp:13: src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:45:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 45 | return a.y < b.y || a.y == b.y && a.x < b.x; | ~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const std::pair&) const': src/level_object.hpp:49:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 49 | return a.y < b.second || a.y == b.second && a.x < b.first; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const std::pair&, const level_tile&) const': src/level_object.hpp:53:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 53 | return a.second < b.y || a.second == b.y && a.first < b.x; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_zorder_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:59:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp:59:119: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from src/level.hpp:31, from src/animation_creator.cpp:13: src/tile_map.hpp: In constructor 'tile_map::pattern_index_entry::pattern_index_entry()': src/tile_map.hpp:75:58: warning: comparison of integer expressions of different signedness: 'int' and 'boost::array::size_type' {aka 'unsigned int'} [-Wsign-compare] 75 | pattern_index_entry() { for(int n = 0; n != str.size(); ++n) { str[n] = 0; } } | ~~^~~~~~~~~~~~~ In file included from src/animation_creator.cpp:6: src/animation_creator.hpp: In constructor 'gui::animation_creator_dialog::animation_creator_dialog(int, int, int, int, const variant&)': src/animation_creator.hpp:79:14: warning: 'gui::animation_creator_dialog::dragging_slider_' will be initialized after [-Wreorder] 79 | bool dragging_slider_; | ^~~~~~~~~~~~~~~~ src/animation_creator.hpp:61:14: warning: 'bool gui::animation_creator_dialog::changed_' [-Wreorder] 61 | bool changed_; // current animation modified? | ^~~~~~~~ src/animation_creator.cpp:102:1: warning: when initialized here [-Wreorder] 102 | animation_creator_dialog::animation_creator_dialog(int x, int y, int w, int h, const variant& anims) | ^~~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/animation_creator.cpp > animation_creator.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/clipboard.cpp g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/clipboard.cpp > clipboard.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/editor_dialogs.cpp In file included from /usr/include/boost/bind.hpp:30, from src/editor_dialogs.cpp:2: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/widget.hpp:19, from src/dialog.hpp:17, from src/editor_dialogs.cpp:4: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/dialog.hpp:17, from src/editor_dialogs.cpp:4: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/dialog.hpp:17, from src/editor_dialogs.cpp:4: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/editor_dialogs.cpp: In function 'void {anonymous}::do_select_level(gui::dialog*, const std::vector >&, int, std::string*)': src/editor_dialogs.cpp:15:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 15 | if(index >= 0 && index < levels.size()) { | ~~~~~~^~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/editor_dialogs.cpp > editor_dialogs.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/dropdown_widget.cpp In file included from /usr/include/boost/bind.hpp:30, from src/dropdown_widget.cpp:2: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/widget.hpp:19, from src/image_widget.hpp:22, from src/dropdown_widget.cpp:6: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/image_widget.hpp:22, from src/dropdown_widget.cpp:6: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/image_widget.hpp:22, from src/dropdown_widget.cpp:6: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ In file included from src/dropdown_widget.hpp:13, from src/dropdown_widget.cpp:7: src/text_editor_widget.hpp: In member function 'bool gui::text_editor_widget::Loc::operator<(const gui::text_editor_widget::Loc&) const': src/text_editor_widget.hpp:41:89: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 41 | bool operator<(const Loc& o) const { return row < o.row || row == o.row && col < o.col; } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from src/dropdown_widget.cpp:7: src/dropdown_widget.hpp: In constructor 'gui::dropdown_widget::dropdown_widget(const dropdown_list&, int, int, gui::dropdown_widget::dropdown_type)': src/dropdown_widget.hpp:56:23: warning: 'gui::dropdown_widget::type_' will be initialized after [-Wreorder] 56 | dropdown_type type_; | ^~~~~ src/dropdown_widget.hpp:55:13: warning: 'int gui::dropdown_widget::current_selection_' [-Wreorder] 55 | int current_selection_; | ^~~~~~~~~~~~~~~~~~ src/dropdown_widget.cpp:19:1: warning: when initialized here [-Wreorder] 19 | dropdown_widget::dropdown_widget(const dropdown_list& list, int width, int height, dropdown_type type) | ^~~~~~~~~~~~~~~ In file included from src/dropdown_widget.cpp:7: src/dropdown_widget.hpp:55:13: warning: 'gui::dropdown_widget::current_selection_' will be initialized after [-Wreorder] 55 | int current_selection_; | ^~~~~~~~~~~~~~~~~~ src/dropdown_widget.hpp:53:13: warning: 'int gui::dropdown_widget::dropdown_height_' [-Wreorder] 53 | int dropdown_height_; | ^~~~~~~~~~~~~~~~ src/dropdown_widget.cpp:19:1: warning: when initialized here [-Wreorder] 19 | dropdown_widget::dropdown_widget(const dropdown_list& list, int width, int height, dropdown_type type) | ^~~~~~~~~~~~~~~ In file included from src/dropdown_widget.cpp:7: src/dropdown_widget.hpp: In constructor 'gui::dropdown_widget::dropdown_widget(const variant&, game_logic::formula_callable*)': src/dropdown_widget.hpp:55:13: warning: 'gui::dropdown_widget::current_selection_' will be initialized after [-Wreorder] 55 | int current_selection_; | ^~~~~~~~~~~~~~~~~~ src/dropdown_widget.hpp:53:13: warning: 'int gui::dropdown_widget::dropdown_height_' [-Wreorder] 53 | int dropdown_height_; | ^~~~~~~~~~~~~~~~ src/dropdown_widget.cpp:37:1: warning: when initialized here [-Wreorder] 37 | dropdown_widget::dropdown_widget(const variant& v, game_logic::formula_callable* e) | ^~~~~~~~~~~~~~~ src/dropdown_widget.cpp: In member function 'bool gui::dropdown_widget::handle_mousemotion(const SDL_MouseMotionEvent&, bool)': src/dropdown_widget.cpp:264:13: warning: unused variable 'button_state' [-Wunused-variable] 264 | int button_state = SDL_GetMouseState(&p.x, &p.y); | ^~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/dropdown_widget.cpp > dropdown_widget.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/difficulty.cpp src/difficulty.cpp: In function 'void difficulty::{anonymous}::create_difficulty_map()': src/difficulty.cpp:27:26: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 27 | for(int i = 0; i < diff["difficulties"].num_elements(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/difficulty.cpp > difficulty.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/editor_variable_info.cpp In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/editor_variable_info.cpp:6: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/editor_variable_info.cpp > editor_variable_info.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/external_text_editor.cpp In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/custom_object_type.hpp:11, from src/external_text_editor.cpp:2: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22, from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23, from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14, from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42, from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25, from /usr/include/boost/smart_ptr/shared_ptr.hpp:29, from /usr/include/boost/shared_ptr.hpp:17, from src/custom_object_type.hpp:7, from src/external_text_editor.cpp:2: /usr/include/boost/bind.hpp: At global scope: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ src/external_text_editor.cpp: In member function 'void {anonymous}::vi_editor::refresh_editor_list()': src/external_text_editor.cpp:51:27: warning: unused variable 'begin' [-Wunused-variable] 51 | const int begin = SDL_GetTicks(); | ^~~~~ src/external_text_editor.cpp: In member function 'virtual void {anonymous}::vi_editor::load_file(const string&)': src/external_text_editor.cpp:211:35: warning: unused variable 'result' [-Wunused-variable] 211 | const int result = system(command.c_str()); | ^~~~~~ src/external_text_editor.cpp:225:27: warning: unused variable 'result' [-Wunused-variable] 225 | const int result = system(command.c_str()); | ^~~~~~ src/external_text_editor.cpp: In member function 'void external_text_editor::process()': src/external_text_editor.cpp:309:27: warning: unused variable 'begin' [-Wunused-variable] 309 | const int begin = SDL_GetTicks(); | ^~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/external_text_editor.cpp > external_text_editor.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/editor_stats_dialog.cpp In file included from /usr/include/boost/bind.hpp:30, from src/editor_stats_dialog.cpp:4: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/widget.hpp:19, from src/button.hpp:19, from src/editor_stats_dialog.cpp:10: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/button.hpp:19, from src/editor_stats_dialog.cpp:10: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/button.hpp:19, from src/editor_stats_dialog.cpp:10: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ In file included from src/custom_object.hpp:15, from src/gui_formula_functions.hpp:4, from src/level.hpp:24, from src/editor.hpp:13, from src/editor_stats_dialog.cpp:11: src/draw_scene.hpp: In constructor 'screen_position::screen_position()': src/draw_scene.hpp:29:13: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:17: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:9: warning: when initialized here [-Wreorder] 19 | screen_position() : init(false), x(0), y(0), focus_x(0), focus_y(0), | ^~~~~~~~~~~~~~~ In file included from src/level.hpp:25, from src/editor.hpp:13, from src/editor_stats_dialog.cpp:11: src/hex_map.hpp: In constructor 'hex::hex_map::hex_map()': src/hex_map.hpp:68:13: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:16: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:9: warning: when initialized here [-Wreorder] 26 | hex_map() : zorder_(-1000), width_(0), height_(0), x_(0), y_(0) | ^~~~~~~ In file included from src/level.hpp:26, from src/editor.hpp:13, from src/editor_stats_dialog.cpp:11: src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:45:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 45 | return a.y < b.y || a.y == b.y && a.x < b.x; | ~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const std::pair&) const': src/level_object.hpp:49:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 49 | return a.y < b.second || a.y == b.second && a.x < b.first; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const std::pair&, const level_tile&) const': src/level_object.hpp:53:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 53 | return a.second < b.y || a.second == b.y && a.first < b.x; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_zorder_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:59:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp:59:119: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from src/level.hpp:31, from src/editor.hpp:13, from src/editor_stats_dialog.cpp:11: src/tile_map.hpp: In constructor 'tile_map::pattern_index_entry::pattern_index_entry()': src/tile_map.hpp:75:58: warning: comparison of integer expressions of different signedness: 'int' and 'boost::array::size_type' {aka 'unsigned int'} [-Wsign-compare] 75 | pattern_index_entry() { for(int n = 0; n != str.size(); ++n) { str[n] = 0; } } | ~~^~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/editor_stats_dialog.cpp > editor_stats_dialog.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/color_utils.cpp src/color_utils.cpp: In constructor 'graphics::color_transform::color_transform(const string&)': src/color_utils.cpp:159:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 159 | for(int n = 0; n != components.size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~ src/color_utils.cpp: In constructor 'graphics::color_transform::color_transform(const variant&)': src/color_utils.cpp:169:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 169 | if(n < v.num_elements()) { | ~~^~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/color_utils.cpp > color_utils.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/editor_formula_functions.cpp In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/custom_object_type.hpp:11, from src/custom_object.hpp:13, from src/editor_formula_functions.cpp:4: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/custom_object.hpp:15, from src/editor_formula_functions.cpp:4: src/draw_scene.hpp: In constructor 'screen_position::screen_position()': src/draw_scene.hpp:29:13: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:17: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:9: warning: when initialized here [-Wreorder] 19 | screen_position() : init(false), x(0), y(0), focus_x(0), focus_y(0), | ^~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/custom_object.hpp:25, from src/editor_formula_functions.cpp:4: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/custom_object.hpp:25, from src/editor_formula_functions.cpp:4: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ In file included from src/level.hpp:25, from src/debug_console.hpp:9, from src/editor_formula_functions.cpp:5: src/hex_map.hpp: In constructor 'hex::hex_map::hex_map()': src/hex_map.hpp:68:13: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:16: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:9: warning: when initialized here [-Wreorder] 26 | hex_map() : zorder_(-1000), width_(0), height_(0), x_(0), y_(0) | ^~~~~~~ In file included from src/level.hpp:26, from src/debug_console.hpp:9, from src/editor_formula_functions.cpp:5: src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:45:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 45 | return a.y < b.y || a.y == b.y && a.x < b.x; | ~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const std::pair&) const': src/level_object.hpp:49:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 49 | return a.y < b.second || a.y == b.second && a.x < b.first; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const std::pair&, const level_tile&) const': src/level_object.hpp:53:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 53 | return a.second < b.y || a.second == b.y && a.first < b.x; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_zorder_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:59:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp:59:119: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from src/level.hpp:31, from src/debug_console.hpp:9, from src/editor_formula_functions.cpp:5: src/tile_map.hpp: In constructor 'tile_map::pattern_index_entry::pattern_index_entry()': src/tile_map.hpp:75:58: warning: comparison of integer expressions of different signedness: 'int' and 'boost::array::size_type' {aka 'unsigned int'} [-Wsign-compare] 75 | pattern_index_entry() { for(int n = 0; n != str.size(); ++n) { str[n] = 0; } } | ~~^~~~~~~~~~~~~ In file included from src/debug_console.hpp:10, from src/editor_formula_functions.cpp:5: src/text_editor_widget.hpp: In member function 'bool gui::text_editor_widget::Loc::operator<(const gui::text_editor_widget::Loc&) const': src/text_editor_widget.hpp:41:89: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 41 | bool operator<(const Loc& o) const { return row < o.row || row == o.row && col < o.col; } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ src/editor_formula_functions.cpp: In member function 'virtual variant editor_script::{anonymous}::debug_function::execute(const game_logic::formula_callable&) const': src/editor_formula_functions.cpp:143:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 143 | for(int n = 0; n != args().size(); ++n) { | ~~^~~~~~~~~~~~~~~~ src/editor_formula_functions.cpp: In function 'void editor_script::{anonymous}::execute_command(variant, editor&)': src/editor_formula_functions.cpp:183:34: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 183 | for(int n = 0; n != cmd.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/editor_formula_functions.cpp > editor_formula_functions.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/editor_layers_dialog.cpp In file included from /usr/include/boost/bind.hpp:30, from src/editor_layers_dialog.cpp:2: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/widget.hpp:19, from src/dialog.hpp:17, from src/editor_layers_dialog.hpp:7, from src/editor_layers_dialog.cpp:4: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/dialog.hpp:17, from src/editor_layers_dialog.hpp:7, from src/editor_layers_dialog.cpp:4: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/dialog.hpp:17, from src/editor_layers_dialog.hpp:7, from src/editor_layers_dialog.cpp:4: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ In file included from src/custom_object.hpp:15, from src/gui_formula_functions.hpp:4, from src/level.hpp:24, from src/editor.hpp:13, from src/editor_layers_dialog.hpp:8, from src/editor_layers_dialog.cpp:4: src/draw_scene.hpp: In constructor 'screen_position::screen_position()': src/draw_scene.hpp:29:13: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:17: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:9: warning: when initialized here [-Wreorder] 19 | screen_position() : init(false), x(0), y(0), focus_x(0), focus_y(0), | ^~~~~~~~~~~~~~~ In file included from src/level.hpp:25, from src/editor.hpp:13, from src/editor_layers_dialog.hpp:8, from src/editor_layers_dialog.cpp:4: src/hex_map.hpp: In constructor 'hex::hex_map::hex_map()': src/hex_map.hpp:68:13: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:16: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:9: warning: when initialized here [-Wreorder] 26 | hex_map() : zorder_(-1000), width_(0), height_(0), x_(0), y_(0) | ^~~~~~~ In file included from src/level.hpp:26, from src/editor.hpp:13, from src/editor_layers_dialog.hpp:8, from src/editor_layers_dialog.cpp:4: src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:45:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 45 | return a.y < b.y || a.y == b.y && a.x < b.x; | ~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const std::pair&) const': src/level_object.hpp:49:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 49 | return a.y < b.second || a.y == b.second && a.x < b.first; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const std::pair&, const level_tile&) const': src/level_object.hpp:53:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 53 | return a.second < b.y || a.second == b.y && a.first < b.x; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_zorder_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:59:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp:59:119: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from src/level.hpp:31, from src/editor.hpp:13, from src/editor_layers_dialog.hpp:8, from src/editor_layers_dialog.cpp:4: src/tile_map.hpp: In constructor 'tile_map::pattern_index_entry::pattern_index_entry()': src/tile_map.hpp:75:58: warning: comparison of integer expressions of different signedness: 'int' and 'boost::array::size_type' {aka 'unsigned int'} [-Wsign-compare] 75 | pattern_index_entry() { for(int n = 0; n != str.size(); ++n) { str[n] = 0; } } | ~~^~~~~~~~~~~~~ src/editor_layers_dialog.cpp: In member function 'void editor_dialogs::editor_layers_dialog::process()': src/editor_layers_dialog.cpp:74:31: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 74 | if(index < 0 || index >= editor_.all_tilesets().size()) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/editor_layers_dialog.cpp: In member function 'void editor_dialogs::editor_layers_dialog::row_selected(int)': src/editor_layers_dialog.cpp:107:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 107 | if(nrow == rows_.size()) { | ~~~~~^~~~~~~~~~~~~~~ src/editor_layers_dialog.cpp:126:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 126 | if(nrow < 0 || nrow >= rows_.size()) { | ~~~~~^~~~~~~~~~~~~~~ src/editor_layers_dialog.cpp: In member function 'void editor_dialogs::editor_layers_dialog::row_mouseover(int)': src/editor_layers_dialog.cpp:141:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 141 | if(nrow < 0 || nrow >= rows_.size()) { | ~~~~~^~~~~~~~~~~~~~~ src/editor_layers_dialog.cpp: In member function 'void editor_dialogs::editor_layers_dialog::classification_selected(int)': src/editor_layers_dialog.cpp:164:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::set >::size_type' {aka 'unsigned int'} [-Wsign-compare] 164 | if(index < 0 || index >= all_classifications_.size()) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/editor_layers_dialog.cpp > editor_layers_dialog.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/controls.cpp In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/widget.hpp:19, from src/button.hpp:19, from src/level_runner.hpp:9, from src/controls.cpp:33: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/button.hpp:19, from src/level_runner.hpp:9, from src/controls.cpp:33: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/button.hpp:19, from src/level_runner.hpp:9, from src/controls.cpp:33: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ In file included from src/custom_object.hpp:15, from src/gui_formula_functions.hpp:4, from src/level.hpp:24, from src/debug_console.hpp:9, from src/level_runner.hpp:10, from src/controls.cpp:33: src/draw_scene.hpp: In constructor 'screen_position::screen_position()': src/draw_scene.hpp:29:13: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:17: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:9: warning: when initialized here [-Wreorder] 19 | screen_position() : init(false), x(0), y(0), focus_x(0), focus_y(0), | ^~~~~~~~~~~~~~~ In file included from src/level.hpp:25, from src/debug_console.hpp:9, from src/level_runner.hpp:10, from src/controls.cpp:33: src/hex_map.hpp: In constructor 'hex::hex_map::hex_map()': src/hex_map.hpp:68:13: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:16: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:9: warning: when initialized here [-Wreorder] 26 | hex_map() : zorder_(-1000), width_(0), height_(0), x_(0), y_(0) | ^~~~~~~ In file included from src/level.hpp:26, from src/debug_console.hpp:9, from src/level_runner.hpp:10, from src/controls.cpp:33: src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:45:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 45 | return a.y < b.y || a.y == b.y && a.x < b.x; | ~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const std::pair&) const': src/level_object.hpp:49:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 49 | return a.y < b.second || a.y == b.second && a.x < b.first; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const std::pair&, const level_tile&) const': src/level_object.hpp:53:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 53 | return a.second < b.y || a.second == b.y && a.first < b.x; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_zorder_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:59:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp:59:119: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from src/level.hpp:31, from src/debug_console.hpp:9, from src/level_runner.hpp:10, from src/controls.cpp:33: src/tile_map.hpp: In constructor 'tile_map::pattern_index_entry::pattern_index_entry()': src/tile_map.hpp:75:58: warning: comparison of integer expressions of different signedness: 'int' and 'boost::array::size_type' {aka 'unsigned int'} [-Wsign-compare] 75 | pattern_index_entry() { for(int n = 0; n != str.size(); ++n) { str[n] = 0; } } | ~~^~~~~~~~~~~~~ In file included from src/debug_console.hpp:10, from src/level_runner.hpp:10, from src/controls.cpp:33: src/text_editor_widget.hpp: In member function 'bool gui::text_editor_widget::Loc::operator<(const gui::text_editor_widget::Loc&) const': src/text_editor_widget.hpp:41:89: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 41 | bool operator<(const Loc& o) const { return row < o.row || row == o.row && col < o.col; } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ src/controls.cpp: In function 'void controls::read_until(int)': src/controls.cpp:199:45: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 199 | while(controls[local_player].size() <= ncycle) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ src/controls.cpp:203:45: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 203 | while(controls[local_player].size() > ncycle+1) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ src/controls.cpp: In function 'void controls::get_control_status(int, int, bool*)': src/controls.cpp:320:83: warning: comparison of integer expressions of different signedness: 'Uint32' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 320 | while(cycle > highest_confirmed[player] && SDL_GetTicks() < end_time) { | ~~~~~~~~~~~~~~~^~~~~~~~~~ src/controls.cpp:311:27: warning: unused variable 'breathing_room' [-Wunused-variable] 311 | const int breathing_room = highest_confirmed[player] - cycle; | ^~~~~~~~~~~~~~ src/controls.cpp: In function 'void controls::read_control_packet(const char*, size_t)': src/controls.cpp:423:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 423 | if(cycle < controls[slot].size()) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ src/controls.cpp:435:53: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 435 | while(controls[slot].size() <= cycle) { | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ src/controls.cpp:446:50: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 446 | for(int n = current_cycle + 1; n < controls[slot].size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ src/controls.cpp: In function 'void controls::write_control_packet(std::vector&)': src/controls.cpp:489:29: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 489 | if(ncycles_to_write > controls[local_player].size()) { | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/controls.cpp: In function 'void controls::debug_dump_controls()': src/controls.cpp:549:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 549 | for(int m = 0; m < controls[n].size() && m < highest_confirmed[n]; ++m) { | ~~^~~~~~~~~~~~~~~~~~~~ src/controls.cpp:558:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 558 | for(int m = 0; m < controls[n].size() && m < highest_confirmed[n]; ++m) { | ~~^~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/controls.cpp > controls.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/custom_object_callable.cpp In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/level.hpp:20, from src/custom_object_callable.cpp:3: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/custom_object.hpp:15, from src/gui_formula_functions.hpp:4, from src/level.hpp:24, from src/custom_object_callable.cpp:3: src/draw_scene.hpp: In constructor 'screen_position::screen_position()': src/draw_scene.hpp:29:13: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:17: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:9: warning: when initialized here [-Wreorder] 19 | screen_position() : init(false), x(0), y(0), focus_x(0), focus_y(0), | ^~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/custom_object.hpp:25, from src/gui_formula_functions.hpp:4, from src/level.hpp:24, from src/custom_object_callable.cpp:3: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/custom_object.hpp:25, from src/gui_formula_functions.hpp:4, from src/level.hpp:24, from src/custom_object_callable.cpp:3: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ In file included from src/level.hpp:25, from src/custom_object_callable.cpp:3: src/hex_map.hpp: In constructor 'hex::hex_map::hex_map()': src/hex_map.hpp:68:13: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:16: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:9: warning: when initialized here [-Wreorder] 26 | hex_map() : zorder_(-1000), width_(0), height_(0), x_(0), y_(0) | ^~~~~~~ In file included from src/level.hpp:26, from src/custom_object_callable.cpp:3: src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:45:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 45 | return a.y < b.y || a.y == b.y && a.x < b.x; | ~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const std::pair&) const': src/level_object.hpp:49:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 49 | return a.y < b.second || a.y == b.second && a.x < b.first; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const std::pair&, const level_tile&) const': src/level_object.hpp:53:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 53 | return a.second < b.y || a.second == b.y && a.first < b.x; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_zorder_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:59:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp:59:119: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from src/level.hpp:31, from src/custom_object_callable.cpp:3: src/tile_map.hpp: In constructor 'tile_map::pattern_index_entry::pattern_index_entry()': src/tile_map.hpp:75:58: warning: comparison of integer expressions of different signedness: 'int' and 'boost::array::size_type' {aka 'unsigned int'} [-Wsign-compare] 75 | pattern_index_entry() { for(int n = 0; n != str.size(); ++n) { str[n] = 0; } } | ~~^~~~~~~~~~~~~ src/custom_object_callable.cpp: In constructor 'custom_object_callable::custom_object_callable(bool)': src/custom_object_callable.cpp:71:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 71 | for(int n = 0; n != global_entries().size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/custom_object_callable.cpp: In member function 'virtual game_logic::formula_callable_definition::entry* custom_object_callable::get_entry(int)': src/custom_object_callable.cpp:104:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 104 | if(slot < 0 || slot >= entries_.size()) { | ~~~~~^~~~~~~~~~~~~~~~~~ src/custom_object_callable.cpp: In member function 'virtual const game_logic::formula_callable_definition::entry* custom_object_callable::get_entry(int) const': src/custom_object_callable.cpp:113:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 113 | if(slot < 0 || slot >= entries_.size()) { | ~~~~~^~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/custom_object_callable.cpp > custom_object_callable.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/code_editor_widget.cpp In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/widget.hpp:19, from src/image_widget.hpp:22, from src/slider.hpp:18, from src/code_editor_widget.hpp:8, from src/code_editor_widget.cpp:2: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/image_widget.hpp:22, from src/slider.hpp:18, from src/code_editor_widget.hpp:8, from src/code_editor_widget.cpp:2: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/image_widget.hpp:22, from src/slider.hpp:18, from src/code_editor_widget.hpp:8, from src/code_editor_widget.cpp:2: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ In file included from src/code_editor_widget.hpp:9, from src/code_editor_widget.cpp:2: src/text_editor_widget.hpp: In member function 'bool gui::text_editor_widget::Loc::operator<(const gui::text_editor_widget::Loc&) const': src/text_editor_widget.hpp:41:89: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 41 | bool operator<(const Loc& o) const { return row < o.row || row == o.row && col < o.col; } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22, from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23, from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14, from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42, from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25, from /usr/include/boost/smart_ptr/shared_ptr.hpp:29, from /usr/include/boost/shared_ptr.hpp:17, from src/variant.hpp:5, from src/geometry.hpp:5, from src/image_widget.hpp:18, from src/slider.hpp:18, from src/code_editor_widget.hpp:8, from src/code_editor_widget.cpp:2: /usr/include/boost/bind.hpp: At global scope: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ src/code_editor_widget.cpp: In member function 'virtual void gui::code_editor_widget::on_change()': src/code_editor_widget.cpp:88:82: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 88 | for(int n = 0; n != opening_brackets.back().size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/code_editor_widget.cpp:153:50: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector > >::size_type' {aka 'unsigned int'} [-Wsign-compare] 153 | for(int n = 0; n != opening_brackets.size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/code_editor_widget.cpp: In member function 'virtual graphics::color gui::code_editor_widget::get_character_color(int, int) const': src/code_editor_widget.cpp:181:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 181 | for(int n = 0; n != itor->second.size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~ src/code_editor_widget.cpp:185:93: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 185 | if(cursor_col() == match_col+1 || colors_[match_row].size() == match_col+1 && cursor_col() > match_col+1) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ src/code_editor_widget.cpp:185:108: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 185 | if(cursor_col() == match_col+1 || colors_[match_row].size() == match_col+1 && cursor_col() > match_col+1) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/code_editor_widget.cpp:1: src/code_editor_widget.cpp:192:36: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 192 | ASSERT_LOG(row >= 0 && row < colors_.size(), "Invalid row: " << row << " /" << colors_.size()); | ~~~~^~~~~~~~~~~~~~~~ src/asserts.hpp:65:33: note: in definition of macro 'ASSERT_LOG' 65 | #define ASSERT_LOG(_a,_b) if( !(_a) ) { std::ostringstream _s; _s << __FILE__ << ":" << __LINE__ << " ASSERTION FAILED: " << _b << "\n"; if(throw_validation_failure_on_assert()) { throw validation_failure_exception(_s.str()); } else { std::cerr << _s.str(); output_backtrace(); report_assert_msg(_s.str()); abort(); } } | ^~ src/code_editor_widget.cpp:193:36: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 193 | ASSERT_LOG(col >= 0 && col < colors_[row].size(), "Invalid col: " << col << " /" << colors_[row].size()); | ~~~~^~~~~~~~~~~~~~~~~~~~~ src/asserts.hpp:65:33: note: in definition of macro 'ASSERT_LOG' 65 | #define ASSERT_LOG(_a,_b) if( !(_a) ) { std::ostringstream _s; _s << __FILE__ << ":" << __LINE__ << " ASSERTION FAILED: " << _b << "\n"; if(throw_validation_failure_on_assert()) { throw validation_failure_exception(_s.str()); } else { std::cerr << _s.str(); output_backtrace(); report_assert_msg(_s.str()); abort(); } } | ^~ src/code_editor_widget.cpp: In member function 'void gui::code_editor_widget::on_slider_move(double)': src/code_editor_widget.cpp:303:52: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 303 | ASSERT_LOG(row_slider_ >= 0 && row_slider_ < get_data().size(), "Illegal row value for slider: " << row_slider_ << " / " << get_data().size()); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ src/asserts.hpp:65:33: note: in definition of macro 'ASSERT_LOG' 65 | #define ASSERT_LOG(_a,_b) if( !(_a) ) { std::ostringstream _s; _s << __FILE__ << ":" << __LINE__ << " ASSERTION FAILED: " << _b << "\n"; if(throw_validation_failure_on_assert()) { throw validation_failure_exception(_s.str()); } else { std::cerr << _s.str(); output_backtrace(); report_assert_msg(_s.str()); abort(); } } | ^~ src/code_editor_widget.cpp: In member function 'gui::code_editor_widget::ObjectInfo gui::code_editor_widget::get_object_at(int, int) const': src/code_editor_widget.cpp:416:36: warning: comparison of integer expressions of different signedness: 'const int' and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] 416 | ASSERT_LOG(pos >= 0 && pos <= current_text_.size(), "Unexpected position in code editor widget: " << pos << " / " << current_text_.size()); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ src/asserts.hpp:65:33: note: in definition of macro 'ASSERT_LOG' 65 | #define ASSERT_LOG(_a,_b) if( !(_a) ) { std::ostringstream _s; _s << __FILE__ << ":" << __LINE__ << " ASSERTION FAILED: " << _b << "\n"; if(throw_validation_failure_on_assert()) { throw validation_failure_exception(_s.str()); } else { std::cerr << _s.str(); output_backtrace(); report_assert_msg(_s.str()); abort(); } } | ^~ src/code_editor_widget.cpp:420:13: warning: unused variable 'nbracket' [-Wunused-variable] 420 | int nbracket = 0; | ^~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/code_editor_widget.cpp > code_editor_widget.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/collision_utils.cpp In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/level.hpp:20, from src/collision_utils.cpp:5: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/custom_object.hpp:15, from src/gui_formula_functions.hpp:4, from src/level.hpp:24, from src/collision_utils.cpp:5: src/draw_scene.hpp: In constructor 'screen_position::screen_position()': src/draw_scene.hpp:29:13: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:17: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:9: warning: when initialized here [-Wreorder] 19 | screen_position() : init(false), x(0), y(0), focus_x(0), focus_y(0), | ^~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/custom_object.hpp:25, from src/gui_formula_functions.hpp:4, from src/level.hpp:24, from src/collision_utils.cpp:5: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/custom_object.hpp:25, from src/gui_formula_functions.hpp:4, from src/level.hpp:24, from src/collision_utils.cpp:5: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ In file included from src/level.hpp:25, from src/collision_utils.cpp:5: src/hex_map.hpp: In constructor 'hex::hex_map::hex_map()': src/hex_map.hpp:68:13: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:16: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:9: warning: when initialized here [-Wreorder] 26 | hex_map() : zorder_(-1000), width_(0), height_(0), x_(0), y_(0) | ^~~~~~~ In file included from src/level.hpp:26, from src/collision_utils.cpp:5: src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:45:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 45 | return a.y < b.y || a.y == b.y && a.x < b.x; | ~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const std::pair&) const': src/level_object.hpp:49:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 49 | return a.y < b.second || a.y == b.second && a.x < b.first; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const std::pair&, const level_tile&) const': src/level_object.hpp:53:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 53 | return a.second < b.y || a.second == b.y && a.first < b.x; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_zorder_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:59:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp:59:119: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from src/level.hpp:31, from src/collision_utils.cpp:5: src/tile_map.hpp: In constructor 'tile_map::pattern_index_entry::pattern_index_entry()': src/tile_map.hpp:75:58: warning: comparison of integer expressions of different signedness: 'int' and 'boost::array::size_type' {aka 'unsigned int'} [-Wsign-compare] 75 | pattern_index_entry() { for(int n = 0; n != str.size(); ++n) { str[n] = 0; } } | ~~^~~~~~~~~~~~~ src/collision_utils.cpp: In function 'bool point_standable(const level&, const entity&, int, int, collision_info*, ALLOW_PLATFORM)': src/collision_utils.cpp:47:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 47 | if(allow_platform == SOLID_AND_PLATFORMS && lvl.standable(x, y, info ? &info->surf_info : NULL) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/collision_utils.cpp:95:27: warning: unused variable 'xpos' [-Wunused-variable] 95 | const int xpos = obj->face_right() ? x - obj->x() : obj->x() + f.width() - x - 1; | ^~~~ src/collision_utils.cpp: In function 'void debug_check_entity_solidity(const level&, const entity&)': src/collision_utils.cpp:142:29: warning: unused variable 'area' [-Wunused-variable] 142 | const rect& area = s->area(); | ^~~~ src/collision_utils.cpp: In function 'int entity_user_collision(const entity&, const entity&, collision_pair*, int)': src/collision_utils.cpp:429:83: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 429 | fa.collision_areas_inside_frame() && fb.collision_areas_inside_frame() && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 430 | !rects_intersect(a.frame_rect(), b.frame_rect())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/collision_utils.cpp: In function 'void detect_user_collisions(level&)': src/collision_utils.cpp:602:88: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 602 | (a->weak_collide_dimensions()&b->collide_dimensions()) == 0 && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 603 | (a->collide_dimensions()&b->weak_collide_dimensions()) == 0) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/collision_utils.cpp > collision_utils.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/draw_number.cpp g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/draw_number.cpp > draw_number.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/controls_dialog.cpp In file included from /usr/include/boost/bind.hpp:30, from src/controls_dialog.cpp:1: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/widget.hpp:19, from src/button.hpp:19, from src/controls_dialog.cpp:3: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/button.hpp:19, from src/controls_dialog.cpp:3: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/button.hpp:19, from src/controls_dialog.cpp:3: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ In file included from src/controls_dialog.cpp:7: src/draw_scene.hpp: In constructor 'screen_position::screen_position()': src/draw_scene.hpp:29:13: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:17: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:9: warning: when initialized here [-Wreorder] 19 | screen_position() : init(false), x(0), y(0), focus_x(0), focus_y(0), | ^~~~~~~~~~~~~~~ In file included from src/level.hpp:25, from src/controls_dialog.cpp:10: src/hex_map.hpp: In constructor 'hex::hex_map::hex_map()': src/hex_map.hpp:68:13: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:16: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:9: warning: when initialized here [-Wreorder] 26 | hex_map() : zorder_(-1000), width_(0), height_(0), x_(0), y_(0) | ^~~~~~~ In file included from src/level.hpp:26, from src/controls_dialog.cpp:10: src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:45:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 45 | return a.y < b.y || a.y == b.y && a.x < b.x; | ~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const std::pair&) const': src/level_object.hpp:49:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 49 | return a.y < b.second || a.y == b.second && a.x < b.first; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const std::pair&, const level_tile&) const': src/level_object.hpp:53:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 53 | return a.second < b.y || a.second == b.y && a.first < b.x; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_zorder_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:59:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp:59:119: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from src/level.hpp:31, from src/controls_dialog.cpp:10: src/tile_map.hpp: In constructor 'tile_map::pattern_index_entry::pattern_index_entry()': src/tile_map.hpp:75:58: warning: comparison of integer expressions of different signedness: 'int' and 'boost::array::size_type' {aka 'unsigned int'} [-Wsign-compare] 75 | pattern_index_entry() { for(int n = 0; n != str.size(); ++n) { str[n] = 0; } } | ~~^~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/controls_dialog.cpp > controls_dialog.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/draw_tile.cpp In file included from src/draw_tile.cpp:3: src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:45:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 45 | return a.y < b.y || a.y == b.y && a.x < b.x; | ~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const std::pair&) const': src/level_object.hpp:49:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 49 | return a.y < b.second || a.y == b.second && a.x < b.first; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const std::pair&, const level_tile&) const': src/level_object.hpp:53:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 53 | return a.second < b.y || a.second == b.y && a.first < b.x; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_zorder_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:59:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp:59:119: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/draw_tile.cpp > draw_tile.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/formula_callable_definition.cpp src/formula_callable_definition.cpp: In member function 'virtual game_logic::formula_callable_definition::entry* game_logic::{anonymous}::simple_definition::get_entry(int)': src/formula_callable_definition.cpp:46:37: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 46 | if(slot < 0 || slot >= entries_.size()) { | ~~~~~^~~~~~~~~~~~~~~~~~ src/formula_callable_definition.cpp: In member function 'virtual const game_logic::formula_callable_definition::entry* game_logic::{anonymous}::simple_definition::get_entry(int) const': src/formula_callable_definition.cpp:60:37: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 60 | if(slot < 0 || slot >= entries_.size()) { | ~~~~~^~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/formula_callable_definition.cpp > formula_callable_definition.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/debug_console.cpp In file included from /usr/include/boost/bind.hpp:30, from src/debug_console.cpp:6: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/custom_object_type.hpp:11, from src/custom_object.hpp:13, from src/debug_console.cpp:10: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/custom_object.hpp:15, from src/debug_console.cpp:10: src/draw_scene.hpp: In constructor 'screen_position::screen_position()': src/draw_scene.hpp:29:13: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:17: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:9: warning: when initialized here [-Wreorder] 19 | screen_position() : init(false), x(0), y(0), focus_x(0), focus_y(0), | ^~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/custom_object.hpp:25, from src/debug_console.cpp:10: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/custom_object.hpp:25, from src/debug_console.cpp:10: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ In file included from src/level.hpp:25, from src/editor.hpp:13, from src/debug_console.cpp:14: src/hex_map.hpp: In constructor 'hex::hex_map::hex_map()': src/hex_map.hpp:68:13: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:16: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:9: warning: when initialized here [-Wreorder] 26 | hex_map() : zorder_(-1000), width_(0), height_(0), x_(0), y_(0) | ^~~~~~~ In file included from src/level.hpp:26, from src/editor.hpp:13, from src/debug_console.cpp:14: src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:45:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 45 | return a.y < b.y || a.y == b.y && a.x < b.x; | ~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const std::pair&) const': src/level_object.hpp:49:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 49 | return a.y < b.second || a.y == b.second && a.x < b.first; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const std::pair&, const level_tile&) const': src/level_object.hpp:53:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 53 | return a.second < b.y || a.second == b.y && a.first < b.x; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_zorder_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:59:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp:59:119: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from src/level.hpp:31, from src/editor.hpp:13, from src/debug_console.cpp:14: src/tile_map.hpp: In constructor 'tile_map::pattern_index_entry::pattern_index_entry()': src/tile_map.hpp:75:58: warning: comparison of integer expressions of different signedness: 'int' and 'boost::array::size_type' {aka 'unsigned int'} [-Wsign-compare] 75 | pattern_index_entry() { for(int n = 0; n != str.size(); ++n) { str[n] = 0; } } | ~~^~~~~~~~~~~~~ In file included from src/debug_console.hpp:10, from src/debug_console.cpp:19: src/text_editor_widget.hpp: In member function 'bool gui::text_editor_widget::Loc::operator<(const gui::text_editor_widget::Loc&) const': src/text_editor_widget.hpp:41:89: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 41 | bool operator<(const Loc& o) const { return row < o.row || row == o.row && col < o.col; } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ src/debug_console.cpp: In function 'void debug_console::draw_graph()': src/debug_console.cpp:159:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 159 | while(index < p.second.samples.size()) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ src/debug_console.cpp: In member function 'void debug_console::console_dialog::on_move_cursor()': src/debug_console.cpp:299:39: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 299 | if(text_editor_->cursor_row() < text_editor_->get_data().size()-1) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/debug_console.cpp:303:39: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] 303 | if(text_editor_->cursor_col() < Prompt.size() && text_editor_->get_data().back().size() >= Prompt.size()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ src/debug_console.cpp: In member function 'virtual bool debug_console::console_dialog::handle_event(const SDL_Event&, bool)': src/debug_console.cpp:396:56: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 396 | } else if(history_pos_ > history_.size()) { | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ src/debug_console.cpp: In member function 'void debug_console::console_dialog::load_history()': src/debug_console.cpp:413:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 413 | if(history_pos_ < history_.size()) { | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/debug_console.cpp > debug_console.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/dialog.cpp In file included from /usr/include/boost/bind.hpp:30, from src/dialog.cpp:15: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/widget.hpp:19, from src/dialog.hpp:17, from src/dialog.cpp:18: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/dialog.hpp:17, from src/dialog.cpp:18: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/dialog.hpp:17, from src/dialog.cpp:18: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ In file included from src/dialog.cpp:26: src/draw_scene.hpp: In constructor 'screen_position::screen_position()': src/draw_scene.hpp:29:13: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:17: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:9: warning: when initialized here [-Wreorder] 19 | screen_position() : init(false), x(0), y(0), focus_x(0), focus_y(0), | ^~~~~~~~~~~~~~~ In file included from src/level.hpp:25, from src/dialog.cpp:27: src/hex_map.hpp: In constructor 'hex::hex_map::hex_map()': src/hex_map.hpp:68:13: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:16: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:9: warning: when initialized here [-Wreorder] 26 | hex_map() : zorder_(-1000), width_(0), height_(0), x_(0), y_(0) | ^~~~~~~ In file included from src/level.hpp:26, from src/dialog.cpp:27: src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:45:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 45 | return a.y < b.y || a.y == b.y && a.x < b.x; | ~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const std::pair&) const': src/level_object.hpp:49:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 49 | return a.y < b.second || a.y == b.second && a.x < b.first; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const std::pair&, const level_tile&) const': src/level_object.hpp:53:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 53 | return a.second < b.y || a.second == b.y && a.first < b.x; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_zorder_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:59:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp:59:119: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from src/level.hpp:31, from src/dialog.cpp:27: src/tile_map.hpp: In constructor 'tile_map::pattern_index_entry::pattern_index_entry()': src/tile_map.hpp:75:58: warning: comparison of integer expressions of different signedness: 'int' and 'boost::array::size_type' {aka 'unsigned int'} [-Wsign-compare] 75 | pattern_index_entry() { for(int n = 0; n != str.size(); ++n) { str[n] = 0; } } | ~~^~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/dialog.cpp > dialog.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/font.cpp src/font.cpp: In member function 'bool font::{anonymous}::CacheKey::operator<(const font::{anonymous}::CacheKey&) const': src/font.cpp:54:56: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 54 | return text < k.text || text == k.text && color < k.color || | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ src/font.cpp:55:59: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 55 | text == k.text && color == k.color && font_size < k.font_size; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/font.cpp > font.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/custom_object_dialog.cpp In file included from /usr/include/boost/bind.hpp:30, from src/custom_object_dialog.cpp:4: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/widget.hpp:19, from src/label.hpp:22, from src/animation_preview_widget.hpp:9, from src/animation_creator.hpp:11, from src/custom_object_dialog.cpp:13: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/label.hpp:22, from src/animation_preview_widget.hpp:9, from src/animation_creator.hpp:11, from src/custom_object_dialog.cpp:13: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/label.hpp:22, from src/animation_preview_widget.hpp:9, from src/animation_creator.hpp:11, from src/custom_object_dialog.cpp:13: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ In file included from src/dropdown_widget.hpp:13, from src/animation_creator.hpp:15, from src/custom_object_dialog.cpp:13: src/text_editor_widget.hpp: In member function 'bool gui::text_editor_widget::Loc::operator<(const gui::text_editor_widget::Loc&) const': src/text_editor_widget.hpp:41:89: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 41 | bool operator<(const Loc& o) const { return row < o.row || row == o.row && col < o.col; } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from src/custom_object.hpp:15, from src/custom_object_dialog.hpp:6, from src/custom_object_dialog.cpp:18: src/draw_scene.hpp: In constructor 'screen_position::screen_position()': src/draw_scene.hpp:29:13: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:17: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:9: warning: when initialized here [-Wreorder] 19 | screen_position() : init(false), x(0), y(0), focus_x(0), focus_y(0), | ^~~~~~~~~~~~~~~ In file included from src/level.hpp:25, from src/editor.hpp:13, from src/custom_object_dialog.hpp:9, from src/custom_object_dialog.cpp:18: src/hex_map.hpp: In constructor 'hex::hex_map::hex_map()': src/hex_map.hpp:68:13: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:16: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:9: warning: when initialized here [-Wreorder] 26 | hex_map() : zorder_(-1000), width_(0), height_(0), x_(0), y_(0) | ^~~~~~~ In file included from src/level.hpp:26, from src/editor.hpp:13, from src/custom_object_dialog.hpp:9, from src/custom_object_dialog.cpp:18: src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:45:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 45 | return a.y < b.y || a.y == b.y && a.x < b.x; | ~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const std::pair&) const': src/level_object.hpp:49:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 49 | return a.y < b.second || a.y == b.second && a.x < b.first; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const std::pair&, const level_tile&) const': src/level_object.hpp:53:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 53 | return a.second < b.y || a.second == b.y && a.first < b.x; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_zorder_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:59:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp:59:119: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from src/level.hpp:31, from src/editor.hpp:13, from src/custom_object_dialog.hpp:9, from src/custom_object_dialog.cpp:18: src/tile_map.hpp: In constructor 'tile_map::pattern_index_entry::pattern_index_entry()': src/tile_map.hpp:75:58: warning: comparison of integer expressions of different signedness: 'int' and 'boost::array::size_type' {aka 'unsigned int'} [-Wsign-compare] 75 | pattern_index_entry() { for(int n = 0; n != str.size(); ++n) { str[n] = 0; } } | ~~^~~~~~~~~~~~~ src/custom_object_dialog.cpp: In constructor 'gui::item_edit_dialog::item_edit_dialog(int, int, int, int, const string&, variant)': src/custom_object_dialog.cpp:67:17: warning: 'gui::item_edit_dialog::items_' will be initialized after [-Wreorder] 67 | variant items_; | ^~~~~~ src/custom_object_dialog.cpp:66:21: warning: 'std::string gui::item_edit_dialog::display_name_' [-Wreorder] 66 | std::string display_name_; | ^~~~~~~~~~~~~ src/custom_object_dialog.cpp:41:9: warning: when initialized here [-Wreorder] 41 | item_edit_dialog(int x, int y, int w, int h, const std::string&name, variant items) | ^~~~~~~~~~~~~~~~ In file included from src/custom_object_dialog.cpp:18: src/custom_object_dialog.hpp: In constructor 'editor_dialogs::custom_object_dialog::custom_object_dialog(editor&, int, int, int, int)': src/custom_object_dialog.hpp:57:14: warning: 'editor_dialogs::custom_object_dialog::dragging_slider_' will be initialized after [-Wreorder] 57 | bool dragging_slider_; | ^~~~~~~~~~~~~~~~ src/custom_object_dialog.hpp:47:13: warning: 'int editor_dialogs::custom_object_dialog::selected_template_' [-Wreorder] 47 | int selected_template_; | ^~~~~~~~~~~~~~~~~~ src/custom_object_dialog.cpp:168:1: warning: when initialized here [-Wreorder] 168 | custom_object_dialog::custom_object_dialog(editor& e, int x, int y, int w, int h) | ^~~~~~~~~~~~~~~~~~~~ src/custom_object_dialog.cpp: In member function 'void editor_dialogs::custom_object_dialog::init()': src/custom_object_dialog.cpp:270:30: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 270 | if(err_text.length() > max_chars && max_chars > 3) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ src/custom_object_dialog.cpp: At global scope: src/custom_object_dialog.cpp:137:6: warning: 'void {anonymous}::reset_dialog_paths()' defined but not used [-Wunused-function] 137 | void reset_dialog_paths() | ^~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/custom_object_dialog.cpp > custom_object_dialog.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/entity.cpp In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/custom_object_type.hpp:11, from src/custom_object.hpp:13, from src/entity.cpp:4: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/custom_object.hpp:15, from src/entity.cpp:4: src/draw_scene.hpp: In constructor 'screen_position::screen_position()': src/draw_scene.hpp:29:13: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:17: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:9: warning: when initialized here [-Wreorder] 19 | screen_position() : init(false), x(0), y(0), focus_x(0), focus_y(0), | ^~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/custom_object.hpp:25, from src/entity.cpp:4: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/custom_object.hpp:25, from src/entity.cpp:4: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ In file included from src/level.hpp:25, from src/entity.cpp:7: src/hex_map.hpp: In constructor 'hex::hex_map::hex_map()': src/hex_map.hpp:68:13: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:16: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:9: warning: when initialized here [-Wreorder] 26 | hex_map() : zorder_(-1000), width_(0), height_(0), x_(0), y_(0) | ^~~~~~~ In file included from src/level.hpp:26, from src/entity.cpp:7: src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:45:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 45 | return a.y < b.y || a.y == b.y && a.x < b.x; | ~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const std::pair&) const': src/level_object.hpp:49:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 49 | return a.y < b.second || a.y == b.second && a.x < b.first; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const std::pair&, const level_tile&) const': src/level_object.hpp:53:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 53 | return a.second < b.y || a.second == b.y && a.first < b.x; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_zorder_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:59:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp:59:119: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from src/level.hpp:31, from src/entity.cpp:7: src/tile_map.hpp: In constructor 'tile_map::pattern_index_entry::pattern_index_entry()': src/tile_map.hpp:75:58: warning: comparison of integer expressions of different signedness: 'int' and 'boost::array::size_type' {aka 'unsigned int'} [-Wsign-compare] 75 | pattern_index_entry() { for(int n = 0; n != str.size(); ++n) { str[n] = 0; } } | ~~^~~~~~~~~~~~~ In file included from src/custom_object.hpp:16, from src/entity.cpp:4: src/entity.hpp: In constructor 'entity::entity(variant)': src/entity.hpp:352:13: warning: 'entity::platform_motion_x_' will be initialized after [-Wreorder] 352 | int platform_motion_x_; | ^~~~~~~~~~~~~~~~~~ src/entity.hpp:328:14: warning: 'bool entity::mouse_over_entity_' [-Wreorder] 328 | bool mouse_over_entity_; | ^~~~~~~~~~~~~~~~~~ src/entity.cpp:14:1: warning: when initialized here [-Wreorder] 14 | entity::entity(variant node) | ^~~~~~ In file included from src/custom_object.hpp:16, from src/entity.cpp:4: src/entity.hpp:330:14: warning: 'entity::being_dragged_' will be initialized after [-Wreorder] 330 | bool being_dragged_; | ^~~~~~~~~~~~~~ src/entity.hpp:329:15: warning: 'Uint8 entity::mouse_button_state_' [-Wreorder] 329 | Uint8 mouse_button_state_; | ^~~~~~~~~~~~~~~~~~~ src/entity.cpp:14:1: warning: when initialized here [-Wreorder] 14 | entity::entity(variant node) | ^~~~~~ In file included from src/custom_object.hpp:16, from src/entity.cpp:4: src/entity.hpp: In constructor 'entity::entity(int, int, bool)': src/entity.hpp:352:13: warning: 'entity::platform_motion_x_' will be initialized after [-Wreorder] 352 | int platform_motion_x_; | ^~~~~~~~~~~~~~~~~~ src/entity.hpp:328:14: warning: 'bool entity::mouse_over_entity_' [-Wreorder] 328 | bool mouse_over_entity_; | ^~~~~~~~~~~~~~~~~~ src/entity.cpp:33:1: warning: when initialized here [-Wreorder] 33 | entity::entity(int x, int y, bool face_right) | ^~~~~~ In file included from src/custom_object.hpp:16, from src/entity.cpp:4: src/entity.hpp:330:14: warning: 'entity::being_dragged_' will be initialized after [-Wreorder] 330 | bool being_dragged_; | ^~~~~~~~~~~~~~ src/entity.hpp:329:15: warning: 'Uint8 entity::mouse_button_state_' [-Wreorder] 329 | Uint8 mouse_button_state_; | ^~~~~~~~~~~~~~~~~~~ src/entity.cpp:33:1: warning: when initialized here [-Wreorder] 33 | entity::entity(int x, int y, bool face_right) | ^~~~~~ src/entity.cpp: In function 'bool zorder_compare(const entity_ptr&, const entity_ptr&)': src/entity.cpp:373:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 373 | a->zorder() == b->zorder() && a->zsub_order() < b->zsub_order() || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/entity.cpp:374:90: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 374 | a->zorder() == b->zorder() && a->zsub_order() == b->zsub_order() && a->midpoint().y < b->midpoint().y || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/entity.cpp:375:128: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 375 | a->zorder() == b->zorder() && a->zsub_order() == b->zsub_order() && a->midpoint().y == b->midpoint().y && a.get() < b.get(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/entity.cpp:378:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 378 | a->zorder() == b->zorder() && a->zsub_order() < b->zsub_order() || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/entity.cpp:379:82: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 379 | a->zorder() == b->zorder() && a->zsub_order() == b->zsub_order() && a->midpoint().y > b->midpoint().y || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/entity.cpp:380:120: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 380 | a->zorder() == b->zorder() && a->zsub_order() == b->zsub_order() && a->midpoint().y == b->midpoint().y && a.get() > b.get(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/entity.cpp > entity.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/editor_level_properties_dialog.cpp In file included from /usr/include/boost/bind.hpp:30, from src/editor_level_properties_dialog.cpp:4: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/widget.hpp:19, from src/button.hpp:19, from src/editor_level_properties_dialog.cpp:10: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/button.hpp:19, from src/editor_level_properties_dialog.cpp:10: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/button.hpp:19, from src/editor_level_properties_dialog.cpp:10: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ In file included from src/custom_object.hpp:15, from src/gui_formula_functions.hpp:4, from src/level.hpp:24, from src/editor.hpp:13, from src/editor_level_properties_dialog.cpp:12: src/draw_scene.hpp: In constructor 'screen_position::screen_position()': src/draw_scene.hpp:29:13: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:17: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:9: warning: when initialized here [-Wreorder] 19 | screen_position() : init(false), x(0), y(0), focus_x(0), focus_y(0), | ^~~~~~~~~~~~~~~ In file included from src/level.hpp:25, from src/editor.hpp:13, from src/editor_level_properties_dialog.cpp:12: src/hex_map.hpp: In constructor 'hex::hex_map::hex_map()': src/hex_map.hpp:68:13: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:16: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:9: warning: when initialized here [-Wreorder] 26 | hex_map() : zorder_(-1000), width_(0), height_(0), x_(0), y_(0) | ^~~~~~~ In file included from src/level.hpp:26, from src/editor.hpp:13, from src/editor_level_properties_dialog.cpp:12: src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:45:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 45 | return a.y < b.y || a.y == b.y && a.x < b.x; | ~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const std::pair&) const': src/level_object.hpp:49:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 49 | return a.y < b.second || a.y == b.second && a.x < b.first; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const std::pair&, const level_tile&) const': src/level_object.hpp:53:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 53 | return a.second < b.y || a.second == b.y && a.first < b.x; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_zorder_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:59:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp:59:119: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from src/level.hpp:31, from src/editor.hpp:13, from src/editor_level_properties_dialog.cpp:12: src/tile_map.hpp: In constructor 'tile_map::pattern_index_entry::pattern_index_entry()': src/tile_map.hpp:75:58: warning: comparison of integer expressions of different signedness: 'int' and 'boost::array::size_type' {aka 'unsigned int'} [-Wsign-compare] 75 | pattern_index_entry() { for(int n = 0; n != str.size(); ++n) { str[n] = 0; } } | ~~^~~~~~~~~~~~~ In file included from src/editor_level_properties_dialog.hpp:10, from src/editor_level_properties_dialog.cpp:14: src/text_editor_widget.hpp: In member function 'bool gui::text_editor_widget::Loc::operator<(const gui::text_editor_widget::Loc&) const': src/text_editor_widget.hpp:41:89: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 41 | bool operator<(const Loc& o) const { return row < o.row || row == o.row && col < o.col; } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ src/editor_level_properties_dialog.cpp: In member function 'void editor_dialogs::editor_level_properties_dialog::execute_change_background(const std::vector >&, int)': src/editor_level_properties_dialog.cpp:179:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 179 | if(index < 0 || index >= choices.size()) { | ~~~~~~^~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/editor_level_properties_dialog.cpp > editor_level_properties_dialog.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/editor_module_properties_dialog.cpp In file included from /usr/include/boost/bind.hpp:30, from src/editor_module_properties_dialog.cpp:4: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/widget.hpp:19, from src/button.hpp:19, from src/editor_module_properties_dialog.cpp:10: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/button.hpp:19, from src/editor_module_properties_dialog.cpp:10: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/button.hpp:19, from src/editor_module_properties_dialog.cpp:10: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ In file included from src/custom_object.hpp:15, from src/gui_formula_functions.hpp:4, from src/level.hpp:24, from src/editor.hpp:13, from src/editor_module_properties_dialog.cpp:12: src/draw_scene.hpp: In constructor 'screen_position::screen_position()': src/draw_scene.hpp:29:13: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:17: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:9: warning: when initialized here [-Wreorder] 19 | screen_position() : init(false), x(0), y(0), focus_x(0), focus_y(0), | ^~~~~~~~~~~~~~~ In file included from src/level.hpp:25, from src/editor.hpp:13, from src/editor_module_properties_dialog.cpp:12: src/hex_map.hpp: In constructor 'hex::hex_map::hex_map()': src/hex_map.hpp:68:13: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:16: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:9: warning: when initialized here [-Wreorder] 26 | hex_map() : zorder_(-1000), width_(0), height_(0), x_(0), y_(0) | ^~~~~~~ In file included from src/level.hpp:26, from src/editor.hpp:13, from src/editor_module_properties_dialog.cpp:12: src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:45:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 45 | return a.y < b.y || a.y == b.y && a.x < b.x; | ~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const std::pair&) const': src/level_object.hpp:49:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 49 | return a.y < b.second || a.y == b.second && a.x < b.first; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const std::pair&, const level_tile&) const': src/level_object.hpp:53:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 53 | return a.second < b.y || a.second == b.y && a.first < b.x; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_zorder_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:59:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp:59:119: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from src/level.hpp:31, from src/editor.hpp:13, from src/editor_module_properties_dialog.cpp:12: src/tile_map.hpp: In constructor 'tile_map::pattern_index_entry::pattern_index_entry()': src/tile_map.hpp:75:58: warning: comparison of integer expressions of different signedness: 'int' and 'boost::array::size_type' {aka 'unsigned int'} [-Wsign-compare] 75 | pattern_index_entry() { for(int n = 0; n != str.size(); ++n) { str[n] = 0; } } | ~~^~~~~~~~~~~~~ In file included from src/editor_module_properties_dialog.hpp:11, from src/editor_module_properties_dialog.cpp:14: src/text_editor_widget.hpp: In member function 'bool gui::text_editor_widget::Loc::operator<(const gui::text_editor_widget::Loc&) const': src/text_editor_widget.hpp:41:89: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 41 | bool operator<(const Loc& o) const { return row < o.row || row == o.row && col < o.col; } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from src/editor_module_properties_dialog.cpp:14: src/editor_module_properties_dialog.hpp: In constructor 'editor_dialogs::editor_module_properties_dialog::editor_module_properties_dialog(editor&)': src/editor_module_properties_dialog.hpp:36:17: warning: 'editor_dialogs::editor_module_properties_dialog::editor_' will be initialized after [-Wreorder] 36 | editor& editor_; | ^~~~~~~ src/editor_module_properties_dialog.hpp:35:14: warning: 'bool editor_dialogs::editor_module_properties_dialog::new_mod_' [-Wreorder] 35 | bool new_mod_; | ^~~~~~~~ src/editor_module_properties_dialog.cpp:51:1: warning: when initialized here [-Wreorder] 51 | editor_module_properties_dialog::editor_module_properties_dialog(editor& e) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/editor_module_properties_dialog.cpp:14: src/editor_module_properties_dialog.hpp: In constructor 'editor_dialogs::editor_module_properties_dialog::editor_module_properties_dialog(editor&, const string&)': src/editor_module_properties_dialog.hpp:36:17: warning: 'editor_dialogs::editor_module_properties_dialog::editor_' will be initialized after [-Wreorder] 36 | editor& editor_; | ^~~~~~~ src/editor_module_properties_dialog.hpp:35:14: warning: 'bool editor_dialogs::editor_module_properties_dialog::new_mod_' [-Wreorder] 35 | bool new_mod_; | ^~~~~~~~ src/editor_module_properties_dialog.cpp:58:1: warning: when initialized here [-Wreorder] 58 | editor_module_properties_dialog::editor_module_properties_dialog(editor& e, const std::string& modname) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/editor_module_properties_dialog.cpp > editor_module_properties_dialog.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/draw_scene.cpp In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/widget.hpp:19, from src/dialog.hpp:17, from src/debug_console.hpp:7, from src/draw_scene.cpp:12: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/dialog.hpp:17, from src/debug_console.hpp:7, from src/draw_scene.cpp:12: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/dialog.hpp:17, from src/debug_console.hpp:7, from src/draw_scene.cpp:12: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ In file included from src/custom_object.hpp:15, from src/gui_formula_functions.hpp:4, from src/level.hpp:24, from src/debug_console.hpp:9, from src/draw_scene.cpp:12: src/draw_scene.hpp: In constructor 'screen_position::screen_position()': src/draw_scene.hpp:29:13: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:17: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:9: warning: when initialized here [-Wreorder] 19 | screen_position() : init(false), x(0), y(0), focus_x(0), focus_y(0), | ^~~~~~~~~~~~~~~ In file included from src/level.hpp:25, from src/debug_console.hpp:9, from src/draw_scene.cpp:12: src/hex_map.hpp: In constructor 'hex::hex_map::hex_map()': src/hex_map.hpp:68:13: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:16: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:9: warning: when initialized here [-Wreorder] 26 | hex_map() : zorder_(-1000), width_(0), height_(0), x_(0), y_(0) | ^~~~~~~ In file included from src/level.hpp:26, from src/debug_console.hpp:9, from src/draw_scene.cpp:12: src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:45:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 45 | return a.y < b.y || a.y == b.y && a.x < b.x; | ~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const std::pair&) const': src/level_object.hpp:49:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 49 | return a.y < b.second || a.y == b.second && a.x < b.first; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const std::pair&, const level_tile&) const': src/level_object.hpp:53:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 53 | return a.second < b.y || a.second == b.y && a.first < b.x; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_zorder_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:59:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp:59:119: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from src/level.hpp:31, from src/debug_console.hpp:9, from src/draw_scene.cpp:12: src/tile_map.hpp: In constructor 'tile_map::pattern_index_entry::pattern_index_entry()': src/tile_map.hpp:75:58: warning: comparison of integer expressions of different signedness: 'int' and 'boost::array::size_type' {aka 'unsigned int'} [-Wsign-compare] 75 | pattern_index_entry() { for(int n = 0; n != str.size(); ++n) { str[n] = 0; } } | ~~^~~~~~~~~~~~~ In file included from src/debug_console.hpp:10, from src/draw_scene.cpp:12: src/text_editor_widget.hpp: In member function 'bool gui::text_editor_widget::Loc::operator<(const gui::text_editor_widget::Loc&) const': src/text_editor_widget.hpp:41:89: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 41 | bool operator<(const Loc& o) const { return row < o.row || row == o.row && col < o.col; } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ src/draw_scene.cpp: In function 'bool update_camera_position(const level&, screen_position&, const entity*, bool)': src/draw_scene.cpp:202:111: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 202 | if(v.size() == 1 || right - left < screen_width/lvl.zoom_level() - BorderSize && bottom - top < screen_height/lvl.zoom_level() - BorderSize) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/draw_scene.cpp: In function 'void render_scene(const level&, screen_position&, const entity*, bool)': src/draw_scene.cpp:334:36: warning: unused variable 'fb' [-Wunused-variable] 334 | const SDL_Surface* fb = SDL_GetVideoSurface(); | ^~ src/draw_scene.cpp:472:36: warning: unused variable 'fb' [-Wunused-variable] 472 | const SDL_Surface* fb = SDL_GetVideoSurface(); | ^~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/draw_scene.cpp > draw_scene.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/custom_object_type.cpp In file included from /usr/include/boost/bind.hpp:30, from src/custom_object_type.cpp:4: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/custom_object_type.hpp:11, from src/custom_object.hpp:13, from src/custom_object_type.cpp:8: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/custom_object.hpp:15, from src/custom_object_type.cpp:8: src/draw_scene.hpp: In constructor 'screen_position::screen_position()': src/draw_scene.hpp:29:13: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:17: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:9: warning: when initialized here [-Wreorder] 19 | screen_position() : init(false), x(0), y(0), focus_x(0), focus_y(0), | ^~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/custom_object.hpp:25, from src/custom_object_type.cpp:8: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/custom_object.hpp:25, from src/custom_object_type.cpp:8: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ In file included from src/level.hpp:25, from src/custom_object_type.cpp:15: src/hex_map.hpp: In constructor 'hex::hex_map::hex_map()': src/hex_map.hpp:68:13: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:16: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:9: warning: when initialized here [-Wreorder] 26 | hex_map() : zorder_(-1000), width_(0), height_(0), x_(0), y_(0) | ^~~~~~~ In file included from src/level.hpp:26, from src/custom_object_type.cpp:15: src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:45:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 45 | return a.y < b.y || a.y == b.y && a.x < b.x; | ~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const std::pair&) const': src/level_object.hpp:49:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 49 | return a.y < b.second || a.y == b.second && a.x < b.first; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const std::pair&, const level_tile&) const': src/level_object.hpp:53:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 53 | return a.second < b.y || a.second == b.y && a.first < b.x; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_zorder_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:59:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp:59:119: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from src/level.hpp:31, from src/custom_object_type.cpp:15: src/tile_map.hpp: In constructor 'tile_map::pattern_index_entry::pattern_index_entry()': src/tile_map.hpp:75:58: warning: comparison of integer expressions of different signedness: 'int' and 'boost::array::size_type' {aka 'unsigned int'} [-Wsign-compare] 75 | pattern_index_entry() { for(int n = 0; n != str.size(); ++n) { str[n] = 0; } } | ~~^~~~~~~~~~~~~ src/custom_object_type.cpp: In static member function 'static void custom_object_type::set_file_contents(const string&, const string&)': src/custom_object_type.cpp:577:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 577 | if(path && *path == file_path || std::count(proto_paths.begin(), proto_paths.end(), file_path)) { | ~~~~~^~~~~~~~~~~~~~~~~~~~~ src/custom_object_type.cpp: In member function 'void custom_object_type::init_event_handlers(variant, custom_object_type::event_handler_map&, game_logic::function_symbol_table*, const event_handler_map*) const': src/custom_object_type.cpp:649:44: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 649 | if(handlers.size() <= event_id) { | ~~~~~~~~~~~~~~~~^~~~~~~~~~~ src/custom_object_type.cpp:653:67: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 653 | if(base_handlers && base_handlers->size() > event_id && (*base_handlers)[event_id] && (*base_handlers)[event_id]->str() == value.second.as_string()) { | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ In file included from src/custom_object.hpp:13, from src/custom_object_type.cpp:8: src/custom_object_type.hpp: In constructor 'custom_object_type::custom_object_type(variant, const custom_object_type*, const custom_object_type*)': src/custom_object_type.hpp:321:26: warning: 'custom_object_type::platform_offsets_' will be initialized after [-Wreorder] 321 | std::vector platform_offsets_; | ^~~~~~~~~~~~~~~~~ src/custom_object_type.hpp:287:13: warning: 'int custom_object_type::slot_properties_base_' [-Wreorder] 287 | int slot_properties_base_; | ^~~~~~~~~~~~~~~~~~~~~ src/custom_object_type.cpp:664:1: warning: when initialized here [-Wreorder] 664 | custom_object_type::custom_object_type(variant node, const custom_object_type* base_type, const custom_object_type* old_type) | ^~~~~~~~~~~~~~~~~~ In file included from src/custom_object.hpp:13, from src/custom_object_type.cpp:8: src/custom_object_type.hpp:287:13: warning: 'custom_object_type::slot_properties_base_' will be initialized after [-Wreorder] 287 | int slot_properties_base_; | ^~~~~~~~~~~~~~~~~~~~~ src/custom_object_type.hpp:277:14: warning: 'bool custom_object_type::use_absolute_screen_coordinates_' [-Wreorder] 277 | bool use_absolute_screen_coordinates_; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/custom_object_type.cpp:664:1: warning: when initialized here [-Wreorder] 664 | custom_object_type::custom_object_type(variant node, const custom_object_type* base_type, const custom_object_type* old_type) | ^~~~~~~~~~~~~~~~~~ src/custom_object_type.cpp:960:42: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 960 | for(int n = 0; n != fn.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~ src/custom_object_type.cpp: In member function 'game_logic::const_formula_ptr custom_object_type::get_event_handler(int) const': src/custom_object_type.cpp:994:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 994 | if(event >= event_handlers_.size()) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/custom_object_type.cpp > custom_object_type.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/custom_object.cpp In file included from /usr/include/boost/bind.hpp:30, from src/custom_object.cpp:3: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/custom_object_type.hpp:11, from src/custom_object.hpp:13, from src/custom_object.cpp:15: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/custom_object.hpp:15, from src/custom_object.cpp:15: src/draw_scene.hpp: In constructor 'screen_position::screen_position()': src/draw_scene.hpp:29:13: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:17: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:9: warning: when initialized here [-Wreorder] 19 | screen_position() : init(false), x(0), y(0), focus_x(0), focus_y(0), | ^~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/custom_object.hpp:25, from src/custom_object.cpp:15: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/custom_object.hpp:25, from src/custom_object.cpp:15: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ In file included from src/level.hpp:25, from src/debug_console.hpp:9, from src/custom_object.cpp:18: src/hex_map.hpp: In constructor 'hex::hex_map::hex_map()': src/hex_map.hpp:68:13: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:16: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:9: warning: when initialized here [-Wreorder] 26 | hex_map() : zorder_(-1000), width_(0), height_(0), x_(0), y_(0) | ^~~~~~~ In file included from src/level.hpp:26, from src/debug_console.hpp:9, from src/custom_object.cpp:18: src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:45:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 45 | return a.y < b.y || a.y == b.y && a.x < b.x; | ~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const std::pair&) const': src/level_object.hpp:49:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 49 | return a.y < b.second || a.y == b.second && a.x < b.first; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const std::pair&, const level_tile&) const': src/level_object.hpp:53:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 53 | return a.second < b.y || a.second == b.y && a.first < b.x; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_zorder_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:59:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp:59:119: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from src/level.hpp:31, from src/debug_console.hpp:9, from src/custom_object.cpp:18: src/tile_map.hpp: In constructor 'tile_map::pattern_index_entry::pattern_index_entry()': src/tile_map.hpp:75:58: warning: comparison of integer expressions of different signedness: 'int' and 'boost::array::size_type' {aka 'unsigned int'} [-Wsign-compare] 75 | pattern_index_entry() { for(int n = 0; n != str.size(); ++n) { str[n] = 0; } } | ~~^~~~~~~~~~~~~ In file included from src/debug_console.hpp:10, from src/custom_object.cpp:18: src/text_editor_widget.hpp: In member function 'bool gui::text_editor_widget::Loc::operator<(const gui::text_editor_widget::Loc&) const': src/text_editor_widget.hpp:41:89: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 41 | bool operator<(const Loc& o) const { return row < o.row || row == o.row && col < o.col; } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from src/custom_object.cpp:15: src/custom_object.hpp: In constructor 'custom_object::custom_object(variant)': src/custom_object.hpp:382:14: warning: 'custom_object::always_active_' will be initialized after [-Wreorder] 382 | bool always_active_; | ^~~~~~~~~~~~~~ src/custom_object.hpp:356:13: warning: 'int custom_object::activation_border_' [-Wreorder] 356 | int activation_border_; | ^~~~~~~~~~~~~~~~~~ src/custom_object.cpp:79:1: warning: when initialized here [-Wreorder] 79 | custom_object::custom_object(variant node) | ^~~~~~~~~~~~~ In file included from src/custom_object.cpp:15: src/custom_object.hpp:427:13: warning: 'custom_object::currently_handling_die_event_' will be initialized after [-Wreorder] 427 | int currently_handling_die_event_; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/custom_object.hpp:321:14: warning: 'bool custom_object::use_absolute_screen_coordinates_' [-Wreorder] 321 | bool use_absolute_screen_coordinates_; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/custom_object.cpp:79:1: warning: when initialized here [-Wreorder] 79 | custom_object::custom_object(variant node) | ^~~~~~~~~~~~~ In file included from src/custom_object.cpp:15: src/custom_object.hpp: In constructor 'custom_object::custom_object(const string&, int, int, bool)': src/custom_object.hpp:382:14: warning: 'custom_object::always_active_' will be initialized after [-Wreorder] 382 | bool always_active_; | ^~~~~~~~~~~~~~ src/custom_object.hpp:356:13: warning: 'int custom_object::activation_border_' [-Wreorder] 356 | int activation_border_; | ^~~~~~~~~~~~~~~~~~ src/custom_object.cpp:326:1: warning: when initialized here [-Wreorder] 326 | custom_object::custom_object(const std::string& type, int x, int y, bool face_right) | ^~~~~~~~~~~~~ In file included from src/custom_object.cpp:15: src/custom_object.hpp:427:13: warning: 'custom_object::currently_handling_die_event_' will be initialized after [-Wreorder] 427 | int currently_handling_die_event_; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/custom_object.hpp:321:14: warning: 'bool custom_object::use_absolute_screen_coordinates_' [-Wreorder] 321 | bool use_absolute_screen_coordinates_; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/custom_object.cpp:326:1: warning: when initialized here [-Wreorder] 326 | custom_object::custom_object(const std::string& type, int x, int y, bool face_right) | ^~~~~~~~~~~~~ In file included from src/custom_object.cpp:15: src/custom_object.hpp: In copy constructor 'custom_object::custom_object(const custom_object&)': src/custom_object.hpp:312:13: warning: 'custom_object::zsub_order_' will be initialized after [-Wreorder] 312 | int zsub_order_; | ^~~~~~~~~~~ src/custom_object.hpp:309:49: warning: 'boost::scoped_ptr > custom_object::parallax_scale_millis_' [-Wreorder] 309 | boost::scoped_ptr > parallax_scale_millis_; | ^~~~~~~~~~~~~~~~~~~~~~ src/custom_object.cpp:390:1: warning: when initialized here [-Wreorder] 390 | custom_object::custom_object(const custom_object& o) : | ^~~~~~~~~~~~~ In file included from src/custom_object.cpp:15: src/custom_object.hpp:382:14: warning: 'custom_object::always_active_' will be initialized after [-Wreorder] 382 | bool always_active_; | ^~~~~~~~~~~~~~ src/custom_object.hpp:356:13: warning: 'int custom_object::activation_border_' [-Wreorder] 356 | int activation_border_; | ^~~~~~~~~~~~~~~~~~ src/custom_object.cpp:390:1: warning: when initialized here [-Wreorder] 390 | custom_object::custom_object(const custom_object& o) : | ^~~~~~~~~~~~~ In file included from src/custom_object.cpp:15: src/custom_object.hpp:427:13: warning: 'custom_object::currently_handling_die_event_' will be initialized after [-Wreorder] 427 | int currently_handling_die_event_; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/custom_object.hpp:321:14: warning: 'bool custom_object::use_absolute_screen_coordinates_' [-Wreorder] 321 | bool use_absolute_screen_coordinates_; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/custom_object.cpp:390:1: warning: when initialized here [-Wreorder] 390 | custom_object::custom_object(const custom_object& o) : | ^~~~~~~~~~~~~ src/custom_object.cpp: In member function 'virtual variant custom_object::write() const': src/custom_object.cpp:706:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 706 | for(int n = 0; n != event_handlers_.size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ src/custom_object.cpp: In member function 'virtual void custom_object::draw(int, int) const': src/custom_object.cpp:968:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 968 | for(int n = 0; n != left.size(); ++n) { | ~~^~~~~~~~~~~~~~ src/custom_object.cpp:976:96: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 976 | if(platform_area_ && (preferences::show_debug_hitboxes() || !platform_offsets_.empty() && level::current().in_editor())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/custom_object.cpp: In member function 'virtual void custom_object::process(level&)': src/custom_object.cpp:1190:59: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 1190 | if(next_fraction && pos+1 != position_schedule_->x_pos.size()) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/custom_object.cpp:1197:59: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 1197 | if(next_fraction && pos+1 != position_schedule_->y_pos.size()) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/custom_object.cpp:1275:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1275 | if(!standing_on_ && !started_standing || accel_y_ < 0) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/custom_object.cpp:1356:21: warning: unused variable 'damage' [-Wunused-variable] 1356 | int damage = 0; | ^~~~~~ src/custom_object.cpp:1358:27: warning: unused variable 'original_centi_y' [-Wunused-variable] 1358 | const int original_centi_y = centi_y(); | ^~~~~~~~~~~~~~~~ src/custom_object.cpp:1531:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1531 | if(left_foot >= area.x() && left_foot < area.x() + area.w() || | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/custom_object.cpp:1649:91: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1649 | if(!is_standing(lvl) || detect_collisions && entity_collides(lvl, *this, MOVE_DOWN)) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/custom_object.cpp:1613:43: warning: unused variable 'begin_y' [-Wunused-variable] 1613 | const int begin_y = feet_y(); | ^~~~~~~ src/custom_object.cpp: In function 'variant {anonymous}::call_stack(const custom_object&)': src/custom_object.cpp:2010:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 2010 | for(int n = 0; n != event_call_stack.size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/custom_object.cpp: In static member function 'static void custom_object::run_garbage_collection()': src/custom_object.cpp:2064:34: warning: comparison of integer expressions of different signedness: 'const int' and 'std::set::size_type' {aka 'unsigned int'} [-Wsign-compare] 2064 | if(starting_safe == safe.size()) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~ src/custom_object.cpp: In member function 'virtual void custom_object::set_value(const string&, const variant&)': src/custom_object.cpp:2690:42: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 2690 | for(int n = 0; n != value.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ src/custom_object.cpp:2749:42: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 2749 | for(int n = 0; n != value.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ src/custom_object.cpp:2767:34: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 2767 | for(int n = 0; n != value.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ src/custom_object.cpp:2778:34: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 2778 | for(int n = 0; n != value.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ src/custom_object.cpp: In member function 'virtual void custom_object::set_value_by_slot(int, const variant&)': src/custom_object.cpp:3227:42: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 3227 | for(int n = 0; n != value.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ src/custom_object.cpp:3316:42: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 3316 | for(int n = 0; n != value.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ src/custom_object.cpp:3335:34: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 3335 | for(int n = 0; n != value.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ src/custom_object.cpp:3349:34: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 3349 | for(int n = 0; n != value.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ src/custom_object.cpp:3374:34: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 3374 | for(int n = 0; n != value.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ src/custom_object.cpp:3386:34: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 3386 | for(int n = 0; n != value.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ src/custom_object.cpp:3430:34: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 3430 | for(int n = 0; n != value.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ src/custom_object.cpp:3442:34: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 3442 | for(int n = 0; n != value.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ src/custom_object.cpp:3454:34: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 3454 | for(int n = 0; n != value.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ src/custom_object.cpp:3501:34: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 3501 | for(int n = 0; n != value.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ src/custom_object.cpp:3523:34: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 3523 | for(int n = 0; n != value.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ src/custom_object.cpp:3527:58: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 3527 | for(int index = 0; index != value[n].num_elements(); index += 2) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/custom_object.cpp: In member function 'bool custom_object::handle_event_internal(int, const game_logic::formula_callable*, bool)': src/custom_object.cpp:3871:81: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 3871 | if(event != OBJECT_EVENT_ANY && (size_t(event) < event_handlers_.size() && event_handlers_[OBJECT_EVENT_ANY] || type_->get_event_handler(OBJECT_EVENT_ANY))) { src/custom_object.cpp: In function 'bool {anonymous}::map_variant_entities(variant&, const std::map, boost::intrusive_ptr >&)': src/custom_object.cpp:4106:34: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 4106 | for(int n = 0; n != v.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~ src/custom_object.cpp: In member function 'void custom_object::extract_gc_object_references(variant&, std::vector&)': src/custom_object.cpp:4225:34: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 4225 | for(int n = 0; n != var.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/custom_object.cpp > custom_object.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/formula_function_registry.cpp In file included from src/formula_function.hpp:26, from src/formula_function_registry.hpp:4, from src/formula_function_registry.cpp:2: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/formula_function_registry.cpp > formula_function_registry.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/formula_constants.cpp In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/widget.hpp:19, from src/button.hpp:19, from src/key_button.hpp:6, from src/formula_constants.cpp:9: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/button.hpp:19, from src/key_button.hpp:6, from src/formula_constants.cpp:9: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/button.hpp:19, from src/key_button.hpp:6, from src/formula_constants.cpp:9: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/formula_constants.cpp > formula_constants.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/globals.cpp g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/globals.cpp > globals.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/formula.cpp In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/formula.cpp:27: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/formula_callable_utils.hpp:9, from src/formula_function.hpp:26, from src/formula.hpp:22, from src/formula.cpp:27: src/formula_callable.hpp: In constructor 'game_logic::map_formula_callable::map_formula_callable(const std::map, variant>&)': src/formula_callable.hpp:205:33: warning: 'game_logic::map_formula_callable::fallback_' will be initialized after [-Wreorder] 205 | const formula_callable* fallback_; | ^~~~~~~~~ src/formula_callable.hpp:204:39: warning: 'std::map, variant> game_logic::map_formula_callable::values_' [-Wreorder] 204 | std::map values_; | ^~~~~~~ src/formula.cpp:112:9: warning: when initialized here [-Wreorder] 112 | map_formula_callable::map_formula_callable( | ^~~~~~~~~~~~~~~~~~~~ In file included from src/foreach.hpp:5, from src/formula.cpp:25: src/formula.cpp: In member function 'virtual variant game_logic::{anonymous}::list_comprehension_expression::execute(const game_logic::formula_callable&) const': src/formula.cpp:247:44: warning: unused variable 'arg' [-Wunused-variable] 247 | foreach(const std::string& arg, generator_names_) { | ^~~ src/formula.cpp:247:17: note: in expansion of macro 'foreach' 247 | foreach(const std::string& arg, generator_names_) { | ^~~~~~~ src/formula.cpp:254:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 254 | for(int n = 0; n != indexes.size(); ++n) { | ~~^~~~~~~~~~~~~~~~~ src/formula.cpp: In static member function 'static bool game_logic::{anonymous}::list_comprehension_expression::increment_vec(std::vector&, const std::vector&)': src/formula.cpp:280:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 280 | while(index != v.size()) { | ~~~~~~^~~~~~~~~~~ src/formula.cpp: In member function 'virtual variant game_logic::{anonymous}::slice_square_bracket_expression::execute(const game_logic::formula_callable&) const': src/formula.cpp:634:32: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 634 | if(begin_index > left.num_elements()) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ src/formula.cpp:638:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 638 | if(end_index > left.num_elements()) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ src/formula.cpp: In member function 'virtual variant game_logic::{anonymous}::operator_expression::execute(const game_logic::formula_callable&) const': src/formula.cpp:793:58: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 793 | for(int n = 0; n != right.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ src/formula.cpp: In member function 'virtual variant game_logic::{anonymous}::where_variables::get_value_by_slot(int) const': src/formula.cpp:885:33: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 885 | if(slot < results_cache_.size() && results_cache_[slot].is_null() == false) { | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ src/formula.cpp:889:58: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 889 | if(results_cache_.size() <= slot) { | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ src/formula.cpp: In function 'void game_logic::{anonymous}::parse_where_clauses(const variant&, const formula_tokenizer::token*, const formula_tokenizer::token*, game_logic::{anonymous}::expr_table_ptr, game_logic::function_symbol_table*, const game_logic::formula_callable_definition*)': src/formula.cpp:1222:22: warning: unused variable 'original_i1_cached' [-Wunused-variable] 1222 | const token *original_i1_cached = i1; | ^~~~~~~~~~~~~~~~~~ src/formula.cpp: In function 'game_logic::expression_ptr game_logic::{anonymous}::parse_function_def(const variant&, const formula_tokenizer::token*&, const formula_tokenizer::token*, game_logic::function_symbol_table*, const game_logic::formula_callable_definition*)': src/formula.cpp:1427:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 1427 | for(int n = 0; n != types.size(); ++n) { | ~~^~~~~~~~~~~~~~~ src/formula.cpp: In function 'game_logic::expression_ptr game_logic::{anonymous}::parse_expression_internal(const variant&, const formula_tokenizer::token*, const formula_tokenizer::token*, game_logic::function_symbol_table*, const game_logic::formula_callable_definition*, bool*)': src/formula.cpp:1788:20: warning: unused variable 'is_dot' [-Wunused-variable] 1788 | const bool is_dot = op_name == "."; | ^~~~~~ src/formula.cpp: In static member function 'static game_logic::formula_ptr game_logic::formula::create_optional_formula(const variant&, game_logic::function_symbol_table*, const game_logic::formula_callable_definition*)': src/formula.cpp:1804:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1804 | if(val.is_null() || val.is_string() && val.as_string().empty()) { | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/formula.cpp: In member function 'void game_logic::formula::check_brackets_match(const std::vector&) const': src/formula.cpp:1933:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 1933 | for(int n = 0; n != tokens.size(); ++n) { | ~~^~~~~~~~~~~~~~~~ In file included from src/formula.cpp:24: src/formula.cpp:1998:47: warning: comparison of integer expressions of different signedness: 'const int' and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] 1998 | ASSERT_LOG(erase_size <= error_line.size(), "ERROR WHILE PARSING ERROR MESSAGE"); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/asserts.hpp:65:33: note: in definition of macro 'ASSERT_LOG' 65 | #define ASSERT_LOG(_a,_b) if( !(_a) ) { std::ostringstream _s; _s << __FILE__ << ":" << __LINE__ << " ASSERTION FAILED: " << _b << "\n"; if(throw_validation_failure_on_assert()) { throw validation_failure_exception(_s.str()); } else { std::cerr << _s.str(); output_backtrace(); report_assert_msg(_s.str()); abort(); } } | ^~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/formula.cpp > formula.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/formula_tokenizer.cpp src/formula_tokenizer.cpp: In function 'formula_tokenizer::token formula_tokenizer::get_token(formula_tokenizer::iterator&, formula_tokenizer::iterator)': src/formula_tokenizer.cpp:99:37: warning: array subscript has type 'char' [-Wchar-subscripts] 99 | t.type = single_char_tokens[*i1]; | ^~~ src/formula_tokenizer.cpp:251:39: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} and '__gnu_cxx::__normal_iterator >::difference_type' {aka 'int'} [-Wsign-compare] 251 | if(str.size() == (t.end - t.begin) && std::equal(str.begin(), str.end(), t.begin)) { | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/formula_tokenizer.cpp:259:39: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} and '__gnu_cxx::__normal_iterator >::difference_type' {aka 'int'} [-Wsign-compare] 259 | if(str.size() == (t.end - t.begin) && std::equal(str.begin(), str.end(), t.begin)) { | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/formula_tokenizer.cpp > formula_tokenizer.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/formula_profiler.cpp In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/custom_object_type.hpp:11, from src/formula_profiler.cpp:20: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ src/formula_profiler.cpp: In destructor 'formula_profiler::instrument::~instrument()': src/formula_profiler.cpp:55:27: warning: unused variable 'time_us' [-Wunused-variable] 55 | const int time_us = (end_tv.tv_sec - tv_.tv_sec)*1000000 + (end_tv.tv_usec - tv_.tv_usec); | ^~~~~~~ src/formula_profiler.cpp: In function 'void formula_profiler::{anonymous}::sigprof_handler(int)': src/formula_profiler.cpp:124:44: warning: comparison of integer expressions of different signedness: 'int' and 'Uint32' {aka 'unsigned int'} [-Wsign-compare] 124 | if(handler_disabled || main_thread != SDL_GetThreadID(NULL)) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/formula_profiler.cpp: In function 'void formula_profiler::end_profiling()': src/formula_profiler.cpp:228:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector > >::size_type' {aka 'unsigned int'} [-Wsign-compare] 228 | for(int n = 0; n != sorted_samples.size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~ src/formula_profiler.cpp:270:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector > >::size_type' {aka 'unsigned int'} [-Wsign-compare] 270 | for(int n = 0; n != sorted_samples.size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~ src/formula_profiler.cpp:275:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector > >::size_type' {aka 'unsigned int'} [-Wsign-compare] 275 | for(int n = 0; n != cum_sorted_samples.size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/formula_profiler.cpp: In member function 'bool formula_profiler::custom_object_event_frame::operator<(const formula_profiler::custom_object_event_frame&) const': src/formula_profiler.cpp:308:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 308 | return type < f.type || type == f.type && event_id < f.event_id || | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/formula_profiler.cpp:309:57: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 309 | type == f.type && event_id == f.event_id && executing_commands < f.executing_commands; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/formula_profiler.cpp: In function 'std::string formula_profiler::get_profile_summary()': src/formula_profiler.cpp:346:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector > >::size_type' {aka 'unsigned int'} [-Wsign-compare] 346 | for(int n = 0; n != samples.size(); ++n) { | ~~^~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/formula_profiler.cpp > formula_profiler.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/game_registry.cpp g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/game_registry.cpp > game_registry.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/formula_variable_storage.cpp g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/formula_variable_storage.cpp > formula_variable_storage.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/framed_gui_element.cpp g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/framed_gui_element.cpp > framed_gui_element.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/filesystem.cpp src/filesystem.cpp: In function 'void sys::{anonymous}::file_mod_worker_thread_fn()': src/filesystem.cpp:875:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 875 | for(int n = 0; n != new_files.size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/filesystem.cpp > filesystem.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/file_chooser_dialog.cpp src/file_chooser_dialog.cpp:41:9: warning: multi-line comment [-Wcomment] 41 | // on windows a path is absolute if it starts with \\, x:\, \ | ^ In file included from /usr/include/boost/bind.hpp:30, from src/file_chooser_dialog.cpp:2: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/widget.hpp:19, from src/button.hpp:19, from src/file_chooser_dialog.cpp:15: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/button.hpp:19, from src/file_chooser_dialog.cpp:15: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/button.hpp:19, from src/file_chooser_dialog.cpp:15: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ In file included from src/file_chooser_dialog.cpp:18: src/draw_scene.hpp: In constructor 'screen_position::screen_position()': src/draw_scene.hpp:29:13: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:17: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:9: warning: when initialized here [-Wreorder] 19 | screen_position() : init(false), x(0), y(0), focus_x(0), focus_y(0), | ^~~~~~~~~~~~~~~ In file included from src/dropdown_widget.hpp:13, from src/file_chooser_dialog.cpp:19: src/text_editor_widget.hpp: In member function 'bool gui::text_editor_widget::Loc::operator<(const gui::text_editor_widget::Loc&) const': src/text_editor_widget.hpp:41:89: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 41 | bool operator<(const Loc& o) const { return row < o.row || row == o.row && col < o.col; } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from src/file_chooser_dialog.cpp:20: src/file_chooser_dialog.hpp: In constructor 'gui::file_chooser_dialog::file_chooser_dialog(int, int, int, int, const filter_list&, bool, const string&)': src/file_chooser_dialog.hpp:51:14: warning: 'gui::file_chooser_dialog::file_open_dialog_' will be initialized after [-Wreorder] 51 | bool file_open_dialog_; | ^~~~~~~~~~~~~~~~~ src/file_chooser_dialog.hpp:50:13: warning: 'int gui::file_chooser_dialog::filter_selection_' [-Wreorder] 50 | int filter_selection_; | ^~~~~~~~~~~~~~~~~ src/file_chooser_dialog.cpp:84:1: warning: when initialized here [-Wreorder] 84 | file_chooser_dialog::file_chooser_dialog(int x, int y, int w, int h, const filter_list& filters, bool dir_only, const std::string& default_path) | ^~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/file_chooser_dialog.cpp > file_chooser_dialog.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/custom_object_functions.cpp In file included from /usr/include/boost/bind.hpp:30, from src/custom_object_functions.cpp:1: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/custom_object_functions.hpp:6, from src/custom_object_functions.cpp:15: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/custom_object.hpp:15, from src/custom_object_functions.cpp:16: src/draw_scene.hpp: In constructor 'screen_position::screen_position()': src/draw_scene.hpp:29:13: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:17: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:9: warning: when initialized here [-Wreorder] 19 | screen_position() : init(false), x(0), y(0), focus_x(0), focus_y(0), | ^~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/custom_object.hpp:25, from src/custom_object_functions.cpp:16: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/custom_object.hpp:25, from src/custom_object_functions.cpp:16: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ In file included from src/level.hpp:25, from src/debug_console.hpp:9, from src/custom_object_functions.cpp:17: src/hex_map.hpp: In constructor 'hex::hex_map::hex_map()': src/hex_map.hpp:68:13: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:16: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:9: warning: when initialized here [-Wreorder] 26 | hex_map() : zorder_(-1000), width_(0), height_(0), x_(0), y_(0) | ^~~~~~~ In file included from src/level.hpp:26, from src/debug_console.hpp:9, from src/custom_object_functions.cpp:17: src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:45:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 45 | return a.y < b.y || a.y == b.y && a.x < b.x; | ~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const std::pair&) const': src/level_object.hpp:49:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 49 | return a.y < b.second || a.y == b.second && a.x < b.first; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const std::pair&, const level_tile&) const': src/level_object.hpp:53:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 53 | return a.second < b.y || a.second == b.y && a.first < b.x; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_zorder_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:59:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp:59:119: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from src/level.hpp:31, from src/debug_console.hpp:9, from src/custom_object_functions.cpp:17: src/tile_map.hpp: In constructor 'tile_map::pattern_index_entry::pattern_index_entry()': src/tile_map.hpp:75:58: warning: comparison of integer expressions of different signedness: 'int' and 'boost::array::size_type' {aka 'unsigned int'} [-Wsign-compare] 75 | pattern_index_entry() { for(int n = 0; n != str.size(); ++n) { str[n] = 0; } } | ~~^~~~~~~~~~~~~ In file included from src/debug_console.hpp:10, from src/custom_object_functions.cpp:17: src/text_editor_widget.hpp: In member function 'bool gui::text_editor_widget::Loc::operator<(const gui::text_editor_widget::Loc&) const': src/text_editor_widget.hpp:41:89: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 41 | bool operator<(const Loc& o) const { return row < o.row || row == o.row && col < o.col; } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from src/custom_object_functions.cpp:9: src/custom_object_functions.cpp: In member function 'virtual variant {anonymous}::screen_flash_function::execute(const game_logic::formula_callable&) const': src/custom_object_functions.cpp:580:56: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 580 | (delta.is_null() || delta.is_list() && delta.num_elements() == 4) && | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/asserts.hpp:65:33: note: in definition of macro 'ASSERT_LOG' 65 | #define ASSERT_LOG(_a,_b) if( !(_a) ) { std::ostringstream _s; _s << __FILE__ << ":" << __LINE__ << " ASSERTION FAILED: " << _b << "\n"; if(throw_validation_failure_on_assert()) { throw validation_failure_exception(_s.str()); } else { std::cerr << _s.str(); output_backtrace(); report_assert_msg(_s.str()); abort(); } } | ^~ src/custom_object_functions.cpp: In member function 'virtual variant {anonymous}::object_function::execute(const game_logic::formula_callable&) const': src/custom_object_functions.cpp:778:34: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 778 | for(int n = 0; n != keys.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~ src/custom_object_functions.cpp: In member function 'virtual variant {anonymous}::object_playable_function::execute(const game_logic::formula_callable&) const': src/custom_object_functions.cpp:810:34: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 810 | for(int n = 0; n != keys.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~ src/custom_object_functions.cpp: In member function 'virtual variant {anonymous}::transient_speech_dialog_function::execute(const game_logic::formula_callable&) const': src/custom_object_functions.cpp:1112:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 1112 | for(int n = 0; n != args().size(); ++n) { | ~~^~~~~~~~~~~~~~~~ src/custom_object_functions.cpp:1121:42: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1121 | for(int m = 0; m != v.num_elements(); ++m) { | ~~^~~~~~~~~~~~~~~~~~~ src/custom_object_functions.cpp: In member function 'void {anonymous}::speech_dialog_command::execute_commands(level&, custom_object&, const std::vector&) const': src/custom_object_functions.cpp:1260:58: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1260 | for(int n = 0; n != var.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~ src/custom_object_functions.cpp:1274:50: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1274 | for(int n = 0; n != var.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~ src/custom_object_functions.cpp:1370:64: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 1370 | if(index >= 0 && index < option_commands.size()) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/custom_object_functions.cpp: In member function 'virtual variant {anonymous}::speech_dialog_function::execute(const game_logic::formula_callable&) const': src/custom_object_functions.cpp:1403:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 1403 | for(int n = 0; n != args().size(); ++n) { | ~~^~~~~~~~~~~~~~~~ src/custom_object_functions.cpp: In member function 'virtual variant {anonymous}::paused_speech_dialog_function::execute(const game_logic::formula_callable&) const': src/custom_object_functions.cpp:1412:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 1412 | for(int n = 0; n != args().size(); ++n) { | ~~^~~~~~~~~~~~~~~~ src/custom_object_functions.cpp: In constructor '{anonymous}::teleport_command::teleport_command(const string&, const string&, const string&, const entity_ptr&, bool)': src/custom_object_functions.cpp:1672:20: warning: '{anonymous}::teleport_command::new_playable_' will be initialized after [-Wreorder] 1672 | entity_ptr new_playable_; | ^~~~~~~~~~~~~ src/custom_object_functions.cpp:1670:14: warning: 'bool {anonymous}::teleport_command::no_move_to_standing_' [-Wreorder] 1670 | bool no_move_to_standing_; | ^~~~~~~~~~~~~~~~~~~~ src/custom_object_functions.cpp:1654:9: warning: when initialized here [-Wreorder] 1654 | teleport_command(const std::string& level, const std::string& label, const std::string& transition, const entity_ptr& new_playable, const bool no_move_to_standing) | ^~~~~~~~~~~~~~~~ src/custom_object_functions.cpp: In member function 'virtual variant {anonymous}::add_water_function::execute(const game_logic::formula_callable&) const': src/custom_object_functions.cpp:1761:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1761 | for(int n = 0; n < 4 && n < v.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~ src/custom_object_functions.cpp: In member function 'virtual variant {anonymous}::textv_function::execute(const game_logic::formula_callable&) const': src/custom_object_functions.cpp:1997:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 1997 | for(int i = arg_start; i < args().size(); i++) { | ~~^~~~~~~~~~~~~~~ src/custom_object_functions.cpp: In member function 'virtual variant {anonymous}::set_widgets_function::execute(const game_logic::formula_callable&) const': src/custom_object_functions.cpp:2065:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 2065 | for(int i = arg_start; i < args().size(); i++) { | ~~^~~~~~~~~~~~~~~ src/custom_object_functions.cpp:2068:42: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 2068 | for(int n = 0; n != items.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ src/custom_object_functions.cpp: In member function 'virtual variant {anonymous}::rotate_rect_function::execute(const game_logic::formula_callable&) const': src/custom_object_functions.cpp:2162:26: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 2162 | for(int n = 0; n != v.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~ src/custom_object_functions.cpp:2174:26: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 2174 | for(int n = 0; n != v.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/custom_object_functions.cpp > custom_object_functions.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/graphical_font_label.cpp In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/widget.hpp:19, from src/graphical_font_label.hpp:5, from src/graphical_font_label.cpp:2: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/graphical_font_label.hpp:5, from src/graphical_font_label.cpp:2: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/graphical_font_label.hpp:5, from src/graphical_font_label.cpp:2: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/graphical_font_label.cpp > graphical_font_label.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/graphical_font.cpp g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/graphical_font.cpp > graphical_font.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/geometry.cpp src/geometry.cpp: In function 'bool operator<(const point&, const point&)': src/geometry.cpp:60:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 60 | return a.x < b.x || a.x == b.x && a.y < b.y; | ~~~~~~~~~~~^~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/geometry.cpp > geometry.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/frame.cpp In file included from src/frame.cpp:8: src/frame.hpp: In constructor 'frame::frame(variant)': src/frame.hpp:139:14: warning: 'frame::platform_rect_' will be initialized after [-Wreorder] 139 | rect platform_rect_; | ^~~~~~~~~~~~~~ src/frame.hpp:135:14: warning: 'rect frame::img_rect_' [-Wreorder] 135 | rect img_rect_; | ^~~~~~~~~ src/frame.cpp:29:1: warning: when initialized here [-Wreorder] 29 | frame::frame(variant node) | ^~~~~ In file included from src/frame.cpp:8: src/frame.hpp:168:14: warning: 'frame::no_remove_alpha_borders_' will be initialized after [-Wreorder] 168 | bool no_remove_alpha_borders_; | ^~~~~~~~~~~~~~~~~~~~~~~~ src/frame.hpp:162:14: warning: 'bool frame::collision_areas_inside_frame_' [-Wreorder] 162 | bool collision_areas_inside_frame_; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/frame.cpp:29:1: warning: when initialized here [-Wreorder] 29 | frame::frame(variant node) | ^~~~~ In file included from src/frame.cpp:6: src/asserts.hpp:49:31: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 49 | #define ASSERT_EQ(a,b) if((a) != (b)) { std::ostringstream s; s << __FILE__ << ":" << __LINE__ << " ASSERT EQ FAILED: " << #a << " != " << #b << ": " << (a) << " != " << (b) << "\n"; if(throw_validation_failure_on_assert()) { throw validation_failure_exception(s.str()); } else { std::cerr << s.str(); output_backtrace(); report_assert_msg(s.str()); abort(); } } | ~~~~^~~~~~ src/frame.cpp:183:17: note: in expansion of macro 'ASSERT_EQ' 183 | ASSERT_EQ(frames_.size(), nframes_); | ^~~~~~~~~ src/frame.cpp: In member function 'void frame::set_palettes(unsigned int)': src/frame.cpp:244:61: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 244 | if(current_palette_ >= 0 && (1 << current_palette_) == palettes) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from src/frame.cpp:6: src/frame.cpp: In member function 'void frame::build_alpha_from_frame_info()': src/asserts.hpp:59:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 59 | #define ASSERT_LT(a,b) if((a) >= (b)) { std::ostringstream s; s << __FILE__ << ":" << __LINE__ << " ASSERT LT FAILED: " << #a << " >= " << #b << ": " << (a) << " >= " << (b) << "\n"; if(throw_validation_failure_on_assert()) { throw validation_failure_exception(s.str()); } else { std::cerr << s.str(); output_backtrace(); report_assert_msg(s.str()); abort(); } } | ~~~~^~~~~~ src/frame.cpp:306:25: note: in expansion of macro 'ASSERT_LT' 306 | ASSERT_LT(area.x(), texture_.width()); | ^~~~~~~~~ src/asserts.hpp:55:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 55 | #define ASSERT_LE(a,b) if((a) > (b)) { std::ostringstream s; s << __FILE__ << ":" << __LINE__ << " ASSERT LE FAILED: " << #a << " > " << #b << ": " << (a) << " > " << (b) << "\n"; if(throw_validation_failure_on_assert()) { throw validation_failure_exception(s.str()); } else { std::cerr << s.str(); output_backtrace(); report_assert_msg(s.str()); abort(); } } | ~~~~^~~~~ src/frame.cpp:307:25: note: in expansion of macro 'ASSERT_LE' 307 | ASSERT_LE(area.x() + area.w(), texture_.width()); | ^~~~~~~~~ src/asserts.hpp:59:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 59 | #define ASSERT_LT(a,b) if((a) >= (b)) { std::ostringstream s; s << __FILE__ << ":" << __LINE__ << " ASSERT LT FAILED: " << #a << " >= " << #b << ": " << (a) << " >= " << (b) << "\n"; if(throw_validation_failure_on_assert()) { throw validation_failure_exception(s.str()); } else { std::cerr << s.str(); output_backtrace(); report_assert_msg(s.str()); abort(); } } | ~~~~^~~~~~ src/frame.cpp:308:25: note: in expansion of macro 'ASSERT_LT' 308 | ASSERT_LT(area.y() + y, texture_.height()); | ^~~~~~~~~ src/frame.cpp: In member function 'void frame::build_alpha()': src/frame.cpp:333:68: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 333 | if(xbase < 0 || ybase < 0 || xbase + img_rect_.w() > texture_.width() || | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ src/frame.cpp:334:42: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 334 | ybase + img_rect_.h() > texture_.height()) { | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ src/frame.cpp: In member function 'void frame::get_rect_in_frame_number(int, GLfloat*, const frame::frame_info*&) const': src/frame.cpp:699:19: warning: unused variable 'current_col' [-Wunused-variable] 699 | const int current_col = (nframes_per_row_ > 0) ? (nframe % nframes_per_row_) : nframe ; | ^~~~~~~~~~~ src/frame.cpp:700:19: warning: unused variable 'current_row' [-Wunused-variable] 700 | const int current_row = (nframes_per_row_ > 0) ? (nframe/nframes_per_row_) : 0 ; | ^~~~~~~~~~~ src/frame.cpp: In member function 'point frame::pivot(const string&, int) const': src/frame.cpp:793:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 793 | if(time_in_frame >= s.points.size()) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/frame.cpp > frame.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/editor.cpp In file included from /usr/include/boost/bind.hpp:30, from src/editor.cpp:7: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/widget.hpp:19, from src/border_widget.hpp:6, from src/editor.cpp:12: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/border_widget.hpp:6, from src/editor.cpp:12: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/border_widget.hpp:6, from src/editor.cpp:12: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ In file included from src/character_editor_dialog.hpp:9, from src/editor.cpp:14: src/text_editor_widget.hpp: In member function 'bool gui::text_editor_widget::Loc::operator<(const gui::text_editor_widget::Loc&) const': src/text_editor_widget.hpp:41:89: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 41 | bool operator<(const Loc& o) const { return row < o.row || row == o.row && col < o.col; } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from src/custom_object.hpp:15, from src/custom_object_dialog.hpp:6, from src/editor.cpp:18: src/draw_scene.hpp: In constructor 'screen_position::screen_position()': src/draw_scene.hpp:29:13: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:17: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:9: warning: when initialized here [-Wreorder] 19 | screen_position() : init(false), x(0), y(0), focus_x(0), focus_y(0), | ^~~~~~~~~~~~~~~ In file included from src/level.hpp:25, from src/editor.hpp:13, from src/custom_object_dialog.hpp:9, from src/editor.cpp:18: src/hex_map.hpp: In constructor 'hex::hex_map::hex_map()': src/hex_map.hpp:68:13: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:16: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:9: warning: when initialized here [-Wreorder] 26 | hex_map() : zorder_(-1000), width_(0), height_(0), x_(0), y_(0) | ^~~~~~~ In file included from src/level.hpp:26, from src/editor.hpp:13, from src/custom_object_dialog.hpp:9, from src/editor.cpp:18: src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:45:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 45 | return a.y < b.y || a.y == b.y && a.x < b.x; | ~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const std::pair&) const': src/level_object.hpp:49:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 49 | return a.y < b.second || a.y == b.second && a.x < b.first; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const std::pair&, const level_tile&) const': src/level_object.hpp:53:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 53 | return a.second < b.y || a.second == b.y && a.first < b.x; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_zorder_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:59:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp:59:119: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from src/level.hpp:31, from src/editor.hpp:13, from src/custom_object_dialog.hpp:9, from src/editor.cpp:18: src/tile_map.hpp: In constructor 'tile_map::pattern_index_entry::pattern_index_entry()': src/tile_map.hpp:75:58: warning: comparison of integer expressions of different signedness: 'int' and 'boost::array::size_type' {aka 'unsigned int'} [-Wsign-compare] 75 | pattern_index_entry() { for(int n = 0; n != str.size(); ++n) { str[n] = 0; } } | ~~^~~~~~~~~~~~~ src/editor.cpp: In member function 'void editor_menu_dialog::execute_menu_item(const std::vector&, int)': src/editor.cpp:101:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 101 | if(n >= 0 && n < items.size()) { | ~~^~~~~~~~~~~~~~ src/editor.cpp: In member function 'void editor_mode_dialog::refresh_selection()': src/editor.cpp:451:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 451 | for(int n = 0; n != tool_borders_.size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/custom_object_dialog.hpp:9, from src/editor.cpp:18: src/editor.hpp: In constructor 'editor::editor(const char*)': src/editor.hpp:294:13: warning: 'editor::cur_object_' will be initialized after [-Wreorder] 294 | int cur_object_; | ^~~~~~~~~~~ src/editor.hpp:292:13: warning: 'int editor::cur_hex_tileset_' [-Wreorder] 292 | int cur_hex_tileset_; | ^~~~~~~~~~~~~~~~ src/editor.cpp:751:1: warning: when initialized here [-Wreorder] 751 | editor::editor(const char* level_cfg) | ^~~~~~ In file included from src/custom_object_dialog.hpp:9, from src/editor.cpp:18: src/editor.hpp:343:27: warning: 'editor::prev_mousey_' will be initialized after [-Wreorder] 343 | int prev_mousex_, prev_mousey_; | ^~~~~~~~~~~~ src/editor.hpp:275:13: warning: 'int editor::xres_' [-Wreorder] 275 | int xres_, yres_; | ^~~~~ src/editor.cpp:751:1: warning: when initialized here [-Wreorder] 751 | editor::editor(const char* level_cfg) | ^~~~~~ src/editor.cpp: In member function 'void editor::process_ghost_objects()': src/editor.cpp:876:22: warning: unused variable 'num_chars_before' [-Wunused-variable] 876 | const size_t num_chars_before = lvl_->get_chars().size(); | ^~~~~~~~~~~~~~~~ src/editor.cpp: In member function 'void editor::edit_level()': src/editor.cpp:1010:13: warning: unused variable 'selected_tile' [-Wunused-variable] 1010 | int selected_tile = 0; | ^~~~~~~~~~~~~ src/editor.cpp: In member function 'bool editor::handle_event(const SDL_Event&, bool)': src/editor.cpp:1033:61: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1033 | const bool dialog_started_with_focus = code_dialog_ && code_dialog_->has_focus() || current_dialog_ && current_dialog_->has_focus(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/editor.cpp:11: src/editor.cpp: In member function 'void editor::process()': src/editor.cpp:1202:102: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 1202 | ASSERT_LOG(g_variable_editing_index >= 0 && g_variable_editing_index < items.size(), "Variable editing points invalid: " << g_variable_editing_index << " / " << items.size()); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ src/asserts.hpp:65:33: note: in definition of macro 'ASSERT_LOG' 65 | #define ASSERT_LOG(_a,_b) if( !(_a) ) { std::ostringstream _s; _s << __FILE__ << ":" << __LINE__ << " ASSERTION FAILED: " << _b << "\n"; if(throw_validation_failure_on_assert()) { throw validation_failure_exception(_s.str()); } else { std::cerr << _s.str(); output_backtrace(); report_assert_msg(_s.str()); abort(); } } | ^~ src/editor.cpp:1158:22: warning: unused variable 'keystate' [-Wunused-variable] 1158 | const Uint8* keystate = SDL_GetKeyState(NULL); | ^~~~~~~~ src/editor.cpp:1177:19: warning: unused variable 'selectx' [-Wunused-variable] 1177 | const int selectx = round_tile_size(xpos_ + mousex*zoom_); | ^~~~~~~ src/editor.cpp:1178:19: warning: unused variable 'selecty' [-Wunused-variable] 1178 | const int selecty = round_tile_size(ypos_ + mousey*zoom_); | ^~~~~~~ src/editor.cpp: In member function 'void editor::handle_mouse_button_down(const SDL_MouseButtonEvent&)': src/editor.cpp:1875:66: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1875 | for(int n = 0; n != next.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~ src/editor.cpp:1900:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 1900 | for(int n = 0; n != all_characters().size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/editor.cpp:1923:50: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 1923 | for(int n = 0; n != all_tilesets().size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/editor.cpp:11: src/editor.cpp:1975:94: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 1975 | ASSERT_LOG(g_variable_editing_index >= 0 && g_variable_editing_index < points.size(), "INVALID VALUE WHEN EDITING POINTS: " << g_variable_editing_index << " / " << points.size()); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ src/asserts.hpp:65:33: note: in definition of macro 'ASSERT_LOG' 65 | #define ASSERT_LOG(_a,_b) if( !(_a) ) { std::ostringstream _s; _s << __FILE__ << ":" << __LINE__ << " ASSERTION FAILED: " << _b << "\n"; if(throw_validation_failure_on_assert()) { throw validation_failure_exception(_s.str()); } else { std::cerr << _s.str(); output_backtrace(); report_assert_msg(_s.str()); abort(); } } | ^~ src/editor.cpp: In member function 'void editor::handle_mouse_button_up(const SDL_MouseButtonEvent&)': src/editor.cpp:2122:20: warning: unused variable 'ctrl_pressed' [-Wunused-variable] 2122 | const bool ctrl_pressed = (SDL_GetModState()&(KMOD_LCTRL|KMOD_RCTRL)) != 0; | ^~~~~~~~~~~~ src/editor.cpp:2123:20: warning: unused variable 'shift_pressed' [-Wunused-variable] 2123 | const bool shift_pressed = (SDL_GetModState()&(KMOD_LSHIFT|KMOD_RSHIFT)) != 0; | ^~~~~~~~~~~~~ src/editor.cpp:2125:28: warning: unused variable 'buttons' [-Wunused-variable] 2125 | const unsigned int buttons = get_mouse_state(mousex, mousey); | ^~~~~~~ src/editor.cpp: In member function 'void editor::set_tileset(int)': src/editor.cpp:2692:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 2692 | } else if(cur_tileset_ >= tilesets.size()) { | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ src/editor.cpp: In member function 'void editor::set_hex_tileset(int)': src/editor.cpp:2708:36: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 2708 | } else if(cur_hex_tileset_ >= hex::hex_object::get_hex_tiles().size()) { | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/editor.cpp: In member function 'void editor::draw_gui() const': src/editor.cpp:3340:42: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 3340 | for(int n = 0; n != next.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~ src/editor.cpp: In member function 'void editor::end_command_group()': src/editor.cpp:3487:18: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 3487 | if(index >= undo_.size()) { | ~~~~~~^~~~~~~~~~~~~~~ src/editor.cpp:3493:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 3493 | for(int n = index; n != undo_.size(); ++n) { | ~~^~~~~~~~~~~~~~~ src/editor.cpp: In member function 'void editor::create_new_object()': src/editor.cpp:3610:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 3610 | for(int n = 0; n != all_characters().size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/editor.cpp: In member function 'void editor::set_code_file()': src/editor.cpp:3769:54: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 3769 | if(cur_tileset_ >= 0 && cur_tileset_ < tilesets.size()) { | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ src/editor.cpp: At global scope: src/editor.cpp:3584:6: warning: 'void {anonymous}::do_draw_scene()' defined but not used [-Wunused-function] 3584 | void do_draw_scene() { | ^~~~~~~~~~~~~ src/editor.cpp:630:5: warning: '{anonymous}::selected_property' defined but not used [-Wunused-variable] 630 | int selected_property = 0; | ^~~~~~~~~~~~~~~~~ src/editor.cpp:359:13: warning: '{anonymous}::ModeStrings' defined but not used [-Wunused-variable] 359 | const char* ModeStrings[] = {"Tiles", "Objects", "Properties",}; | ^~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/editor.cpp > editor.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/grid_widget.cpp In file included from /usr/include/boost/bind.hpp:30, from src/grid_widget.cpp:14: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/widget.hpp:19, from src/scrollbar_widget.hpp:7, from src/scrollable_widget.hpp:6, from src/grid_widget.hpp:21, from src/grid_widget.cpp:17: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/scrollbar_widget.hpp:7, from src/scrollable_widget.hpp:6, from src/grid_widget.hpp:21, from src/grid_widget.cpp:17: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/scrollbar_widget.hpp:7, from src/scrollable_widget.hpp:6, from src/grid_widget.hpp:21, from src/grid_widget.cpp:17: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ In file included from src/grid_widget.cpp:17: src/grid_widget.hpp: In constructor 'gui::grid::grid(int)': src/grid_widget.hpp:107:13: warning: 'gui::grid::max_height_' will be initialized after [-Wreorder] 107 | int max_height_; | ^~~~~~~~~~~ src/grid_widget.hpp:94:14: warning: 'bool gui::grid::allow_highlight_' [-Wreorder] 94 | bool allow_highlight_; | ^~~~~~~~~~~~~~~~ src/grid_widget.cpp:23:1: warning: when initialized here [-Wreorder] 23 | grid::grid(int ncols) | ^~~~ In file included from src/grid_widget.cpp:17: src/grid_widget.hpp:98:13: warning: 'gui::grid::set_h_' will be initialized after [-Wreorder] 98 | int set_h_; | ^~~~~~ src/grid_widget.hpp:97:13: warning: 'int gui::grid::set_w_' [-Wreorder] 97 | int set_w_; | ^~~~~~ src/grid_widget.cpp:23:1: warning: when initialized here [-Wreorder] 23 | grid::grid(int ncols) | ^~~~ In file included from src/grid_widget.cpp:17: src/grid_widget.hpp: In constructor 'gui::grid::grid(const variant&, game_logic::formula_callable*)': src/grid_widget.hpp:107:13: warning: 'gui::grid::max_height_' will be initialized after [-Wreorder] 107 | int max_height_; | ^~~~~~~~~~~ src/grid_widget.hpp:94:14: warning: 'bool gui::grid::allow_highlight_' [-Wreorder] 94 | bool allow_highlight_; | ^~~~~~~~~~~~~~~~ src/grid_widget.cpp:34:1: warning: when initialized here [-Wreorder] 34 | grid::grid(const variant& v, game_logic::formula_callable* e) | ^~~~ In file included from src/grid_widget.cpp:17: src/grid_widget.hpp:98:13: warning: 'gui::grid::set_h_' will be initialized after [-Wreorder] 98 | int set_h_; | ^~~~~~ src/grid_widget.hpp:97:13: warning: 'int gui::grid::set_w_' [-Wreorder] 97 | int set_w_; | ^~~~~~ src/grid_widget.cpp:34:1: warning: when initialized here [-Wreorder] 34 | grid::grid(const variant& v, game_logic::formula_callable* e) | ^~~~ In file included from src/reference_counted_object.hpp:4, from src/formula_callable.hpp:22, from src/formula_callable_utils.hpp:9, from src/formula_function.hpp:26, from src/formula.hpp:22, from src/widget.hpp:19, from src/scrollbar_widget.hpp:7, from src/scrollable_widget.hpp:6, from src/grid_widget.hpp:21, from src/grid_widget.cpp:17: src/grid_widget.cpp: In member function 'void gui::grid::add_row(const std::vector >&)': src/grid_widget.cpp:165:31: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 165 | assert(widgets.size() == ncols_); | ~~~~~~~~~~~~~~~^~~~~~~~~ src/grid_widget.cpp: In member function 'gui::grid& gui::grid::add_col(const widget_ptr&)': src/grid_widget.cpp:186:28: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 186 | if(new_row_.size() == ncols_) { | ~~~~~~~~~~~~~~~~^~~~~~~~~ src/grid_widget.cpp: In member function 'virtual bool gui::grid::handle_event(const SDL_Event&, bool)': src/grid_widget.cpp:407:72: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 407 | if(row_index >= 0 && row_index < row_callbacks_.size() && | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/grid_widget.cpp > grid_widget.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/gles2.cpp In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/level.hpp:20, from src/gles2.cpp:6: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/custom_object.hpp:15, from src/gui_formula_functions.hpp:4, from src/level.hpp:24, from src/gles2.cpp:6: src/draw_scene.hpp: In constructor 'screen_position::screen_position()': src/draw_scene.hpp:29:13: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:17: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:9: warning: when initialized here [-Wreorder] 19 | screen_position() : init(false), x(0), y(0), focus_x(0), focus_y(0), | ^~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/custom_object.hpp:25, from src/gui_formula_functions.hpp:4, from src/level.hpp:24, from src/gles2.cpp:6: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/custom_object.hpp:25, from src/gui_formula_functions.hpp:4, from src/level.hpp:24, from src/gles2.cpp:6: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ In file included from src/level.hpp:25, from src/gles2.cpp:6: src/hex_map.hpp: In constructor 'hex::hex_map::hex_map()': src/hex_map.hpp:68:13: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:16: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:9: warning: when initialized here [-Wreorder] 26 | hex_map() : zorder_(-1000), width_(0), height_(0), x_(0), y_(0) | ^~~~~~~ In file included from src/level.hpp:26, from src/gles2.cpp:6: src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:45:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 45 | return a.y < b.y || a.y == b.y && a.x < b.x; | ~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const std::pair&) const': src/level_object.hpp:49:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 49 | return a.y < b.second || a.y == b.second && a.x < b.first; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const std::pair&, const level_tile&) const': src/level_object.hpp:53:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 53 | return a.second < b.y || a.second == b.y && a.first < b.x; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_zorder_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:59:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp:59:119: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from src/level.hpp:31, from src/gles2.cpp:6: src/tile_map.hpp: In constructor 'tile_map::pattern_index_entry::pattern_index_entry()': src/tile_map.hpp:75:58: warning: comparison of integer expressions of different signedness: 'int' and 'boost::array::size_type' {aka 'unsigned int'} [-Wsign-compare] 75 | pattern_index_entry() { for(int n = 0; n != str.size(); ++n) { str[n] = 0; } } | ~~^~~~~~~~~~~~~ src/gles2.cpp: In function 'void gles2::init_default_shader()': src/gles2.cpp:481:34: warning: ignoring return value of 'bool std::stack<_Tp, _Sequence>::empty() const [with _Tp = mat4; _Sequence = std::deque >]', declared with attribute 'nodiscard' [-Wunused-result] 481 | p_mat_stack.empty(); | ~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/c++/11/stack:61, from src/gles2.hpp:5, from src/gles2.cpp:4: /usr/include/c++/11/bits/stl_stack.h:199:7: note: declared here 199 | empty() const | ^~~~~ src/gles2.cpp:482:35: warning: ignoring return value of 'bool std::stack<_Tp, _Sequence>::empty() const [with _Tp = mat4; _Sequence = std::deque >]', declared with attribute 'nodiscard' [-Wunused-result] 482 | mv_mat_stack.empty(); | ~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/c++/11/stack:61, from src/gles2.hpp:5, from src/gles2.cpp:4: /usr/include/c++/11/bits/stl_stack.h:199:7: note: declared here 199 | empty() const | ^~~~~ src/gles2.cpp: At global scope: src/gles2.cpp:23:16: warning: '{anonymous}::shade_model' defined but not used [-Wunused-variable] 23 | GLenum shade_model = GL_FLAT; | ^~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/gles2.cpp > gles2.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/iphone_controls.cpp g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/iphone_controls.cpp > iphone_controls.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/gui_section.cpp g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/gui_section.cpp > gui_section.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/hex_object.cpp In file included from /usr/include/boost/bind.hpp:30, from src/hex_object.cpp:1: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/hex_object.cpp:6: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/hex_object.cpp:8: src/hex_map.hpp: In constructor 'hex::hex_map::hex_map()': src/hex_map.hpp:68:13: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:16: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:9: warning: when initialized here [-Wreorder] 26 | hex_map() : zorder_(-1000), width_(0), height_(0), x_(0), y_(0) | ^~~~~~~ src/hex_object.cpp: In constructor 'hex::{anonymous}::hex_engine::hex_engine(const variant&)': src/hex_object.cpp:139:50: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 139 | for(int n = 0; n != functions_var.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/hex_map.hpp:14, from src/hex_object.cpp:8: src/hex_object.hpp: In constructor 'hex::hex_object::hex_object(const string&, int, int, const hex::hex_map*)': src/hex_object.hpp:64:24: warning: 'hex::hex_object::owner_map_' will be initialized after [-Wreorder] 64 | const hex_map* owner_map_; | ^~~~~~~~~~ src/hex_object.hpp:55:13: warning: 'int hex::hex_object::x_' [-Wreorder] 55 | int x_; | ^~ src/hex_object.cpp:193:1: warning: when initialized here [-Wreorder] 193 | hex_object::hex_object(const std::string& type, int x, int y, const hex_map* owner) | ^~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/hex_object.cpp > hex_object.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/group_property_editor_dialog.cpp In file included from /usr/include/boost/bind.hpp:30, from src/group_property_editor_dialog.cpp:2: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/widget.hpp:19, from src/button.hpp:19, from src/group_property_editor_dialog.cpp:6: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/button.hpp:19, from src/group_property_editor_dialog.cpp:6: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/button.hpp:19, from src/group_property_editor_dialog.cpp:6: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ In file included from src/custom_object.hpp:15, from src/gui_formula_functions.hpp:4, from src/level.hpp:24, from src/editor.hpp:13, from src/group_property_editor_dialog.hpp:9, from src/group_property_editor_dialog.cpp:10: src/draw_scene.hpp: In constructor 'screen_position::screen_position()': src/draw_scene.hpp:29:13: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:17: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:9: warning: when initialized here [-Wreorder] 19 | screen_position() : init(false), x(0), y(0), focus_x(0), focus_y(0), | ^~~~~~~~~~~~~~~ In file included from src/level.hpp:25, from src/editor.hpp:13, from src/group_property_editor_dialog.hpp:9, from src/group_property_editor_dialog.cpp:10: src/hex_map.hpp: In constructor 'hex::hex_map::hex_map()': src/hex_map.hpp:68:13: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:16: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:9: warning: when initialized here [-Wreorder] 26 | hex_map() : zorder_(-1000), width_(0), height_(0), x_(0), y_(0) | ^~~~~~~ In file included from src/level.hpp:26, from src/editor.hpp:13, from src/group_property_editor_dialog.hpp:9, from src/group_property_editor_dialog.cpp:10: src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:45:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 45 | return a.y < b.y || a.y == b.y && a.x < b.x; | ~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const std::pair&) const': src/level_object.hpp:49:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 49 | return a.y < b.second || a.y == b.second && a.x < b.first; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const std::pair&, const level_tile&) const': src/level_object.hpp:53:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 53 | return a.second < b.y || a.second == b.y && a.first < b.x; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_zorder_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:59:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp:59:119: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from src/level.hpp:31, from src/editor.hpp:13, from src/group_property_editor_dialog.hpp:9, from src/group_property_editor_dialog.cpp:10: src/tile_map.hpp: In constructor 'tile_map::pattern_index_entry::pattern_index_entry()': src/tile_map.hpp:75:58: warning: comparison of integer expressions of different signedness: 'int' and 'boost::array::size_type' {aka 'unsigned int'} [-Wsign-compare] 75 | pattern_index_entry() { for(int n = 0; n != str.size(); ++n) { str[n] = 0; } } | ~~^~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/group_property_editor_dialog.cpp > group_property_editor_dialog.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/image_widget.cpp In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/widget.hpp:19, from src/image_widget.hpp:22, from src/image_widget.cpp:13: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/image_widget.hpp:22, from src/image_widget.cpp:13: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/image_widget.hpp:22, from src/image_widget.cpp:13: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/image_widget.cpp > image_widget.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/joystick.cpp src/joystick.cpp: In function 'bool joystick::button(int)': src/joystick.cpp:178:9: warning: unused variable 'cnt' [-Wunused-variable] 178 | int cnt = 0; | ^~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/joystick.cpp > joystick.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/i18n.cpp src/i18n.cpp: In function 'void i18n::load_translations()': src/i18n.cpp:110:27: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 110 | for (int i = 0; i < header->number; ++i) { | ~~^~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/i18n.cpp > i18n.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/hex_tile.cpp In file included from /usr/include/boost/bind.hpp:30, from src/hex_tile.cpp:1: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/hex_object.hpp:9, from src/hex_tile.cpp:5: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/hex_object.hpp:15, from src/hex_tile.cpp:5: src/hex_map.hpp: In constructor 'hex::hex_map::hex_map()': src/hex_map.hpp:68:13: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:16: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:9: warning: when initialized here [-Wreorder] 26 | hex_map() : zorder_(-1000), width_(0), height_(0), x_(0), y_(0) | ^~~~~~~ In file included from src/hex_object.hpp:16, from src/hex_tile.cpp:5: src/hex_tile.hpp: In constructor 'hex::basic_hex_tile::basic_hex_tile(variant, hex::hex_tile*)': src/hex_tile.hpp:54:21: warning: 'hex::basic_hex_tile::chance_' will be initialized after [-Wreorder] 54 | int chance_; | ^~~~~~~ src/hex_tile.hpp:42:27: warning: 'hex::hex_tile* hex::basic_hex_tile::owner_' [-Wreorder] 42 | hex_tile* owner_; | ^~~~~~ src/hex_tile.cpp:12:1: warning: when initialized here [-Wreorder] 12 | basic_hex_tile::basic_hex_tile(const variant node, hex_tile* owner) | ^~~~~~~~~~~~~~ In file included from src/hex_object.hpp:16, from src/hex_tile.cpp:5: src/hex_tile.hpp:56:21: warning: 'hex::basic_hex_tile::zorder_' will be initialized after [-Wreorder] 56 | int zorder_; | ^~~~~~~ src/hex_tile.hpp:47:21: warning: 'int hex::basic_hex_tile::offset_x_' [-Wreorder] 47 | int offset_x_; | ^~~~~~~~~ src/hex_tile.cpp:12:1: warning: when initialized here [-Wreorder] 12 | basic_hex_tile::basic_hex_tile(const variant node, hex_tile* owner) | ^~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/hex_tile.cpp > hex_tile.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/hex_tileset_editor_dialog.cpp In file included from /usr/include/boost/bind.hpp:30, from src/hex_tileset_editor_dialog.cpp:2: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/widget.hpp:19, from src/border_widget.hpp:6, from src/hex_tileset_editor_dialog.cpp:7: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/border_widget.hpp:6, from src/hex_tileset_editor_dialog.cpp:7: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/border_widget.hpp:6, from src/hex_tileset_editor_dialog.cpp:7: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ In file included from src/custom_object.hpp:15, from src/gui_formula_functions.hpp:4, from src/level.hpp:24, from src/editor.hpp:13, from src/hex_tileset_editor_dialog.cpp:9: src/draw_scene.hpp: In constructor 'screen_position::screen_position()': src/draw_scene.hpp:29:13: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:17: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:9: warning: when initialized here [-Wreorder] 19 | screen_position() : init(false), x(0), y(0), focus_x(0), focus_y(0), | ^~~~~~~~~~~~~~~ In file included from src/level.hpp:25, from src/editor.hpp:13, from src/hex_tileset_editor_dialog.cpp:9: src/hex_map.hpp: In constructor 'hex::hex_map::hex_map()': src/hex_map.hpp:68:13: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:16: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:9: warning: when initialized here [-Wreorder] 26 | hex_map() : zorder_(-1000), width_(0), height_(0), x_(0), y_(0) | ^~~~~~~ In file included from src/level.hpp:26, from src/editor.hpp:13, from src/hex_tileset_editor_dialog.cpp:9: src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:45:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 45 | return a.y < b.y || a.y == b.y && a.x < b.x; | ~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const std::pair&) const': src/level_object.hpp:49:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 49 | return a.y < b.second || a.y == b.second && a.x < b.first; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const std::pair&, const level_tile&) const': src/level_object.hpp:53:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 53 | return a.second < b.y || a.second == b.y && a.first < b.x; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_zorder_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:59:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp:59:119: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from src/level.hpp:31, from src/editor.hpp:13, from src/hex_tileset_editor_dialog.cpp:9: src/tile_map.hpp: In constructor 'tile_map::pattern_index_entry::pattern_index_entry()': src/tile_map.hpp:75:58: warning: comparison of integer expressions of different signedness: 'int' and 'boost::array::size_type' {aka 'unsigned int'} [-Wsign-compare] 75 | pattern_index_entry() { for(int n = 0; n != str.size(); ++n) { str[n] = 0; } } | ~~^~~~~~~~~~~~~ src/hex_tileset_editor_dialog.cpp: In member function 'void editor_dialogs::hex_tileset_editor_dialog::init()': src/hex_tileset_editor_dialog.cpp:70:24: warning: unused variable 'first_index' [-Wunused-variable] 70 | int index = 0, first_index = -1; | ^~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/hex_tileset_editor_dialog.cpp > hex_tileset_editor_dialog.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/key.cpp src/key.cpp: In member function 'void CKey::Read(const string&)': src/key.cpp:74:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 74 | if(num_keys > sizeof(custom_key_list)) { | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ src/key.cpp:81:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 81 | for(int n = 0; n != keys.size(); ++n) { | ~~^~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/key.cpp > key.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/hex_map.cpp In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/hex_map.cpp:7: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/hex_map.cpp:8: src/hex_map.hpp: In constructor 'hex::hex_map::hex_map()': src/hex_map.hpp:68:13: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:16: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:9: warning: when initialized here [-Wreorder] 26 | hex_map() : zorder_(-1000), width_(0), height_(0), x_(0), y_(0) | ^~~~~~~ In file included from src/custom_object.hpp:15, from src/gui_formula_functions.hpp:4, from src/level.hpp:24, from src/hex_map.cpp:12: src/draw_scene.hpp: In constructor 'screen_position::screen_position()': src/draw_scene.hpp:29:13: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:17: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:9: warning: when initialized here [-Wreorder] 19 | screen_position() : init(false), x(0), y(0), focus_x(0), focus_y(0), | ^~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/custom_object.hpp:25, from src/gui_formula_functions.hpp:4, from src/level.hpp:24, from src/hex_map.cpp:12: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/custom_object.hpp:25, from src/gui_formula_functions.hpp:4, from src/level.hpp:24, from src/hex_map.cpp:12: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ In file included from src/level.hpp:26, from src/hex_map.cpp:12: src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:45:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 45 | return a.y < b.y || a.y == b.y && a.x < b.x; | ~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const std::pair&) const': src/level_object.hpp:49:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 49 | return a.y < b.second || a.y == b.second && a.x < b.first; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const std::pair&, const level_tile&) const': src/level_object.hpp:53:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 53 | return a.second < b.y || a.second == b.y && a.first < b.x; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_zorder_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:59:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp:59:119: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from src/level.hpp:31, from src/hex_map.cpp:12: src/tile_map.hpp: In constructor 'tile_map::pattern_index_entry::pattern_index_entry()': src/tile_map.hpp:75:58: warning: comparison of integer expressions of different signedness: 'int' and 'boost::array::size_type' {aka 'unsigned int'} [-Wsign-compare] 75 | pattern_index_entry() { for(int n = 0; n != str.size(); ++n) { str[n] = 0; } } | ~~^~~~~~~~~~~~~ In file included from src/hex_map.cpp:8: src/hex_map.hpp: In constructor 'hex::hex_map::hex_map(variant)': src/hex_map.hpp:68:13: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:66:13: warning: 'int hex::hex_map::x_' [-Wreorder] 66 | int x_; | ^~ src/hex_map.cpp:20:1: warning: when initialized here [-Wreorder] 20 | hex_map::hex_map(variant node) | ^~~~~~~ In file included from src/hex_map.cpp:8: src/hex_map.hpp:67:13: warning: 'hex::hex_map::y_' will be initialized after [-Wreorder] 67 | int y_; | ^~ src/hex_map.hpp:64:16: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.cpp:20:1: warning: when initialized here [-Wreorder] 20 | hex_map::hex_map(variant node) | ^~~~~~~ src/hex_map.cpp: In member function 'hex::hex_object_ptr hex::hex_map::get_hex_tile(hex::direction, int, int) const': src/hex_map.cpp:125:13: warning: unused variable 'oy' [-Wunused-variable] 125 | int oy = y; | ^~ src/hex_map.cpp: In member function 'bool hex::hex_map::set_tile(int, int, const string&)': src/hex_map.cpp:271:21: warning: unused variable 'needed_rows' [-Wunused-variable] 271 | int needed_rows = y() - p.y; | ^~~~~~~~~~~ src/hex_map.cpp: In static member function 'static point hex::hex_map::loc_in_dir(int, int, hex::direction)': src/hex_map.cpp:316:13: warning: unused variable 'oy' [-Wunused-variable] 316 | int oy = y; | ^~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/hex_map.cpp > hex_map.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/json_parser.cpp src/json_parser.cpp: In member function 'void json::{anonymous}::JsonObject::add(variant, variant)': src/json_parser.cpp:154:50: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 154 | for(int n = 0; n != v.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~ src/json_parser.cpp: In function 'variant json::{anonymous}::parse_internal(const string&, const string&, json::JSON_PARSE_OPTIONS, std::map, boost::shared_ptr >*, const game_logic::formula_callable*)': src/json_parser.cpp:209:28: warning: unused variable 'filename' [-Wunused-variable] 209 | const std::string* filename = &*filename_itor; | ^~~~~~~~ src/json_parser.cpp: In function 'void json::TEST_json_flatten()': src/json_parser.cpp:538:26: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 538 | for(int n = 0; n != v.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/json_parser.cpp > json_parser.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/json_tokenizer.cpp src/json_tokenizer.cpp: In function 'json::Token json::get_token(const char*&, const char*)': src/json_tokenizer.cpp:13:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 13 | while(i1 != i2 && util::c_isspace(*i1) || *i1 == '#' || *i1 == '/' && i1+1 != i2 && (*(i1 + 1) == '/' || *(i1 + 1) == '*')) { | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ src/json_tokenizer.cpp:13:90: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 13 | while(i1 != i2 && util::c_isspace(*i1) || *i1 == '#' || *i1 == '/' && i1+1 != i2 && (*(i1 + 1) == '/' || *(i1 + 1) == '*')) { | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/json_tokenizer.cpp > json_tokenizer.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/formula_function.cpp In file included from /usr/include/boost/bind.hpp:30, from src/formula_function.cpp:15: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/widget.hpp:19, from src/dialog.hpp:17, from src/formula_function.cpp:23: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/dialog.hpp:17, from src/formula_function.cpp:23: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/dialog.hpp:17, from src/formula_function.cpp:23: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ In file included from src/custom_object.hpp:15, from src/gui_formula_functions.hpp:4, from src/level.hpp:24, from src/debug_console.hpp:9, from src/formula_function.cpp:24: src/draw_scene.hpp: In constructor 'screen_position::screen_position()': src/draw_scene.hpp:29:13: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:17: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:9: warning: when initialized here [-Wreorder] 19 | screen_position() : init(false), x(0), y(0), focus_x(0), focus_y(0), | ^~~~~~~~~~~~~~~ In file included from src/level.hpp:25, from src/debug_console.hpp:9, from src/formula_function.cpp:24: src/hex_map.hpp: In constructor 'hex::hex_map::hex_map()': src/hex_map.hpp:68:13: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:16: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:9: warning: when initialized here [-Wreorder] 26 | hex_map() : zorder_(-1000), width_(0), height_(0), x_(0), y_(0) | ^~~~~~~ In file included from src/level.hpp:26, from src/debug_console.hpp:9, from src/formula_function.cpp:24: src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:45:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 45 | return a.y < b.y || a.y == b.y && a.x < b.x; | ~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const std::pair&) const': src/level_object.hpp:49:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 49 | return a.y < b.second || a.y == b.second && a.x < b.first; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const std::pair&, const level_tile&) const': src/level_object.hpp:53:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 53 | return a.second < b.y || a.second == b.y && a.first < b.x; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_zorder_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:59:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp:59:119: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from src/level.hpp:31, from src/debug_console.hpp:9, from src/formula_function.cpp:24: src/tile_map.hpp: In constructor 'tile_map::pattern_index_entry::pattern_index_entry()': src/tile_map.hpp:75:58: warning: comparison of integer expressions of different signedness: 'int' and 'boost::array::size_type' {aka 'unsigned int'} [-Wsign-compare] 75 | pattern_index_entry() { for(int n = 0; n != str.size(); ++n) { str[n] = 0; } } | ~~^~~~~~~~~~~~~ In file included from src/debug_console.hpp:10, from src/formula_function.cpp:24: src/text_editor_widget.hpp: In member function 'bool gui::text_editor_widget::Loc::operator<(const gui::text_editor_widget::Loc&) const': src/text_editor_widget.hpp:41:89: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 41 | bool operator<(const Loc& o) const { return row < o.row || row == o.row && col < o.col; } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ src/formula_function.cpp: In function 'std::string game_logic::pinpoint_location(variant, std::__cxx11::basic_string::const_iterator, std::__cxx11::basic_string::const_iterator)': src/formula_function.cpp:139:47: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] 139 | if(end > begin && pos + (end - begin) < line.size()) { | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ src/formula_function.cpp: In member function 'void game_logic::{anonymous}::ffl_cache::store(const variant&, const variant&) const': src/formula_function.cpp:183:34: warning: comparison of integer expressions of different signedness: 'std::map::size_type' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 183 | if(cache_.size() == max_entries_) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ src/formula_function.cpp: In member function 'virtual variant game_logic::{anonymous}::if_function::execute(const game_logic::formula_callable&) const': src/formula_function.cpp:250:30: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 250 | if(i >= args().size()) { | ~~^~~~~~~~~~~~~~~~ src/formula_function.cpp: In member function 'virtual variant game_logic::{anonymous}::fold_function::execute(const game_logic::formula_callable&) const': src/formula_function.cpp:618:26: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 618 | for(int n = 1; n < list.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~ src/formula_function.cpp: In member function 'virtual variant game_logic::{anonymous}::zip_function::execute(const game_logic::formula_callable&) const': src/formula_function.cpp:683:34: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 683 | for(int n = 0; n != keys.num_elements(); n++) { | ~~^~~~~~~~~~~~~~~~~~~~~~ src/formula_function.cpp: In member function 'virtual variant game_logic::{anonymous}::transform_function::execute(const game_logic::formula_callable&) const': src/formula_function.cpp:1152:29: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 1152 | for(size_t n = 0; n != nitems; ++n) { | ~~^~~~~~~~~ src/formula_function.cpp: In member function 'virtual variant game_logic::{anonymous}::dialog_function::execute(const game_logic::formula_callable&) const': src/formula_function.cpp:1392:14: warning: unused variable 'modal' [-Wunused-variable] 1392 | bool modal = args().size() == 3 && args()[2]->evaluate(variables).as_bool(); | ^~~~~ src/formula_function.cpp: In member function 'virtual variant game_logic::{anonymous}::index_function::execute(const game_logic::formula_callable&) const': src/formula_function.cpp:1420:26: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1420 | for(int n = 0; n < li.num_elements(); n++) { | ~~^~~~~~~~~~~~~~~~~~~ src/formula_function.cpp: In member function 'virtual variant game_logic::{anonymous}::debug_function::execute(const game_logic::formula_callable&) const': src/formula_function.cpp:1948:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 1948 | for(int n = 0; n != args().size(); ++n) { | ~~^~~~~~~~~~~~~~~~ src/formula_function.cpp: In member function 'boost::intrusive_ptr game_logic::formula_function_expression::calculate_args_callable(const game_logic::formula_callable&) const': src/formula_function.cpp:2069:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 2069 | for(int n = 0; n != arg_names_.size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~ In file included from src/array_callable.hpp:7, from src/formula_function.cpp:20: src/formula_function.cpp: In member function 'game_logic::formula_function_expression_ptr game_logic::formula_function::generate_function_expression(const std::vector >&) const': src/formula_function.cpp:2139:64: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 2139 | ASSERT_LOG(index >= 0 && index < default_args_.size(), "INVALID INDEX INTO DEFAULT ARGS: " << index << " / " << default_args_.size()); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ src/asserts.hpp:65:33: note: in definition of macro 'ASSERT_LOG' 65 | #define ASSERT_LOG(_a,_b) if( !(_a) ) { std::ostringstream _s; _s << __FILE__ << ":" << __LINE__ << " ASSERTION FAILED: " << _b << "\n"; if(throw_validation_failure_on_assert()) { throw validation_failure_exception(_s.str()); } else { std::cerr << _s.str(); output_backtrace(); report_assert_msg(_s.str()); abort(); } } | ^~ src/formula_function.cpp: In member function 'virtual void game_logic::function_expression::set_debug_info(const variant&, std::__cxx11::basic_string::const_iterator, std::__cxx11::basic_string::const_iterator)': src/formula_function.cpp:2320:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2320 | if(min_args_ >= 0 && args_.size() < static_cast(min_args_) || | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/formula_function.cpp: In member function 'virtual variant game_logic::hex_location_function::execute(const game_logic::formula_callable&) const': src/formula_function.cpp:2424:34: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 2424 | for(int i = 0; i < d.num_elements(); i++) { | ~~^~~~~~~~~~~~~~~~~~ In file included from src/formula_function.cpp:39: src/pathfinding.hpp: In instantiation of 'pathfinding::graph_node::graph_node(const N&) [with N = variant; T = decimal]': src/pathfinding.hpp:129:109: required from here src/pathfinding.hpp:83:11: warning: 'pathfinding::graph_node::src_' will be initialized after [-Wreorder] 83 | N src_; | ^~~~ src/pathfinding.hpp:82:11: warning: 'decimal pathfinding::graph_node::f_' [-Wreorder] 82 | T f_, g_, h_; | ^~ src/pathfinding.hpp:42:9: warning: when initialized here [-Wreorder] 42 | graph_node(const N& src) | ^~~~~~~~~~ src/formula_function.cpp: At global scope: src/formula_function.cpp:2327:6: warning: 'bool game_logic::{anonymous}::point_in_triangle(point, point*)' defined but not used [-Wunused-function] 2327 | bool point_in_triangle(point p, point t[3]) | ^~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/formula_function.cpp > formula_function.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/gui_formula_functions.cpp In file included from /usr/include/boost/bind.hpp:30, from src/gui_formula_functions.cpp:1: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/custom_object_type.hpp:11, from src/custom_object.hpp:13, from src/gui_formula_functions.cpp:9: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/custom_object.hpp:15, from src/gui_formula_functions.cpp:9: src/draw_scene.hpp: In constructor 'screen_position::screen_position()': src/draw_scene.hpp:29:13: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:17: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:9: warning: when initialized here [-Wreorder] 19 | screen_position() : init(false), x(0), y(0), focus_x(0), focus_y(0), | ^~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/custom_object.hpp:25, from src/gui_formula_functions.cpp:9: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/custom_object.hpp:25, from src/gui_formula_functions.cpp:9: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ In file included from src/level.hpp:25, from src/gui_formula_functions.cpp:22: src/hex_map.hpp: In constructor 'hex::hex_map::hex_map()': src/hex_map.hpp:68:13: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:16: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:9: warning: when initialized here [-Wreorder] 26 | hex_map() : zorder_(-1000), width_(0), height_(0), x_(0), y_(0) | ^~~~~~~ In file included from src/level.hpp:26, from src/gui_formula_functions.cpp:22: src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:45:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 45 | return a.y < b.y || a.y == b.y && a.x < b.x; | ~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const std::pair&) const': src/level_object.hpp:49:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 49 | return a.y < b.second || a.y == b.second && a.x < b.first; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const std::pair&, const level_tile&) const': src/level_object.hpp:53:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 53 | return a.second < b.y || a.second == b.y && a.first < b.x; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_zorder_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:59:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp:59:119: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from src/level.hpp:31, from src/gui_formula_functions.cpp:22: src/tile_map.hpp: In constructor 'tile_map::pattern_index_entry::pattern_index_entry()': src/tile_map.hpp:75:58: warning: comparison of integer expressions of different signedness: 'int' and 'boost::array::size_type' {aka 'unsigned int'} [-Wsign-compare] 75 | pattern_index_entry() { for(int n = 0; n != str.size(); ++n) { str[n] = 0; } } | ~~^~~~~~~~~~~~~ src/gui_formula_functions.cpp: In member function 'virtual variant {anonymous}::draw_animation_area_function::execute(const game_logic::formula_callable&) const': src/gui_formula_functions.cpp:161:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 161 | for(int n = 0; n != args().size() - 3; ++n) { | ~~^~~~~~~~~~~~~~~~~~~~ src/gui_formula_functions.cpp: In member function 'virtual const game_logic::formula_callable_definition::entry* {anonymous}::gui_algorithm_definition::get_entry(int) const': src/gui_formula_functions.cpp:383:37: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 383 | if(slot < 0 || slot >= entries_.size()) { | ~~~~~^~~~~~~~~~~~~~~~~~ src/gui_formula_functions.cpp: In member function 'virtual game_logic::formula_callable_definition::entry* {anonymous}::gui_algorithm_definition::get_entry(int)': src/gui_formula_functions.cpp:391:37: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 391 | if(slot < 0 || slot >= entries_.size()) { | ~~~~~^~~~~~~~~~~~~~~~~~ In file included from src/gui_formula_functions.cpp:19: src/gui_formula_functions.hpp: In constructor 'gui_algorithm::gui_algorithm(variant)': src/gui_formula_functions.hpp:55:14: warning: 'gui_algorithm::loaded_' will be initialized after [-Wreorder] 55 | bool loaded_; | ^~~~~~~ src/gui_formula_functions.hpp:53:48: warning: 'game_logic::formula_ptr gui_algorithm::process_formula_' [-Wreorder] 53 | game_logic::formula_ptr draw_formula_, process_formula_, load_formula_; | ^~~~~~~~~~~~~~~~ src/gui_formula_functions.cpp:408:1: warning: when initialized here [-Wreorder] 408 | gui_algorithm::gui_algorithm(variant node) | ^~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/gui_formula_functions.cpp > gui_formula_functions.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/input.cpp In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/widget.hpp:19, from src/button.hpp:19, from src/level_runner.hpp:9, from src/input.cpp:8: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/button.hpp:19, from src/level_runner.hpp:9, from src/input.cpp:8: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/button.hpp:19, from src/level_runner.hpp:9, from src/input.cpp:8: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ In file included from src/custom_object.hpp:15, from src/gui_formula_functions.hpp:4, from src/level.hpp:24, from src/debug_console.hpp:9, from src/level_runner.hpp:10, from src/input.cpp:8: src/draw_scene.hpp: In constructor 'screen_position::screen_position()': src/draw_scene.hpp:29:13: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:17: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:9: warning: when initialized here [-Wreorder] 19 | screen_position() : init(false), x(0), y(0), focus_x(0), focus_y(0), | ^~~~~~~~~~~~~~~ In file included from src/level.hpp:25, from src/debug_console.hpp:9, from src/level_runner.hpp:10, from src/input.cpp:8: src/hex_map.hpp: In constructor 'hex::hex_map::hex_map()': src/hex_map.hpp:68:13: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:16: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:9: warning: when initialized here [-Wreorder] 26 | hex_map() : zorder_(-1000), width_(0), height_(0), x_(0), y_(0) | ^~~~~~~ In file included from src/level.hpp:26, from src/debug_console.hpp:9, from src/level_runner.hpp:10, from src/input.cpp:8: src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:45:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 45 | return a.y < b.y || a.y == b.y && a.x < b.x; | ~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const std::pair&) const': src/level_object.hpp:49:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 49 | return a.y < b.second || a.y == b.second && a.x < b.first; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const std::pair&, const level_tile&) const': src/level_object.hpp:53:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 53 | return a.second < b.y || a.second == b.y && a.first < b.x; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_zorder_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:59:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp:59:119: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from src/level.hpp:31, from src/debug_console.hpp:9, from src/level_runner.hpp:10, from src/input.cpp:8: src/tile_map.hpp: In constructor 'tile_map::pattern_index_entry::pattern_index_entry()': src/tile_map.hpp:75:58: warning: comparison of integer expressions of different signedness: 'int' and 'boost::array::size_type' {aka 'unsigned int'} [-Wsign-compare] 75 | pattern_index_entry() { for(int n = 0; n != str.size(); ++n) { str[n] = 0; } } | ~~^~~~~~~~~~~~~ In file included from src/debug_console.hpp:10, from src/level_runner.hpp:10, from src/input.cpp:8: src/text_editor_widget.hpp: In member function 'bool gui::text_editor_widget::Loc::operator<(const gui::text_editor_widget::Loc&) const': src/text_editor_widget.hpp:41:89: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 41 | bool operator<(const Loc& o) const { return row < o.row || row == o.row && col < o.col; } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ src/input.cpp: In member function 'virtual void input::key_down_listener::bind_key(int, const SDL_keysym&, bool)': src/input.cpp:426:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 426 | if(logical_key >= state_.size()) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/input.cpp: In member function 'virtual bool input::key_down_listener::unbind_key(const SDL_keysym&)': src/input.cpp:434:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 434 | if(key >= 0 && key < state_.size()) { | ~~~~^~~~~~~~~~~~~~~ src/input.cpp: In member function 'virtual bool input::key_down_listener::unbind_key(int)': src/input.cpp:441:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 441 | if(logical_key < state_.size()) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/input.cpp > input.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/label.cpp In file included from /usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22, from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23, from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14, from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42, from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25, from /usr/include/boost/smart_ptr/shared_ptr.hpp:29, from /usr/include/boost/shared_ptr.hpp:17, from src/texture.hpp:18, from src/font.hpp:18, from src/label.cpp:15: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/widget.hpp:19, from src/label.hpp:22, from src/label.cpp:16: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/label.hpp:22, from src/label.cpp:16: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/label.hpp:22, from src/label.cpp:16: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ In file included from src/label.cpp:16: src/label.hpp: In constructor 'gui::label::label(const string&, int)': src/label.hpp:83:14: warning: 'gui::label::down_' will be initialized after [-Wreorder] 83 | bool down_; | ^~~~~ src/label.hpp:75:14: warning: 'bool gui::label::fixed_width_' [-Wreorder] 75 | bool fixed_width_; | ^~~~~~~~~~~~ src/label.cpp:22:1: warning: when initialized here [-Wreorder] 22 | label::label(const std::string& text, int size) | ^~~~~ In file included from src/label.cpp:16: src/label.hpp:75:14: warning: 'gui::label::fixed_width_' will be initialized after [-Wreorder] 75 | bool fixed_width_; | ^~~~~~~~~~~~ src/label.hpp:73:19: warning: 'SDL_Color gui::label::highlight_color_' [-Wreorder] 73 | SDL_Color highlight_color_; | ^~~~~~~~~~~~~~~~ src/label.cpp:22:1: warning: when initialized here [-Wreorder] 22 | label::label(const std::string& text, int size) | ^~~~~ In file included from src/label.cpp:16: src/label.hpp: In constructor 'gui::label::label(const string&, const SDL_Color&, int)': src/label.hpp:83:14: warning: 'gui::label::down_' will be initialized after [-Wreorder] 83 | bool down_; | ^~~~~ src/label.hpp:75:14: warning: 'bool gui::label::fixed_width_' [-Wreorder] 75 | bool fixed_width_; | ^~~~~~~~~~~~ src/label.cpp:32:1: warning: when initialized here [-Wreorder] 32 | label::label(const std::string& text, const SDL_Color& color, int size) | ^~~~~ In file included from src/label.cpp:16: src/label.hpp:75:14: warning: 'gui::label::fixed_width_' will be initialized after [-Wreorder] 75 | bool fixed_width_; | ^~~~~~~~~~~~ src/label.hpp:73:19: warning: 'SDL_Color gui::label::highlight_color_' [-Wreorder] 73 | SDL_Color highlight_color_; | ^~~~~~~~~~~~~~~~ src/label.cpp:32:1: warning: when initialized here [-Wreorder] 32 | label::label(const std::string& text, const SDL_Color& color, int size) | ^~~~~ In file included from src/label.cpp:16: src/label.hpp: In constructor 'gui::label::label(const variant&, game_logic::formula_callable*)': src/label.hpp:83:14: warning: 'gui::label::down_' will be initialized after [-Wreorder] 83 | bool down_; | ^~~~~ src/label.hpp:73:19: warning: 'SDL_Color gui::label::highlight_color_' [-Wreorder] 73 | SDL_Color highlight_color_; | ^~~~~~~~~~~~~~~~ src/label.cpp:41:1: warning: when initialized here [-Wreorder] 41 | label::label(const variant& v, game_logic::formula_callable* e) | ^~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/label.cpp > label.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/level_solid_map.cpp src/level_solid_map.cpp: In member function 'tile_solid_info** level_solid_map::insert_raw(const tile_pos&)': src/level_solid_map.cpp:57:42: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 57 | if(positive_rows_.size() <= pos.second) { | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ src/level_solid_map.cpp:64:42: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 64 | if(negative_rows_.size() <= index) { | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ src/level_solid_map.cpp:72:45: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 72 | if(r->positive_cells.size() <= pos.first) { | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ src/level_solid_map.cpp:79:45: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 79 | if(r->negative_cells.size() <= index) { | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ src/level_solid_map.cpp: In member function 'const tile_solid_info* level_solid_map::find(const tile_pos&) const': src/level_solid_map.cpp:91:31: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 91 | if(pos.second < positive_rows_.size()) { | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ src/level_solid_map.cpp:98:26: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 98 | if(index < negative_rows_.size()) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ src/level_solid_map.cpp:106:30: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 106 | if(pos.first < r->positive_cells.size()) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/level_solid_map.cpp:113:26: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 113 | if(index < r->negative_cells.size()) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/level_solid_map.cpp: In member function 'void level_solid_map::merge(const level_solid_map&, int, int)': src/level_solid_map.cpp:156:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 156 | for(int n = 0; n != map.negative_rows_.size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/level_solid_map.cpp:157:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 157 | for(int m = 0; m != map.negative_rows_[n].negative_cells.size(); ++m) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/level_solid_map.cpp:172:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 172 | for(int m = 0; m != map.negative_rows_[n].positive_cells.size(); ++m) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/level_solid_map.cpp:188:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 188 | for(int n = 0; n != map.positive_rows_.size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/level_solid_map.cpp:189:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 189 | for(int m = 0; m != map.positive_rows_[n].negative_cells.size(); ++m) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/level_solid_map.cpp:204:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 204 | for(int m = 0; m != map.positive_rows_[n].positive_cells.size(); ++m) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/level_solid_map.cpp > level_solid_map.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/key_button.cpp In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/widget.hpp:19, from src/graphical_font_label.hpp:5, from src/key_button.cpp:2: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/graphical_font_label.hpp:5, from src/key_button.cpp:2: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/graphical_font_label.hpp:5, from src/key_button.cpp:2: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ In file included from src/key_button.cpp:4: src/key_button.hpp: In constructor 'gui::key_button::key_button(SDLKey, gui::BUTTON_RESOLUTION)': src/key_button.hpp:34:16: warning: 'gui::key_button::key_' will be initialized after [-Wreorder] 34 | SDLKey key_; | ^~~~ src/key_button.hpp:32:27: warning: 'gui::BUTTON_RESOLUTION gui::key_button::button_resolution_' [-Wreorder] 32 | BUTTON_RESOLUTION button_resolution_; | ^~~~~~~~~~~~~~~~~~ src/key_button.cpp:150:1: warning: when initialized here [-Wreorder] 150 | key_button::key_button(SDLKey key, BUTTON_RESOLUTION button_resolution) | ^~~~~~~~~~ In file included from src/key_button.cpp:4: src/key_button.hpp:37:115: warning: 'gui::key_button::current_button_image_set_' will be initialized after [-Wreorder] 37 | const_framed_gui_element_ptr normal_button_image_set_,depressed_button_image_set_,focus_button_image_set_,current_button_image_set_; | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/key_button.hpp:35:14: warning: 'bool gui::key_button::grab_keys_' [-Wreorder] 35 | bool grab_keys_; | ^~~~~~~~~~ src/key_button.cpp:150:1: warning: when initialized here [-Wreorder] 150 | key_button::key_button(SDLKey key, BUTTON_RESOLUTION button_resolution) | ^~~~~~~~~~ In file included from src/key_button.cpp:4: src/key_button.hpp: In constructor 'gui::key_button::key_button(const variant&, game_logic::formula_callable*)': src/key_button.hpp:37:115: warning: 'gui::key_button::current_button_image_set_' will be initialized after [-Wreorder] 37 | const_framed_gui_element_ptr normal_button_image_set_,depressed_button_image_set_,focus_button_image_set_,current_button_image_set_; | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/key_button.hpp:35:14: warning: 'bool gui::key_button::grab_keys_' [-Wreorder] 35 | bool grab_keys_; | ^~~~~~~~~~ src/key_button.cpp:163:1: warning: when initialized here [-Wreorder] 163 | key_button::key_button(const variant& v, game_logic::formula_callable* e) | ^~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/key_button.cpp > key_button.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/md5.cpp src/md5.cpp: In function 'void md5::MD5Final(uint8_t*, md5::MD5Context*)': src/md5.cpp:172:25: warning: argument to 'sizeof' in 'void* memset(void*, int, size_t)' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 172 | std::memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ | ^~~~~~~~~~~ src/md5.cpp: In function 'void md5::MD5Transform(uint32_t*, uint32_t*)': src/md5.cpp:196:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 196 | register uint32_t a, b, c, d; | ^ src/md5.cpp:196:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 196 | register uint32_t a, b, c, d; | ^ src/md5.cpp:196:29: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 196 | register uint32_t a, b, c, d; | ^ src/md5.cpp:196:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 196 | register uint32_t a, b, c, d; | ^ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/md5.cpp > md5.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/level_logic.cpp In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/level.hpp:20, from src/level_logic.cpp:4: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/custom_object.hpp:15, from src/gui_formula_functions.hpp:4, from src/level.hpp:24, from src/level_logic.cpp:4: src/draw_scene.hpp: In constructor 'screen_position::screen_position()': src/draw_scene.hpp:29:13: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:17: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:9: warning: when initialized here [-Wreorder] 19 | screen_position() : init(false), x(0), y(0), focus_x(0), focus_y(0), | ^~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/custom_object.hpp:25, from src/gui_formula_functions.hpp:4, from src/level.hpp:24, from src/level_logic.cpp:4: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/custom_object.hpp:25, from src/gui_formula_functions.hpp:4, from src/level.hpp:24, from src/level_logic.cpp:4: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ In file included from src/level.hpp:25, from src/level_logic.cpp:4: src/hex_map.hpp: In constructor 'hex::hex_map::hex_map()': src/hex_map.hpp:68:13: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:16: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:9: warning: when initialized here [-Wreorder] 26 | hex_map() : zorder_(-1000), width_(0), height_(0), x_(0), y_(0) | ^~~~~~~ In file included from src/level.hpp:26, from src/level_logic.cpp:4: src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:45:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 45 | return a.y < b.y || a.y == b.y && a.x < b.x; | ~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const std::pair&) const': src/level_object.hpp:49:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 49 | return a.y < b.second || a.y == b.second && a.x < b.first; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const std::pair&, const level_tile&) const': src/level_object.hpp:53:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 53 | return a.second < b.y || a.second == b.y && a.first < b.x; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_zorder_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:59:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp:59:119: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from src/level.hpp:31, from src/level_logic.cpp:4: src/tile_map.hpp: In constructor 'tile_map::pattern_index_entry::pattern_index_entry()': src/tile_map.hpp:75:58: warning: comparison of integer expressions of different signedness: 'int' and 'boost::array::size_type' {aka 'unsigned int'} [-Wsign-compare] 75 | pattern_index_entry() { for(int n = 0; n != str.size(); ++n) { str[n] = 0; } } | ~~^~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/level_logic.cpp > level_logic.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/light.cpp In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/custom_object_type.hpp:11, from src/custom_object.hpp:13, from src/light.cpp:3: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/custom_object.hpp:15, from src/light.cpp:3: src/draw_scene.hpp: In constructor 'screen_position::screen_position()': src/draw_scene.hpp:29:13: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:17: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:9: warning: when initialized here [-Wreorder] 19 | screen_position() : init(false), x(0), y(0), focus_x(0), focus_y(0), | ^~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/custom_object.hpp:25, from src/light.cpp:3: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/custom_object.hpp:25, from src/light.cpp:3: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/light.cpp: In member function 'virtual void circle_light::draw(const rect&, const unsigned char*) const': src/light.cpp:79:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 79 | for(int n = 0; n != x_angles.size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~ src/light.cpp:103:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 103 | for(int n = 0; n != x_angles.size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/light.cpp > light.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/http_client.cpp In file included from /usr/include/boost/bind.hpp:30, from src/http_client.cpp:1: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from src/http_client.cpp:5: src/http_client.hpp: In constructor 'http_client::http_client(const string&, const string&, int, boost::asio::io_service*)': src/http_client.hpp:64:21: warning: 'http_client::host_' will be initialized after [-Wreorder] 64 | std::string host_; | ^~~~~ src/http_client.hpp:62:30: warning: 'boost::asio::ip::basic_resolver::query http_client::resolver_query_' [-Wreorder] 62 | tcp::resolver::query resolver_query_; | ^~~~~~~~~~~~~~~ src/http_client.cpp:7:1: warning: when initialized here [-Wreorder] 7 | http_client::http_client(const std::string& host, const std::string& port, int session, boost::asio::io_service* service) | ^~~~~~~~~~~ src/http_client.cpp: In member function 'void http_client::handle_send(http_client::connection_ptr, const boost::system::error_code&, size_t)': src/http_client.cpp:136:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] 136 | if(conn->nbytes_sent < conn->request.size()) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ src/http_client.cpp: In member function 'void http_client::handle_receive(http_client::connection_ptr, const boost::system::error_code&, size_t)': src/http_client.cpp:196:62: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 196 | if(conn->expected_len != -1 && conn->response.size() >= conn->expected_len) { | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from src/http_client.cpp:4: src/http_client.cpp:197:47: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] 197 | ASSERT_LOG(conn->expected_len == conn->response.size(), "UNEXPECTED RESPONSE SIZE " << conn->expected_len << " VS " << conn->response << " " << conn->response.size()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/asserts.hpp:65:33: note: in definition of macro 'ASSERT_LOG' 65 | #define ASSERT_LOG(_a,_b) if( !(_a) ) { std::ostringstream _s; _s << __FILE__ << ":" << __LINE__ << " ASSERTION FAILED: " << _b << "\n"; if(throw_validation_failure_on_assert()) { throw validation_failure_exception(_s.str()); } else { std::cerr << _s.str(); output_backtrace(); report_assert_msg(_s.str()); abort(); } } | ^~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/http_client.cpp > http_client.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/language_dialog.cpp In file included from /usr/include/boost/bind.hpp:30, from src/language_dialog.cpp:2: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/widget.hpp:19, from src/button.hpp:19, from src/language_dialog.cpp:4: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/button.hpp:19, from src/language_dialog.cpp:4: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/button.hpp:19, from src/language_dialog.cpp:4: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ In file included from src/language_dialog.cpp:7: src/draw_scene.hpp: In constructor 'screen_position::screen_position()': src/draw_scene.hpp:29:13: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:17: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:9: warning: when initialized here [-Wreorder] 19 | screen_position() : init(false), x(0), y(0), focus_x(0), focus_y(0), | ^~~~~~~~~~~~~~~ In file included from src/level.hpp:25, from src/language_dialog.cpp:10: src/hex_map.hpp: In constructor 'hex::hex_map::hex_map()': src/hex_map.hpp:68:13: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:16: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:9: warning: when initialized here [-Wreorder] 26 | hex_map() : zorder_(-1000), width_(0), height_(0), x_(0), y_(0) | ^~~~~~~ In file included from src/level.hpp:26, from src/language_dialog.cpp:10: src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:45:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 45 | return a.y < b.y || a.y == b.y && a.x < b.x; | ~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const std::pair&) const': src/level_object.hpp:49:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 49 | return a.y < b.second || a.y == b.second && a.x < b.first; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const std::pair&, const level_tile&) const': src/level_object.hpp:53:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 53 | return a.second < b.y || a.second == b.y && a.first < b.x; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_zorder_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:59:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp:59:119: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from src/level.hpp:31, from src/language_dialog.cpp:10: src/tile_map.hpp: In constructor 'tile_map::pattern_index_entry::pattern_index_entry()': src/tile_map.hpp:75:58: warning: comparison of integer expressions of different signedness: 'int' and 'boost::array::size_type' {aka 'unsigned int'} [-Wsign-compare] 75 | pattern_index_entry() { for(int n = 0; n != str.size(); ++n) { str[n] = 0; } } | ~~^~~~~~~~~~~~~ src/language_dialog.cpp: In function 'void show_language_dialog()': src/language_dialog.cpp:85:13: warning: unused variable 'index' [-Wunused-variable] 85 | int index = 0; | ^~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/language_dialog.cpp > language_dialog.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/http_server.cpp In file included from /usr/include/boost/bind.hpp:30, from src/http_server.cpp:3: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ src/http_server.cpp:107:9: warning: 'http::{anonymous}::Request http::{anonymous}::parse_request(const string&)' defined but not used [-Wunused-function] 107 | Request parse_request(const std::string& str) { | ^~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/http_server.cpp > http_server.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/object_events.cpp src/object_events.cpp: In function 'std::map, int> {anonymous}::create_object_event_ids()': src/object_events.cpp:60:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 60 | for(int n = 0; n != object_event_names().size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/object_events.cpp > object_events.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/message_dialog.cpp src/message_dialog.cpp: In member function 'void message_dialog::draw() const': src/message_dialog.cpp:128:43: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 128 | for(int n = 0; n <= cur_row_ && n < lines_.size(); ++n) { | ~~^~~~~~~~~~~~~~~ src/message_dialog.cpp:141:21: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 141 | if(cur_row_ >= lines_.size() && !options_.empty()) { | ~~~~~~~~~^~~~~~~~~~~~~~~~ src/message_dialog.cpp:147:38: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 147 | if(t.width() > width) { | ~~~~~~~~~~^~~~~~~ src/message_dialog.cpp:157:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 157 | for(int n = 0; n != options_.size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~ src/message_dialog.cpp: In member function 'void message_dialog::process()': src/message_dialog.cpp:183:69: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 183 | if(selected_option_ == options_.size()) { | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ src/message_dialog.cpp:196:45: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 196 | if(cur_row_ >= lines_.size()) { | ~~~~~~~~~^~~~~~~~~~~~~~~~ src/message_dialog.cpp:205:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 205 | if(cur_row_ < lines_.size()) { | ~~~~~~~~~^~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/message_dialog.cpp > message_dialog.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/level_object.cpp In file included from src/level_object.cpp:11: src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:45:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 45 | return a.y < b.y || a.y == b.y && a.x < b.x; | ~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const std::pair&) const': src/level_object.hpp:49:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 49 | return a.y < b.second || a.y == b.second && a.x < b.first; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const std::pair&, const level_tile&) const': src/level_object.hpp:53:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 53 | return a.second < b.y || a.second == b.y && a.first < b.x; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_zorder_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:59:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp:59:119: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.cpp: In function 'void create_compiled_tiles_image()': src/level_object.cpp:117:70: warning: comparison of integer expressions of different signedness: 'std::set::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 117 | if(zorder_with_alpha_channel.count(i->first) != use_alpha_channel) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/level_object.cpp:124:37: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 124 | for(; sheet != tiles_in_sheet.size(); ++sheet) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/level_object.cpp:132:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 132 | if(sheet == tiles_in_sheet.size()) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/level_object.cpp:263:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 263 | for(int n = 0; n != sheets.size(); ++n) { | ~~^~~~~~~~~~~~~~~~ In file included from src/level_object.cpp:11: src/level_object.hpp: In constructor 'level_object::level_object(variant, const char*)': src/level_object.hpp:146:13: warning: 'level_object::traction_' will be initialized after [-Wreorder] 146 | int traction_; | ^~~~~~~~~ src/level_object.hpp:144:13: warning: 'int level_object::damage_' [-Wreorder] 144 | int damage_; | ^~~~~~~ src/level_object.cpp:305:1: warning: when initialized here [-Wreorder] 305 | level_object::level_object(variant node, const char* id) | ^~~~~~~~~~~~ src/level_object.cpp:381:66: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 381 | for(int n = 0; n != surf->w*surf->h && n != solid_.size(); ++n) { | ~~^~~~~~~~~~~~~~~~ In file included from /usr/include/boost/assert.hpp:58, from /usr/include/boost/array.hpp:46, from /usr/include/boost/lexical_cast/detail/converter_lexical.hpp:50, from /usr/include/boost/lexical_cast/try_lexical_convert.hpp:44, from /usr/include/boost/lexical_cast.hpp:32, from src/string_utils.hpp:21, from src/level_object.cpp:15: src/level_object.cpp:500:76: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 500 | assert(heights_index >= 0 && heights_index < heights.size()); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.cpp:523:68: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 523 | assert(index >= 0 && index < solid_.size()); | ~~~~~~^~~~~~~~~~~~~~~ src/level_object.cpp: In static member function 'static void level_object::write_compiled()': src/level_object.cpp:651:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 651 | for(int n = 0; n <= level_object_index.size()/64; ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/level_object.cpp:656:37: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 656 | for(int m = n*64; m < level_object_index.size() && m < (n+1)*64; ++m) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/level_object.cpp: In function 'void {anonymous}::load_compiled_tiles(int)': src/level_object.cpp:676:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 676 | if(starting_index >= compiled_tiles.size()) { | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/level_object.cpp: In static member function 'static const_level_object_ptr level_object::get_compiled(const char*)': src/level_object.cpp:689:18: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 689 | if(index >= compiled_tiles.size() || !compiled_tiles[index]) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/level_object.cpp:7: src/level_object.cpp:693:26: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 693 | ASSERT_LOG(index >= compiled_tiles.size() || compiled_tiles[index], "COULD NOT LOAD COMPILED TILE: " << std::string(buf, buf+3) << " -> " << index); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/asserts.hpp:65:33: note: in definition of macro 'ASSERT_LOG' 65 | #define ASSERT_LOG(_a,_b) if( !(_a) ) { std::ostringstream _s; _s << __FILE__ << ":" << __LINE__ << " ASSERTION FAILED: " << _b << "\n"; if(throw_validation_failure_on_assert()) { throw validation_failure_exception(_s.str()); } else { std::cerr << _s.str(); output_backtrace(); report_assert_msg(_s.str()); abort(); } } | ^~ src/level_object.cpp: In member function 'level_object_ptr level_object::record_zorder(int) const': src/level_object.cpp:714:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 714 | for(int n = 0; n != palettes.size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~ src/level_object.cpp:724:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 724 | for(int n = 0; n != palettes.size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/boost/assert.hpp:58, from /usr/include/boost/array.hpp:46, from /usr/include/boost/lexical_cast/detail/converter_lexical.hpp:50, from /usr/include/boost/lexical_cast/try_lexical_convert.hpp:44, from /usr/include/boost/lexical_cast.hpp:32, from src/string_utils.hpp:21, from src/level_object.cpp:15: src/level_object.cpp: In member function 'bool level_object::is_solid(int, int) const': src/level_object.cpp:777:36: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 777 | assert(index >= 0 && index < solid_.size()); | ~~~~~~^~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/level_object.cpp > level_object.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/movement_script.cpp In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/custom_object_functions.hpp:6, from src/movement_script.cpp:1: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ src/movement_script.cpp: In member function 'active_movement_script_ptr movement_script::begin_execution(const game_logic::formula_callable&) const': src/movement_script.cpp:58:34: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 58 | for(int n = 0; n != v.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/movement_script.cpp > movement_script.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/load_level_nothread.cpp In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/level.hpp:20, from src/load_level_nothread.cpp:6: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/custom_object.hpp:15, from src/gui_formula_functions.hpp:4, from src/level.hpp:24, from src/load_level_nothread.cpp:6: src/draw_scene.hpp: In constructor 'screen_position::screen_position()': src/draw_scene.hpp:29:13: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:17: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:9: warning: when initialized here [-Wreorder] 19 | screen_position() : init(false), x(0), y(0), focus_x(0), focus_y(0), | ^~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/custom_object.hpp:25, from src/gui_formula_functions.hpp:4, from src/level.hpp:24, from src/load_level_nothread.cpp:6: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/custom_object.hpp:25, from src/gui_formula_functions.hpp:4, from src/level.hpp:24, from src/load_level_nothread.cpp:6: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ In file included from src/level.hpp:25, from src/load_level_nothread.cpp:6: src/hex_map.hpp: In constructor 'hex::hex_map::hex_map()': src/hex_map.hpp:68:13: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:16: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:9: warning: when initialized here [-Wreorder] 26 | hex_map() : zorder_(-1000), width_(0), height_(0), x_(0), y_(0) | ^~~~~~~ In file included from src/level.hpp:26, from src/load_level_nothread.cpp:6: src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:45:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 45 | return a.y < b.y || a.y == b.y && a.x < b.x; | ~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const std::pair&) const': src/level_object.hpp:49:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 49 | return a.y < b.second || a.y == b.second && a.x < b.first; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const std::pair&, const level_tile&) const': src/level_object.hpp:53:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 53 | return a.second < b.y || a.second == b.y && a.first < b.x; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_zorder_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:59:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp:59:119: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from src/level.hpp:31, from src/load_level_nothread.cpp:6: src/tile_map.hpp: In constructor 'tile_map::pattern_index_entry::pattern_index_entry()': src/tile_map.hpp:75:58: warning: comparison of integer expressions of different signedness: 'int' and 'boost::array::size_type' {aka 'unsigned int'} [-Wsign-compare] 75 | pattern_index_entry() { for(int n = 0; n != str.size(); ++n) { str[n] = 0; } } | ~~^~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/load_level_nothread.cpp > load_level_nothread.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/options_dialog.cpp In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/widget.hpp:19, from src/dialog.hpp:17, from src/options_dialog.cpp:18: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/dialog.hpp:17, from src/options_dialog.cpp:18: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/dialog.hpp:17, from src/options_dialog.cpp:18: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/options_dialog.cpp > options_dialog.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/main.cpp In file included from /usr/include/boost/bind.hpp:30, from src/main.cpp:8: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/custom_object_type.hpp:11, from src/custom_object.hpp:13, from src/main.cpp:20: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/custom_object.hpp:15, from src/main.cpp:20: src/draw_scene.hpp: In constructor 'screen_position::screen_position()': src/draw_scene.hpp:29:13: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:17: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:9: warning: when initialized here [-Wreorder] 19 | screen_position() : init(false), x(0), y(0), focus_x(0), focus_y(0), | ^~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/custom_object.hpp:25, from src/main.cpp:20: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/custom_object.hpp:25, from src/main.cpp:20: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ In file included from src/level.hpp:25, from src/editor.hpp:13, from src/main.cpp:25: src/hex_map.hpp: In constructor 'hex::hex_map::hex_map()': src/hex_map.hpp:68:13: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:16: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:9: warning: when initialized here [-Wreorder] 26 | hex_map() : zorder_(-1000), width_(0), height_(0), x_(0), y_(0) | ^~~~~~~ In file included from src/level.hpp:26, from src/editor.hpp:13, from src/main.cpp:25: src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:45:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 45 | return a.y < b.y || a.y == b.y && a.x < b.x; | ~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const std::pair&) const': src/level_object.hpp:49:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 49 | return a.y < b.second || a.y == b.second && a.x < b.first; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const std::pair&, const level_tile&) const': src/level_object.hpp:53:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 53 | return a.second < b.y || a.second == b.y && a.first < b.x; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_zorder_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:59:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp:59:119: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from src/level.hpp:31, from src/editor.hpp:13, from src/main.cpp:25: src/tile_map.hpp: In constructor 'tile_map::pattern_index_entry::pattern_index_entry()': src/tile_map.hpp:75:58: warning: comparison of integer expressions of different signedness: 'int' and 'boost::array::size_type' {aka 'unsigned int'} [-Wsign-compare] 75 | pattern_index_entry() { for(int n = 0; n != str.size(); ++n) { str[n] = 0; } } | ~~^~~~~~~~~~~~~ In file included from src/debug_console.hpp:10, from src/level_runner.hpp:10, from src/main.cpp:43: src/text_editor_widget.hpp: In member function 'bool gui::text_editor_widget::Loc::operator<(const gui::text_editor_widget::Loc&) const': src/text_editor_widget.hpp:41:89: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 41 | bool operator<(const Loc& o) const { return row < o.row || row == o.row && col < o.col; } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ src/main.cpp: In function 'int main(int, char**)': src/main.cpp:285:27: warning: unused variable 'argc' [-Wunused-variable] 285 | const int argc = argv.size(); | ^~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/main.cpp > main.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/player_info.cpp g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/player_info.cpp > player_info.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/level_runner.cpp In file included from /usr/include/boost/bind.hpp:30, from src/level_runner.cpp:4: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/custom_object_type.hpp:11, from src/custom_object.hpp:13, from src/level_runner.cpp:13: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/custom_object.hpp:15, from src/level_runner.cpp:13: src/draw_scene.hpp: In constructor 'screen_position::screen_position()': src/draw_scene.hpp:29:13: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:17: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:9: warning: when initialized here [-Wreorder] 19 | screen_position() : init(false), x(0), y(0), focus_x(0), focus_y(0), | ^~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/custom_object.hpp:25, from src/level_runner.cpp:13: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/custom_object.hpp:25, from src/level_runner.cpp:13: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ In file included from src/level.hpp:25, from src/debug_console.hpp:9, from src/level_runner.cpp:15: src/hex_map.hpp: In constructor 'hex::hex_map::hex_map()': src/hex_map.hpp:68:13: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:16: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:9: warning: when initialized here [-Wreorder] 26 | hex_map() : zorder_(-1000), width_(0), height_(0), x_(0), y_(0) | ^~~~~~~ In file included from src/level.hpp:26, from src/debug_console.hpp:9, from src/level_runner.cpp:15: src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:45:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 45 | return a.y < b.y || a.y == b.y && a.x < b.x; | ~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const std::pair&) const': src/level_object.hpp:49:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 49 | return a.y < b.second || a.y == b.second && a.x < b.first; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const std::pair&, const level_tile&) const': src/level_object.hpp:53:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 53 | return a.second < b.y || a.second == b.y && a.first < b.x; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_zorder_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:59:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp:59:119: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from src/level.hpp:31, from src/debug_console.hpp:9, from src/level_runner.cpp:15: src/tile_map.hpp: In constructor 'tile_map::pattern_index_entry::pattern_index_entry()': src/tile_map.hpp:75:58: warning: comparison of integer expressions of different signedness: 'int' and 'boost::array::size_type' {aka 'unsigned int'} [-Wsign-compare] 75 | pattern_index_entry() { for(int n = 0; n != str.size(); ++n) { str[n] = 0; } } | ~~^~~~~~~~~~~~~ In file included from src/debug_console.hpp:10, from src/level_runner.cpp:15: src/text_editor_widget.hpp: In member function 'bool gui::text_editor_widget::Loc::operator<(const gui::text_editor_widget::Loc&) const': src/text_editor_widget.hpp:41:89: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 41 | bool operator<(const Loc& o) const { return row < o.row || row == o.row && col < o.col; } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ src/level_runner.cpp: In function 'void {anonymous}::iris_scene(const level&, screen_position&, float)': src/level_runner.cpp:241:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 241 | for(int n = 0; n != x_angles.size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~ src/level_runner.cpp: In function 'void {anonymous}::show_end_game()': src/level_runner.cpp:278:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] 278 | for(int n = 0; n <= msg.size(); ++n) { | ~~^~~~~~~~~~~~~ src/level_runner.cpp: In member function 'bool level_runner::play_cycle()': src/level_runner.cpp:763:20: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 763 | if(editor_ && editor_->has_keyboard_focus() || | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/level_runner.cpp:1514:19: warning: unused variable 'raw_wait_time' [-Wunused-variable] 1514 | const int raw_wait_time = desired_end_time - SDL_GetTicks(); | ^~~~~~~~~~~~~ src/level_runner.cpp: In member function 'void level_runner::reverse_cycle()': src/level_runner.cpp:1571:20: warning: unused variable 'should_draw' [-Wunused-variable] 1571 | const bool should_draw = update_camera_position(*lvl_, last_draw_position(), NULL, !is_skipping_game()); | ^~~~~~~~~~~ src/level_runner.cpp: At global scope: src/level_runner.cpp:736:6: warning: 'void {anonymous}::load_level_thread(const string&, level**)' defined but not used [-Wunused-function] 736 | void load_level_thread(const std::string& lvl, level** res) { | ^~~~~~~~~~~~~~~~~ src/level_runner.cpp:177:6: warning: 'bool {anonymous}::calculate_stencil_buffer_available()' defined but not used [-Wunused-function] 177 | bool calculate_stencil_buffer_available() { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/level_runner.cpp > level_runner.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/progress_bar.cpp In file included from /usr/include/boost/bind.hpp:30, from src/progress_bar.hpp:5, from src/progress_bar.cpp:3: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/widget.hpp:19, from src/progress_bar.hpp:11, from src/progress_bar.cpp:3: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/progress_bar.hpp:11, from src/progress_bar.cpp:3: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/progress_bar.hpp:11, from src/progress_bar.cpp:3: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ In file included from src/progress_bar.cpp:3: src/progress_bar.hpp: In constructor 'gui::progress_bar::progress_bar(int, int, int, const string&)': src/progress_bar.hpp:40:13: warning: 'gui::progress_bar::progress_' will be initialized after [-Wreorder] 40 | int progress_; | ^~~~~~~~~ src/progress_bar.hpp:38:13: warning: 'int gui::progress_bar::min_' [-Wreorder] 38 | int min_; | ^~~~ src/progress_bar.cpp:8:1: warning: when initialized here [-Wreorder] 8 | progress_bar::progress_bar(int progress, int minv, int maxv, const std::string& gui_set) | ^~~~~~~~~~~~ In file included from src/progress_bar.cpp:3: src/progress_bar.hpp:45:14: warning: 'gui::progress_bar::upscale_' will be initialized after [-Wreorder] 45 | bool upscale_; | ^~~~~~~~ src/progress_bar.hpp:35:25: warning: 'graphics::color gui::progress_bar::color_' [-Wreorder] 35 | graphics::color color_; | ^~~~~~ src/progress_bar.cpp:8:1: warning: when initialized here [-Wreorder] 8 | progress_bar::progress_bar(int progress, int minv, int maxv, const std::string& gui_set) | ^~~~~~~~~~~~ In file included from src/progress_bar.cpp:3: src/progress_bar.hpp: In constructor 'gui::progress_bar::progress_bar(const variant&, game_logic::formula_callable*)': src/progress_bar.hpp:41:14: warning: 'gui::progress_bar::completion_called_' will be initialized after [-Wreorder] 41 | bool completion_called_; | ^~~~~~~~~~~~~~~~~~ src/progress_bar.hpp:40:13: warning: 'int gui::progress_bar::progress_' [-Wreorder] 40 | int progress_; | ^~~~~~~~~ src/progress_bar.cpp:17:1: warning: when initialized here [-Wreorder] 17 | progress_bar::progress_bar(const variant& v, game_logic::formula_callable* e) | ^~~~~~~~~~~~ In file included from src/progress_bar.cpp:3: src/progress_bar.hpp:40:13: warning: 'gui::progress_bar::progress_' will be initialized after [-Wreorder] 40 | int progress_; | ^~~~~~~~~ src/progress_bar.hpp:38:13: warning: 'int gui::progress_bar::min_' [-Wreorder] 38 | int min_; | ^~~~ src/progress_bar.cpp:17:1: warning: when initialized here [-Wreorder] 17 | progress_bar::progress_bar(const variant& v, game_logic::formula_callable* e) | ^~~~~~~~~~~~ In file included from src/progress_bar.cpp:3: src/progress_bar.hpp:39:13: warning: 'gui::progress_bar::max_' will be initialized after [-Wreorder] 39 | int max_; | ^~~~ src/progress_bar.hpp:36:13: warning: 'int gui::progress_bar::hpad_' [-Wreorder] 36 | int hpad_; | ^~~~~ src/progress_bar.cpp:17:1: warning: when initialized here [-Wreorder] 17 | progress_bar::progress_bar(const variant& v, game_logic::formula_callable* e) | ^~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/progress_bar.cpp > progress_bar.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/preprocessor.cpp In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/preprocessor.cpp:7: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ src/preprocessor.cpp: In function 'std::string preprocess(const string&)': src/preprocessor.cpp:29:44: warning: comparison of integer expressions of different signedness: '__gnu_cxx::__normal_iterator >::difference_type' {aka 'int'} and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] 29 | if(input.end() - i > IncludeString.size() && std::equal(IncludeString.begin(), IncludeString.end(), i)) { | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/preprocessor.cpp > preprocessor.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/preview_tileset_widget.cpp In file included from src/preview_tileset_widget.hpp:4, from src/preview_tileset_widget.cpp:4: src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:45:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 45 | return a.y < b.y || a.y == b.y && a.x < b.x; | ~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const std::pair&) const': src/level_object.hpp:49:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 49 | return a.y < b.second || a.y == b.second && a.x < b.first; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const std::pair&, const level_tile&) const': src/level_object.hpp:53:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 53 | return a.second < b.y || a.second == b.y && a.first < b.x; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_zorder_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:59:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp:59:119: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/widget.hpp:19, from src/preview_tileset_widget.hpp:5, from src/preview_tileset_widget.cpp:4: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/preview_tileset_widget.hpp:5, from src/preview_tileset_widget.cpp:4: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/preview_tileset_widget.hpp:5, from src/preview_tileset_widget.cpp:4: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ In file included from src/preview_tileset_widget.cpp:5: src/tile_map.hpp: In constructor 'tile_map::pattern_index_entry::pattern_index_entry()': src/tile_map.hpp:75:58: warning: comparison of integer expressions of different signedness: 'int' and 'boost::array::size_type' {aka 'unsigned int'} [-Wsign-compare] 75 | pattern_index_entry() { for(int n = 0; n != str.size(); ++n) { str[n] = 0; } } | ~~^~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/preview_tileset_widget.cpp > preview_tileset_widget.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/particle_system.cpp In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/particle_system.cpp:10: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ src/particle_system.cpp: In constructor '{anonymous}::particle_animation::particle_animation(variant)': src/particle_system.cpp:45:27: warning: unused variable 'pad' [-Wunused-variable] 45 | const int pad = node["pad"].as_int(); | ^~~ src/particle_system.cpp: In member function 'const {anonymous}::particle_animation::frame_area& {anonymous}::particle_animation::get_frame(int) const': src/particle_system.cpp:84:33: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<{anonymous}::particle_animation::frame_area>::size_type' {aka 'unsigned int'} [-Wsign-compare] 84 | } else if(index >= frames_.size()) { | ~~~~~~^~~~~~~~~~~~~~~~~ src/particle_system.cpp: In member function 'virtual bool {anonymous}::simple_particle_system::is_destroyed() const': src/particle_system.cpp:202:101: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 202 | bool is_destroyed() const { return info_.system_time_to_live_ == 0 || info_.spawn_rate_ < 0 && particles_.empty(); } | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ src/particle_system.cpp: In constructor '{anonymous}::point_particle_info::point_particle_info(variant)': src/particle_system.cpp:679:22: warning: '{anonymous}::point_particle_info::accel_y' will be initialized after [-Wreorder] 679 | int accel_x, accel_y; | ^~~~~~~ src/particle_system.cpp:678:37: warning: 'int {anonymous}::point_particle_info::velocity_x_rand' [-Wreorder] 678 | int velocity_x, velocity_y, velocity_x_rand, velocity_y_rand; | ^~~~~~~~~~~~~~~ src/particle_system.cpp:610:18: warning: when initialized here [-Wreorder] 610 | explicit point_particle_info(variant node) | ^~~~~~~~~~~~~~~~~~~ src/particle_system.cpp:685:14: warning: '{anonymous}::point_particle_info::dot_rounded' will be initialized after [-Wreorder] 685 | bool dot_rounded; | ^~~~~~~~~~~ src/particle_system.cpp:680:13: warning: 'int {anonymous}::point_particle_info::time_to_live' [-Wreorder] 680 | int time_to_live, time_to_live_max; | ^~~~~~~~~~~~ src/particle_system.cpp:610:18: warning: when initialized here [-Wreorder] 610 | explicit point_particle_info(variant node) | ^~~~~~~~~~~~~~~~~~~ src/particle_system.cpp:641:42: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 641 | for(int n = 0; n != v.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/particle_system.cpp > particle_system.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/pause_game_dialog.cpp In file included from /usr/include/boost/bind.hpp:30, from src/pause_game_dialog.cpp:1: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/widget.hpp:19, from src/button.hpp:19, from src/pause_game_dialog.cpp:3: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/button.hpp:19, from src/pause_game_dialog.cpp:3: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/button.hpp:19, from src/pause_game_dialog.cpp:3: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ In file included from src/pause_game_dialog.cpp:8: src/draw_scene.hpp: In constructor 'screen_position::screen_position()': src/draw_scene.hpp:29:13: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:17: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:9: warning: when initialized here [-Wreorder] 19 | screen_position() : init(false), x(0), y(0), focus_x(0), focus_y(0), | ^~~~~~~~~~~~~~~ In file included from src/level.hpp:25, from src/pause_game_dialog.cpp:11: src/hex_map.hpp: In constructor 'hex::hex_map::hex_map()': src/hex_map.hpp:68:13: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:16: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:9: warning: when initialized here [-Wreorder] 26 | hex_map() : zorder_(-1000), width_(0), height_(0), x_(0), y_(0) | ^~~~~~~ In file included from src/level.hpp:26, from src/pause_game_dialog.cpp:11: src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:45:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 45 | return a.y < b.y || a.y == b.y && a.x < b.x; | ~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const std::pair&) const': src/level_object.hpp:49:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 49 | return a.y < b.second || a.y == b.second && a.x < b.first; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const std::pair&, const level_tile&) const': src/level_object.hpp:53:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 53 | return a.second < b.y || a.second == b.y && a.first < b.x; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_zorder_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:59:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp:59:119: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from src/level.hpp:31, from src/pause_game_dialog.cpp:11: src/tile_map.hpp: In constructor 'tile_map::pattern_index_entry::pattern_index_entry()': src/tile_map.hpp:75:58: warning: comparison of integer expressions of different signedness: 'int' and 'boost::array::size_type' {aka 'unsigned int'} [-Wsign-compare] 75 | pattern_index_entry() { for(int n = 0; n != str.size(); ++n) { str[n] = 0; } } | ~~^~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/pause_game_dialog.cpp > pause_game_dialog.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/random.cpp g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/random.cpp > random.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/module.cpp In file included from /usr/include/boost/bind.hpp:30, from src/module.cpp:3: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ src/module.cpp: In function 'std::string module::get_module_version()': src/module.cpp:57:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 57 | for(int n = 1; n < v.size(); ++n) { | ~~^~~~~~~~~~ src/module.cpp: In function 'std::string module::make_module_id(const string&)': src/module.cpp:147:17: warning: comparison of integer expressions of different signedness: 'int' and 'const size_type' {aka 'const unsigned int'} [-Wsign-compare] 147 | if(spos == std::string::npos) { | ~~~~~^~~~~~~~~~~~~~~~~~~~ src/module.cpp:150:17: warning: comparison of integer expressions of different signedness: 'int' and 'const size_type' {aka 'const unsigned int'} [-Wsign-compare] 150 | if(spos != std::string::npos) { | ~~~~~^~~~~~~~~~~~~~~~~~~~ src/module.cpp: In function 'bool module::{anonymous}::is_valid_module_id(const string&)': src/module.cpp:351:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] 351 | for(int n = 0; n != id.size(); ++n) { | ~~^~~~~~~~~~~~ In file included from src/module.cpp:5: src/module.cpp: In function 'void module::UTILITY_publish_module(const std::vector >&)': src/module.cpp:482:149: warning: comparison of integer expressions of different signedness: 'std::__iterator_traits<__gnu_cxx::__normal_iterator >, void>::difference_type' {aka 'int'} and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] 482 | ASSERT_LOG(std::count_if(module_id.begin(), module_id.end(), isalnum) + std::count(module_id.begin(), module_id.end(), '_') == module_id.size(), "ILLEGAL ARGUMENT: " << module_id); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ src/asserts.hpp:65:33: note: in definition of macro 'ASSERT_LOG' 65 | #define ASSERT_LOG(_a,_b) if( !(_a) ) { std::ostringstream _s; _s << __FILE__ << ":" << __LINE__ << " ASSERTION FAILED: " << _b << "\n"; if(throw_validation_failure_on_assert()) { throw validation_failure_exception(_s.str()); } else { std::cerr << _s.str(); output_backtrace(); report_assert_msg(_s.str()); abort(); } } | ^~ src/module.cpp: In function 'bool module::{anonymous}::is_module_path_valid(const string&)': src/module.cpp:519:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] 519 | for(int n = 1; n < str.size(); ++n) { | ~~^~~~~~~~~~~~ src/module.cpp:526:115: warning: comparison of integer expressions of different signedness: 'std::__iterator_traits<__gnu_cxx::__normal_iterator >, void>::difference_type' {aka 'int'} and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] 526 | return str.empty() == false && isalnum(str[0]) && std::count_if(str.begin(), str.end(), valid_path_chars) == str.size(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from src/module.cpp:5: src/module.cpp: In member function 'void module::client::on_response(std::string)': src/module.cpp:648:76: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 648 | ASSERT_LOG(begin >= 0 && end >= 0 && begin <= data.size() && end <= data.size(), "INVALID PATH INDEXES FOR " << path_str << ": " << begin << "," << end << " / " << data.size()); | ~~~~~~^~~~~~~~~~~~~~ src/asserts.hpp:65:33: note: in definition of macro 'ASSERT_LOG' 65 | #define ASSERT_LOG(_a,_b) if( !(_a) ) { std::ostringstream _s; _s << __FILE__ << ":" << __LINE__ << " ASSERTION FAILED: " << _b << "\n"; if(throw_validation_failure_on_assert()) { throw validation_failure_exception(_s.str()); } else { std::cerr << _s.str(); output_backtrace(); report_assert_msg(_s.str()); abort(); } } | ^~ src/module.cpp:648:98: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 648 | ASSERT_LOG(begin >= 0 && end >= 0 && begin <= data.size() && end <= data.size(), "INVALID PATH INDEXES FOR " << path_str << ": " << begin << "," << end << " / " << data.size()); | ~~~~^~~~~~~~~~~~~~ src/asserts.hpp:65:33: note: in definition of macro 'ASSERT_LOG' 65 | #define ASSERT_LOG(_a,_b) if( !(_a) ) { std::ostringstream _s; _s << __FILE__ << ":" << __LINE__ << " ASSERTION FAILED: " << _b << "\n"; if(throw_validation_failure_on_assert()) { throw validation_failure_exception(_s.str()); } else { std::cerr << _s.str(); output_backtrace(); report_assert_msg(_s.str()); abort(); } } | ^~ src/module.cpp: In function 'void module::UTILITY_install_module(const std::vector >&)': src/module.cpp:784:60: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 784 | ASSERT_LOG(begin >= 0 && end >= 0 && begin <= data.size() && end <= data.size(), "INVALID PATH INDEXES FOR " << path_str << ": " << begin << "," << end << " / " << data.size()); | ~~~~~~^~~~~~~~~~~~~~ src/asserts.hpp:65:33: note: in definition of macro 'ASSERT_LOG' 65 | #define ASSERT_LOG(_a,_b) if( !(_a) ) { std::ostringstream _s; _s << __FILE__ << ":" << __LINE__ << " ASSERTION FAILED: " << _b << "\n"; if(throw_validation_failure_on_assert()) { throw validation_failure_exception(_s.str()); } else { std::cerr << _s.str(); output_backtrace(); report_assert_msg(_s.str()); abort(); } } | ^~ src/module.cpp:784:82: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 784 | ASSERT_LOG(begin >= 0 && end >= 0 && begin <= data.size() && end <= data.size(), "INVALID PATH INDEXES FOR " << path_str << ": " << begin << "," << end << " / " << data.size()); | ~~~~^~~~~~~~~~~~~~ src/asserts.hpp:65:33: note: in definition of macro 'ASSERT_LOG' 65 | #define ASSERT_LOG(_a,_b) if( !(_a) ) { std::ostringstream _s; _s << __FILE__ << ":" << __LINE__ << " ASSERTION FAILED: " << _b << "\n"; if(throw_validation_failure_on_assert()) { throw validation_failure_exception(_s.str()); } else { std::cerr << _s.str(); output_backtrace(); report_assert_msg(_s.str()); abort(); } } | ^~ src/module.cpp: In function 'void module::UTILITY_publish_module_stats(const std::vector >&)': src/module.cpp:811:149: warning: comparison of integer expressions of different signedness: 'std::__iterator_traits<__gnu_cxx::__normal_iterator >, void>::difference_type' {aka 'int'} and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] 811 | ASSERT_LOG(std::count_if(module_id.begin(), module_id.end(), isalnum) + std::count(module_id.begin(), module_id.end(), '_') == module_id.size(), "ILLEGAL ARGUMENT: " << module_id); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ src/asserts.hpp:65:33: note: in definition of macro 'ASSERT_LOG' 65 | #define ASSERT_LOG(_a,_b) if( !(_a) ) { std::ostringstream _s; _s << __FILE__ << ":" << __LINE__ << " ASSERTION FAILED: " << _b << "\n"; if(throw_validation_failure_on_assert()) { throw validation_failure_exception(_s.str()); } else { std::cerr << _s.str(); output_backtrace(); report_assert_msg(_s.str()); abort(); } } | ^~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/module.cpp > module.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/pathfinding.cpp In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/level.hpp:20, from src/pathfinding.cpp:4: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/custom_object.hpp:15, from src/gui_formula_functions.hpp:4, from src/level.hpp:24, from src/pathfinding.cpp:4: src/draw_scene.hpp: In constructor 'screen_position::screen_position()': src/draw_scene.hpp:29:13: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:17: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:9: warning: when initialized here [-Wreorder] 19 | screen_position() : init(false), x(0), y(0), focus_x(0), focus_y(0), | ^~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/custom_object.hpp:25, from src/gui_formula_functions.hpp:4, from src/level.hpp:24, from src/pathfinding.cpp:4: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/custom_object.hpp:25, from src/gui_formula_functions.hpp:4, from src/level.hpp:24, from src/pathfinding.cpp:4: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ In file included from src/level.hpp:25, from src/pathfinding.cpp:4: src/hex_map.hpp: In constructor 'hex::hex_map::hex_map()': src/hex_map.hpp:68:13: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:16: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:9: warning: when initialized here [-Wreorder] 26 | hex_map() : zorder_(-1000), width_(0), height_(0), x_(0), y_(0) | ^~~~~~~ In file included from src/level.hpp:26, from src/pathfinding.cpp:4: src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:45:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 45 | return a.y < b.y || a.y == b.y && a.x < b.x; | ~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const std::pair&) const': src/level_object.hpp:49:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 49 | return a.y < b.second || a.y == b.second && a.x < b.first; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const std::pair&, const level_tile&) const': src/level_object.hpp:53:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 53 | return a.second < b.y || a.second == b.y && a.first < b.x; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_zorder_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:59:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp:59:119: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from src/level.hpp:31, from src/pathfinding.cpp:4: src/tile_map.hpp: In constructor 'tile_map::pattern_index_entry::pattern_index_entry()': src/tile_map.hpp:75:58: warning: comparison of integer expressions of different signedness: 'int' and 'boost::array::size_type' {aka 'unsigned int'} [-Wsign-compare] 75 | pattern_index_entry() { for(int n = 0; n != str.size(); ++n) { str[n] = 0; } } | ~~^~~~~~~~~~~~~ In file included from src/pathfinding.cpp:5: src/pathfinding.hpp: In instantiation of 'pathfinding::graph_node::graph_node(const N&) [with N = variant; T = decimal]': src/pathfinding.hpp:129:109: required from here src/pathfinding.hpp:83:11: warning: 'pathfinding::graph_node::src_' will be initialized after [-Wreorder] 83 | N src_; | ^~~~ src/pathfinding.hpp:82:11: warning: 'decimal pathfinding::graph_node::f_' [-Wreorder] 82 | T f_, g_, h_; | ^~ src/pathfinding.hpp:42:9: warning: when initialized here [-Wreorder] 42 | graph_node(const N& src) | ^~~~~~~~~~ src/pathfinding.hpp: In instantiation of 'pathfinding::graph_node::graph_node(const N&) [with N = point; T = double]': src/pathfinding.cpp:267:134: required from here src/pathfinding.hpp:83:11: warning: 'pathfinding::graph_node::src_' will be initialized after [-Wreorder] 83 | N src_; | ^~~~ src/pathfinding.hpp:82:11: warning: 'double pathfinding::graph_node::f_' [-Wreorder] 82 | T f_, g_, h_; | ^~ src/pathfinding.hpp:42:9: warning: when initialized here [-Wreorder] 42 | graph_node(const N& src) | ^~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/pathfinding.cpp > pathfinding.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/module_web_server.cpp In file included from /usr/include/boost/bind.hpp:30, from src/module_web_server.cpp:3: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from src/module_web_server.cpp:11: src/module_web_server.cpp: In member function 'virtual void module_web_server::handle_post(http::web_server::socket_ptr, variant, const environment&)': src/module_web_server.cpp:58:149: warning: comparison of integer expressions of different signedness: 'std::__iterator_traits<__gnu_cxx::__normal_iterator >, void>::difference_type' {aka 'int'} and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] 58 | ASSERT_LOG(std::count_if(module_id.begin(), module_id.end(), isalnum) + std::count(module_id.begin(), module_id.end(), '_') == module_id.size(), "ILLEGAL MODULE ID"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ src/asserts.hpp:65:33: note: in definition of macro 'ASSERT_LOG' 65 | #define ASSERT_LOG(_a,_b) if( !(_a) ) { std::ostringstream _s; _s << __FILE__ << ":" << __LINE__ << " ASSERTION FAILED: " << _b << "\n"; if(throw_validation_failure_on_assert()) { throw validation_failure_exception(_s.str()); } else { std::cerr << _s.str(); output_backtrace(); report_assert_msg(_s.str()); abort(); } } | ^~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/module_web_server.cpp > module_web_server.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/sys.cpp g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/sys.cpp > sys.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/playable_custom_object.cpp In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/level.hpp:20, from src/playable_custom_object.cpp:7: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/custom_object.hpp:15, from src/gui_formula_functions.hpp:4, from src/level.hpp:24, from src/playable_custom_object.cpp:7: src/draw_scene.hpp: In constructor 'screen_position::screen_position()': src/draw_scene.hpp:29:13: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:17: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:9: warning: when initialized here [-Wreorder] 19 | screen_position() : init(false), x(0), y(0), focus_x(0), focus_y(0), | ^~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/custom_object.hpp:25, from src/gui_formula_functions.hpp:4, from src/level.hpp:24, from src/playable_custom_object.cpp:7: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/custom_object.hpp:25, from src/gui_formula_functions.hpp:4, from src/level.hpp:24, from src/playable_custom_object.cpp:7: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ In file included from src/level.hpp:25, from src/playable_custom_object.cpp:7: src/hex_map.hpp: In constructor 'hex::hex_map::hex_map()': src/hex_map.hpp:68:13: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:16: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:9: warning: when initialized here [-Wreorder] 26 | hex_map() : zorder_(-1000), width_(0), height_(0), x_(0), y_(0) | ^~~~~~~ In file included from src/level.hpp:26, from src/playable_custom_object.cpp:7: src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:45:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 45 | return a.y < b.y || a.y == b.y && a.x < b.x; | ~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const std::pair&) const': src/level_object.hpp:49:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 49 | return a.y < b.second || a.y == b.second && a.x < b.first; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const std::pair&, const level_tile&) const': src/level_object.hpp:53:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 53 | return a.second < b.y || a.second == b.y && a.first < b.x; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_zorder_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:59:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp:59:119: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from src/level.hpp:31, from src/playable_custom_object.cpp:7: src/tile_map.hpp: In constructor 'tile_map::pattern_index_entry::pattern_index_entry()': src/tile_map.hpp:75:58: warning: comparison of integer expressions of different signedness: 'int' and 'boost::array::size_type' {aka 'unsigned int'} [-Wsign-compare] 75 | pattern_index_entry() { for(int n = 0; n != str.size(); ++n) { str[n] = 0; } } | ~~^~~~~~~~~~~~~ src/playable_custom_object.cpp: In member function 'virtual variant playable_custom_object::get_value(const string&) const': src/playable_custom_object.cpp:243:26: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 243 | for(int n = 0; n < sizeof(ctrl)/sizeof(*ctrl); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/playable_custom_object.cpp: In member function 'virtual void playable_custom_object::set_value(const string&, const variant&)': src/playable_custom_object.cpp:273:42: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 273 | for(int n = 0; n != value.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/playable_custom_object.cpp > playable_custom_object.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/raster_distortion.cpp g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/raster_distortion.cpp > raster_distortion.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/settings_dialog.cpp src/settings_dialog.cpp: In member function 'void settings_dialog::draw(bool) const': src/settings_dialog.cpp:18:13: warning: unused variable 'sh' [-Wunused-variable] 18 | int sh = graphics::screen_height(); | ^~ src/settings_dialog.cpp: In member function 'bool settings_dialog::handle_event(const SDL_Event&)': src/settings_dialog.cpp:31:13: warning: unused variable 'sh' [-Wunused-variable] 31 | int sh = graphics::screen_height(); | ^~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/settings_dialog.cpp > settings_dialog.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/raster.cpp In file included from src/raster.cpp:15: src/raster.cpp: In function 'void graphics::{anonymous}::detect_draw(const graphics::texture&, int, int, int, int, GLfloat, GLfloat, GLfloat, GLfloat)': src/raster.cpp:327:78: warning: comparison of integer expressions of different signedness: 'const int' and 'unsigned int' [-Wsign-compare] 327 | ASSERT_LOG(texture_x < tex.width(), texture_x << " < " << tex.width() << " " << r.x() << " " << r.x2() << " " << xpos << " x: " << x1 << " x2: " << x2 << " u: " << u << "\n"); | ~~~~~~~~~~^~~~~~~~~~~~~ src/asserts.hpp:65:33: note: in definition of macro 'ASSERT_LOG' 65 | #define ASSERT_LOG(_a,_b) if( !(_a) ) { std::ostringstream _s; _s << __FILE__ << ":" << __LINE__ << " ASSERTION FAILED: " << _b << "\n"; if(throw_validation_failure_on_assert()) { throw validation_failure_exception(_s.str()); } else { std::cerr << _s.str(); output_backtrace(); report_assert_msg(_s.str()); abort(); } } | ^~ src/asserts.hpp:59:31: warning: comparison of integer expressions of different signedness: 'const int' and 'unsigned int' [-Wsign-compare] 59 | #define ASSERT_LT(a,b) if((a) >= (b)) { std::ostringstream s; s << __FILE__ << ":" << __LINE__ << " ASSERT LT FAILED: " << #a << " >= " << #b << ": " << (a) << " >= " << (b) << "\n"; if(throw_validation_failure_on_assert()) { throw validation_failure_exception(s.str()); } else { std::cerr << s.str(); output_backtrace(); report_assert_msg(s.str()); abort(); } } | ~~~~^~~~~~ src/raster.cpp:328:57: note: in expansion of macro 'ASSERT_LT' 328 | ASSERT_LT(texture_x, tex.width()); | ^~~~~~~~~ src/asserts.hpp:59:31: warning: comparison of integer expressions of different signedness: 'const int' and 'unsigned int' [-Wsign-compare] 59 | #define ASSERT_LT(a,b) if((a) >= (b)) { std::ostringstream s; s << __FILE__ << ":" << __LINE__ << " ASSERT LT FAILED: " << #a << " >= " << #b << ": " << (a) << " >= " << (b) << "\n"; if(throw_validation_failure_on_assert()) { throw validation_failure_exception(s.str()); } else { std::cerr << s.str(); output_backtrace(); report_assert_msg(s.str()); abort(); } } | ~~~~^~~~~~ src/raster.cpp:329:57: note: in expansion of macro 'ASSERT_LT' 329 | ASSERT_LT(texture_y, tex.height()); | ^~~~~~~~~ src/raster.cpp: At global scope: src/raster.cpp:470:21: warning: 'graphics::{anonymous}::blit_texture_translate_y' defined but not used [-Wunused-variable] 470 | int blit_texture_translate_y = 0; | ^~~~~~~~~~~~~~~~~~~~~~~~ src/raster.cpp:469:21: warning: 'graphics::{anonymous}::blit_texture_translate_x' defined but not used [-Wunused-variable] 469 | int blit_texture_translate_x = 0; | ^~~~~~~~~~~~~~~~~~~~~~~~ src/raster.cpp:252:23: warning: 'graphics::{anonymous}::draw_detection_buf_' defined but not used [-Wunused-variable] 252 | char* draw_detection_buf_; | ^~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/raster.cpp > raster.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/multi_tile_pattern.cpp In file included from src/multi_tile_pattern.hpp:12, from src/multi_tile_pattern.cpp:6: src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:45:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 45 | return a.y < b.y || a.y == b.y && a.x < b.x; | ~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const std::pair&) const': src/level_object.hpp:49:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 49 | return a.y < b.second || a.y == b.second && a.x < b.first; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const std::pair&, const level_tile&) const': src/level_object.hpp:53:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 53 | return a.second < b.y || a.second == b.y && a.first < b.x; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_zorder_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:59:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp:59:119: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from src/multi_tile_pattern.cpp:3: src/multi_tile_pattern.cpp: In function 'int {anonymous}::parse_pattern(const string&, std::vector<{anonymous}::raw_cell>&)': src/multi_tile_pattern.cpp:85:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 85 | ASSERT_LOG(width == items.size(), "Inconsistent multi_tile_pattern size in pattern " << pattern); | ~~~~~~^~~~~~~~~~~~~~~ src/asserts.hpp:65:33: note: in definition of macro 'ASSERT_LOG' 65 | #define ASSERT_LOG(_a,_b) if( !(_a) ) { std::ostringstream _s; _s << __FILE__ << ":" << __LINE__ << " ASSERTION FAILED: " << _b << "\n"; if(throw_validation_failure_on_assert()) { throw validation_failure_exception(_s.str()); } else { std::cerr << _s.str(); output_backtrace(); report_assert_msg(_s.str()); abort(); } } | ^~ src/multi_tile_pattern.cpp:99:50: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 99 | for(int n = 0; n != arrows.size()-1; ++n) { | ~~^~~~~~~~~~~~~~~~~~ src/multi_tile_pattern.cpp:76:19: warning: unused variable 'height' [-Wunused-variable] 76 | const int height = lines.size(); | ^~~~~~ src/multi_tile_pattern.cpp: In constructor 'multi_tile_pattern::multi_tile_pattern(variant, const string&)': src/multi_tile_pattern.cpp:156:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<{anonymous}::raw_cell>::size_type' {aka 'unsigned int'} [-Wsign-compare] 156 | for(int n = 0; n != cells.size(); ++n) { | ~~^~~~~~~~~~~~~~~ In file included from src/multi_tile_pattern.cpp:3: src/asserts.hpp:59:31: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector<{anonymous}::raw_cell>::size_type' {aka 'unsigned int'} [-Wsign-compare] 59 | #define ASSERT_LT(a,b) if((a) >= (b)) { std::ostringstream s; s << __FILE__ << ":" << __LINE__ << " ASSERT LT FAILED: " << #a << " >= " << #b << ": " << (a) << " >= " << (b) << "\n"; if(throw_validation_failure_on_assert()) { throw validation_failure_exception(s.str()); } else { std::cerr << s.str(); output_backtrace(); report_assert_msg(s.str()); abort(); } } | ~~~~^~~~~~ src/multi_tile_pattern.cpp:184:33: note: in expansion of macro 'ASSERT_LT' 184 | ASSERT_LT(index, cells.size()); | ^~~~~~~~~ src/multi_tile_pattern.cpp:220:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<{anonymous}::raw_cell>::size_type' {aka 'unsigned int'} [-Wsign-compare] 220 | for(int n = 0; n != cells.size(); ++n) { | ~~^~~~~~~~~~~~~~~ In file included from src/multi_tile_pattern.cpp:3: src/asserts.hpp:49:31: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 49 | #define ASSERT_EQ(a,b) if((a) != (b)) { std::ostringstream s; s << __FILE__ << ":" << __LINE__ << " ASSERT EQ FAILED: " << #a << " != " << #b << ": " << (a) << " != " << (b) << "\n"; if(throw_validation_failure_on_assert()) { throw validation_failure_exception(s.str()); } else { std::cerr << s.str(); output_backtrace(); report_assert_msg(s.str()); abort(); } } | ~~~~^~~~~~ src/multi_tile_pattern.cpp:275:9: note: in expansion of macro 'ASSERT_EQ' 275 | ASSERT_EQ(tiles_.size(), width_*height_); | ^~~~~~~~~ src/multi_tile_pattern.cpp:303:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 303 | for(int n = 0; n != try_order_.size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~ src/multi_tile_pattern.cpp:318:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 318 | for(int n = 2; n != try_order_.size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~ src/multi_tile_pattern.cpp: In member function 'const multi_tile_pattern& multi_tile_pattern::choose_random_alternative(int) const': src/multi_tile_pattern.cpp:359:18: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 359 | if(index == alternatives_.size()) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/multi_tile_pattern.cpp > multi_tile_pattern.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/rectangle_rotator.cpp g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/rectangle_rotator.cpp > rectangle_rotator.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/level.cpp In file included from /usr/include/boost/bind.hpp:30, from src/level.cpp:1: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from src/level.cpp:11: src/draw_scene.hpp: In constructor 'screen_position::screen_position()': src/draw_scene.hpp:29:13: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:17: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:9: warning: when initialized here [-Wreorder] 19 | screen_position() : init(false), x(0), y(0), focus_x(0), focus_y(0), | ^~~~~~~~~~~~~~~ In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/level.hpp:20, from src/editor.hpp:13, from src/level.cpp:13: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/custom_object.hpp:25, from src/gui_formula_functions.hpp:4, from src/level.hpp:24, from src/editor.hpp:13, from src/level.cpp:13: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/custom_object.hpp:25, from src/gui_formula_functions.hpp:4, from src/level.hpp:24, from src/editor.hpp:13, from src/level.cpp:13: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ In file included from src/level.hpp:25, from src/editor.hpp:13, from src/level.cpp:13: src/hex_map.hpp: In constructor 'hex::hex_map::hex_map()': src/hex_map.hpp:68:13: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:16: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:9: warning: when initialized here [-Wreorder] 26 | hex_map() : zorder_(-1000), width_(0), height_(0), x_(0), y_(0) | ^~~~~~~ In file included from src/level.hpp:26, from src/editor.hpp:13, from src/level.cpp:13: src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:45:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 45 | return a.y < b.y || a.y == b.y && a.x < b.x; | ~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const std::pair&) const': src/level_object.hpp:49:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 49 | return a.y < b.second || a.y == b.second && a.x < b.first; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const std::pair&, const level_tile&) const': src/level_object.hpp:53:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 53 | return a.second < b.y || a.second == b.y && a.first < b.x; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_zorder_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:59:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp:59:119: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from src/level.hpp:31, from src/editor.hpp:13, from src/level.cpp:13: src/tile_map.hpp: In constructor 'tile_map::pattern_index_entry::pattern_index_entry()': src/tile_map.hpp:75:58: warning: comparison of integer expressions of different signedness: 'int' and 'boost::array::size_type' {aka 'unsigned int'} [-Wsign-compare] 75 | pattern_index_entry() { for(int n = 0; n != str.size(); ++n) { str[n] = 0; } } | ~~^~~~~~~~~~~~~ src/level.cpp: In member function 'void level::set_as_current_level()': src/level.cpp:129:26: warning: unused variable 'starting_virtual_y_resolution' [-Wunused-variable] 129 | static const int starting_virtual_y_resolution = preferences::virtual_screen_height(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/level.cpp: In constructor 'level::level(const string&, variant)': src/level.cpp:327:41: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 327 | for(int i = begin_tile_index; i != tiles_.size(); ++i) { | ~~^~~~~~~~~~~~~~~~ src/level.cpp: In member function 'void level::load_character(variant)': src/level.cpp:529:36: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 529 | if(players_.size() == multiplayer::slot()) { | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ src/level.cpp:540:26: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector > >::size_type' {aka 'unsigned int'} [-Wsign-compare] 540 | if(group >= groups_.size()) { | ~~~~~~^~~~~~~~~~~~~~~~~ src/level.cpp: In member function 'void level::finish_loading()': src/level.cpp:700:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 700 | for(int n = 0; n != chars_.size(); ++n) { | ~~^~~~~~~~~~~~~~~~ src/level.cpp: In member function 'variant level::write() const': src/level.cpp:1145:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 1145 | for(int n = 0; n <= tiles_.size(); ++n) { | ~~^~~~~~~~~~~~~~~~ src/level.cpp:1146:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 1146 | if(n != tiles_.size() && tiles_[n].draw_disabled && tiles_[n].object->has_solid() == false) { | ~~^~~~~~~~~~~~~~~~ src/level.cpp:1150:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 1150 | if(n == tiles_.size() || tiles_[n].zorder != last_zorder) { | ~~^~~~~~~~~~~~~~~~ src/level.cpp:1160:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 1160 | if(n == tiles_.size()) { | ~~^~~~~~~~~~~~~~~~ src/level.cpp:1169:50: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 1169 | for(int m = n; m != tiles_.size() && tiles_[m].zorder == tiles_[n].zorder; ++m) { | ~~^~~~~~~~~~~~~~~~ src/level.cpp:1206:33: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 1206 | while(n != tiles_.size() && tiles_[n].x == xpos && tiles_[n].y == ypos && tiles_[n].zorder == zpos) { | ~~^~~~~~~~~~~~~~~~ src/level.cpp:1281:98: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 1281 | for(int n = rows < prev_rows ? v.size()-1 : 0; n != v.size(); ++n) { | ~~^~~~~~~~~~~ src/level.cpp: In member function 'void level::draw_layer(int, int, int, int, int) const': src/level.cpp:1612:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 1612 | for(int n = 0; n < translucent_indexes.size(); n += 6) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/level.cpp:1526:27: warning: unused variable 't' [-Wunused-variable] 1526 | const level_tile* t = &*tile_itor; | ^ src/level.cpp:1527:27: warning: unused variable 'end_tiles' [-Wunused-variable] 1527 | const level_tile* end_tiles = &*tiles_.begin() + tiles_.size(); | ^~~~~~~~~ src/level.cpp: In member function 'void level::prepare_tiles_for_drawing()': src/level.cpp:1681:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 1681 | for(int n = 0; n != tiles_.size(); ++n) { | ~~^~~~~~~~~~~~~~~~ src/level.cpp:1708:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 1708 | for(int n = 0; n != tiles_.size(); ++n) { | ~~^~~~~~~~~~~~~~~~ src/level.cpp:1749:53: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 1749 | if(blit_info.indexes.size() <= ytile) { | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ src/level.cpp:1753:60: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 1753 | if(blit_info.indexes[ytile].size() <= xtile) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ src/level.cpp:1761:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 1761 | for(int n = 1; n < solid_color_rects_.size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/level.cpp: In member function 'void level::draw(int, int, int, int) const': src/level.cpp:1940:13: warning: unused variable 'last_zorder' [-Wunused-variable] 1940 | int last_zorder = -1000000; | ^~~~~~~~~~~ src/level.cpp:1852:19: warning: unused variable 'ticks' [-Wunused-variable] 1852 | const int ticks = SDL_GetTicks(); | ^~~~~ src/level.cpp: In member function 'void level::process()': src/level.cpp:2318:26: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 2318 | if(index < preloads_.size()) { | ~~~~~~^~~~~~~~~~~~~~~~~~ src/level.cpp: In function 'bool {anonymous}::compare_entity_num_parents(const entity_ptr&, const entity_ptr&)': src/level.cpp:2358:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2358 | return deptha < depthb || deptha == depthb && standa < standb || | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ src/level.cpp:2359:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2359 | deptha == depthb && standa == standb && a->is_human() < b->is_human(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/boost/assert.hpp:58, from /usr/include/boost/range/size.hpp:23, from /usr/include/boost/range/functions.hpp:20, from /usr/include/boost/range/iterator_range_core.hpp:38, from /usr/include/boost/lexical_cast.hpp:30, from src/string_utils.hpp:21, from src/level.cpp:39: src/level.cpp: In member function 'void level::set_active_chars()': src/level.cpp:2377:51: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector > >::size_type' {aka 'unsigned int'} [-Wsign-compare] 2377 | assert(c->group() < groups_.size()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level.cpp: In member function 'void level::do_processing()': src/level.cpp:2417:19: warning: unused variable 'ticks' [-Wunused-variable] 2417 | const int ticks = SDL_GetTicks(); | ^~~~~ src/level.cpp:2438:19: warning: unused variable 'ActivationDistance' [-Wunused-variable] 2438 | const int ActivationDistance = 700; | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/boost/assert.hpp:58, from /usr/include/boost/range/size.hpp:23, from /usr/include/boost/range/functions.hpp:20, from /usr/include/boost/range/iterator_range_core.hpp:38, from /usr/include/boost/lexical_cast.hpp:30, from src/string_utils.hpp:21, from src/level.cpp:39: src/level.cpp: In member function 'void level::erase_char(entity_ptr)': src/level.cpp:2482:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector > >::size_type' {aka 'unsigned int'} [-Wsign-compare] 2482 | assert(c->group() < groups_.size()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level.cpp: In member function 'bool level::add_tile_rect_vector_internal(int, int, int, int, int, const std::vector >&)': src/level.cpp:2831:36: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 2831 | if(index+1 < tiles.size()) { | ~~~~~~~~^~~~~~~~~~~~~~ src/level.cpp: In member function 'bool level::add_hex_tile_rect_vector_internal(int, int, int, int, int, const std::vector >&)': src/level.cpp:2867:36: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 2867 | if(index+1 < tiles.size()) { | ~~~~~~~~^~~~~~~~~~~~~~ src/level.cpp: In member function 'void level::get_all_tiles_rect(int, int, int, int, std::map > >&) const': src/level.cpp:2914:67: warning: comparison of integer expressions of different signedness: 'std::__iterator_traits<__gnu_cxx::__normal_iterator*, std::vector > >, void>::difference_type' {aka 'int'} and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 2914 | if(std::count(cleared.begin(), cleared.end(), "") != cleared.size()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ src/level.cpp: In member function 'void level::get_all_hex_tiles_rect(int, int, int, int, std::map > >&) const': src/level.cpp:2929:67: warning: comparison of integer expressions of different signedness: 'std::__iterator_traits<__gnu_cxx::__normal_iterator*, std::vector > >, void>::difference_type' {aka 'int'} and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 2929 | if(std::count(cleared.begin(), cleared.end(), "") != cleared.size()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ src/level.cpp: In member function 'void level::clear_tile_rect(int, int, int, int)': src/level.cpp:2971:14: warning: variable 'changed' set but not used [-Wunused-but-set-variable] 2971 | bool changed = false; | ^~~~~~~ src/level.cpp: In member function 'void level::clear_hex_tile_rect(int, int, int, int)': src/level.cpp:2994:14: warning: variable 'changed' set but not used [-Wunused-but-set-variable] 2994 | bool changed = false; | ^~~~~~~ src/level.cpp: In member function 'std::vector level::get_solid_contiguous_region(int, int) const': src/level.cpp:3073:53: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 3073 | if(info == NULL || info->all_solid == false && info->bitmap.any() == false) { | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/level.cpp:3081:32: warning: comparison of integer expressions of different signedness: 'std::set >::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 3081 | while(positions.size() != last_count) { | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ src/level.cpp:3098:69: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 3098 | if(info == NULL || info->all_solid == false && info->bitmap.any() == false) { | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/level.cpp: In member function 'void level::add_player(entity_ptr)': src/level.cpp:3323:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 3323 | for(int n = 0; n != chars_.size(); ++n) { | ~~^~~~~~~~~~~~~~~~ src/level.cpp:3334:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 3334 | for(int n = 0; n != chars_.size(); ++n) { | ~~^~~~~~~~~~~~~~~~ In file included from /usr/include/boost/assert.hpp:58, from /usr/include/boost/range/size.hpp:23, from /usr/include/boost/range/functions.hpp:20, from /usr/include/boost/range/iterator_range_core.hpp:38, from /usr/include/boost/lexical_cast.hpp:30, from src/string_utils.hpp:21, from src/level.cpp:39: src/level.cpp: In member function 'void level::set_character_group(entity_ptr, int)': src/level.cpp:3443:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector > >::size_type' {aka 'unsigned int'} [-Wsign-compare] 3443 | assert(c->group() < groups_.size()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level.cpp: In member function 'virtual void level::set_value(const string&, const variant&)': src/level.cpp:3755:34: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 3755 | for(int n = 0; n != value.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ src/level.cpp:3769:34: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 3769 | for(int n = 0; n != value.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ src/level.cpp: At global scope: src/level.cpp:752:14: warning: '{anonymous}::level_building' defined but not used [-Wunused-variable] 752 | const level* level_building = NULL; | ^~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/level.cpp > level.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/slider.cpp In file included from /usr/include/boost/bind.hpp:30, from src/slider.cpp:13: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/widget.hpp:19, from src/image_widget.hpp:22, from src/slider.hpp:18, from src/slider.cpp:15: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/image_widget.hpp:22, from src/slider.hpp:18, from src/slider.cpp:15: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/image_widget.hpp:22, from src/slider.hpp:18, from src/slider.cpp:15: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/slider.cpp: In member function 'virtual bool gui::slider::handle_event(const SDL_Event&, bool)': src/slider.cpp:140:21: warning: unused variable 'mouse_y' [-Wunused-variable] 140 | int mouse_y = e.y; | ^~~~~~~ src/slider.cpp:165:29: warning: unused variable 'mouse_y' [-Wunused-variable] 165 | int mouse_y = e.y; | ^~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/slider.cpp > slider.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/scrollbar_widget.cpp In file included from /usr/include/boost/bind.hpp:30, from src/scrollbar_widget.cpp:1: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/widget.hpp:19, from src/image_widget.hpp:22, from src/scrollbar_widget.cpp:3: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/image_widget.hpp:22, from src/scrollbar_widget.cpp:3: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/image_widget.hpp:22, from src/scrollbar_widget.cpp:3: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/scrollbar_widget.cpp > scrollbar_widget.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/scrollable_widget.cpp In file included from /usr/include/boost/bind.hpp:30, from src/scrollable_widget.cpp:1: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/widget.hpp:19, from src/scrollbar_widget.hpp:7, from src/scrollable_widget.hpp:6, from src/scrollable_widget.cpp:3: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/scrollbar_widget.hpp:7, from src/scrollable_widget.hpp:6, from src/scrollable_widget.cpp:3: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/scrollbar_widget.hpp:7, from src/scrollable_widget.hpp:6, from src/scrollable_widget.cpp:3: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/scrollable_widget.cpp > scrollable_widget.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/solid_map.cpp In file included from src/solid_map.cpp:1: src/solid_map.cpp: In member function 'void solid_map::set_solid(int, int, bool)': src/asserts.hpp:49:31: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 49 | #define ASSERT_EQ(a,b) if((a) != (b)) { std::ostringstream s; s << __FILE__ << ":" << __LINE__ << " ASSERT EQ FAILED: " << #a << " != " << #b << ": " << (a) << " != " << (b) << "\n"; if(throw_validation_failure_on_assert()) { throw validation_failure_exception(s.str()); } else { std::cerr << s.str(); output_backtrace(); report_assert_msg(s.str()); abort(); } } | ~~~~^~~~~~ src/solid_map.cpp:223:9: note: in expansion of macro 'ASSERT_EQ' 223 | ASSERT_EQ(solid_.size(), area_.w()*area_.h()); | ^~~~~~~~~ In file included from src/solid_map.cpp:1: src/solid_map.cpp: In member function 'void solid_map::apply_offsets(const std::vector&)': src/asserts.hpp:59:31: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 59 | #define ASSERT_LT(a,b) if((a) >= (b)) { std::ostringstream s; s << __FILE__ << ":" << __LINE__ << " ASSERT LT FAILED: " << #a << " >= " << #b << ": " << (a) << " >= " << (b) << "\n"; if(throw_validation_failure_on_assert()) { throw validation_failure_exception(s.str()); } else { std::cerr << s.str(); output_backtrace(); report_assert_msg(s.str()); abort(); } } | ~~~~^~~~~~ src/solid_map.cpp:242:17: note: in expansion of macro 'ASSERT_LT' 242 | ASSERT_LT(segment, offsets.size()-1); | ^~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/solid_map.cpp > solid_map.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/property_editor_dialog.cpp In file included from /usr/include/boost/bind.hpp:30, from src/property_editor_dialog.cpp:3: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/widget.hpp:19, from src/button.hpp:19, from src/property_editor_dialog.cpp:7: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/button.hpp:19, from src/property_editor_dialog.cpp:7: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/button.hpp:19, from src/property_editor_dialog.cpp:7: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ In file included from src/code_editor_widget.hpp:9, from src/property_editor_dialog.cpp:9: src/text_editor_widget.hpp: In member function 'bool gui::text_editor_widget::Loc::operator<(const gui::text_editor_widget::Loc&) const': src/text_editor_widget.hpp:41:89: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 41 | bool operator<(const Loc& o) const { return row < o.row || row == o.row && col < o.col; } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from src/custom_object.hpp:15, from src/gui_formula_functions.hpp:4, from src/level.hpp:24, from src/editor.hpp:13, from src/property_editor_dialog.hpp:9, from src/property_editor_dialog.cpp:21: src/draw_scene.hpp: In constructor 'screen_position::screen_position()': src/draw_scene.hpp:29:13: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:17: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:9: warning: when initialized here [-Wreorder] 19 | screen_position() : init(false), x(0), y(0), focus_x(0), focus_y(0), | ^~~~~~~~~~~~~~~ In file included from src/level.hpp:25, from src/editor.hpp:13, from src/property_editor_dialog.hpp:9, from src/property_editor_dialog.cpp:21: src/hex_map.hpp: In constructor 'hex::hex_map::hex_map()': src/hex_map.hpp:68:13: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:16: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:9: warning: when initialized here [-Wreorder] 26 | hex_map() : zorder_(-1000), width_(0), height_(0), x_(0), y_(0) | ^~~~~~~ In file included from src/level.hpp:26, from src/editor.hpp:13, from src/property_editor_dialog.hpp:9, from src/property_editor_dialog.cpp:21: src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:45:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 45 | return a.y < b.y || a.y == b.y && a.x < b.x; | ~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const std::pair&) const': src/level_object.hpp:49:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 49 | return a.y < b.second || a.y == b.second && a.x < b.first; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const std::pair&, const level_tile&) const': src/level_object.hpp:53:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 53 | return a.second < b.y || a.second == b.y && a.first < b.x; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_zorder_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:59:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp:59:119: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from src/level.hpp:31, from src/editor.hpp:13, from src/property_editor_dialog.hpp:9, from src/property_editor_dialog.cpp:21: src/tile_map.hpp: In constructor 'tile_map::pattern_index_entry::pattern_index_entry()': src/tile_map.hpp:75:58: warning: comparison of integer expressions of different signedness: 'int' and 'boost::array::size_type' {aka 'unsigned int'} [-Wsign-compare] 75 | pattern_index_entry() { for(int n = 0; n != str.size(); ++n) { str[n] = 0; } } | ~~^~~~~~~~~~~~~ src/property_editor_dialog.cpp: In member function 'void editor_dialogs::property_editor_dialog::init()': src/property_editor_dialog.cpp:264:43: warning: unused variable 'npoints' [-Wunused-variable] 264 | const int npoints = current_value.is_list() ? current_value.num_elements() : 0; | ^~~~~~~ src/property_editor_dialog.cpp: In member function 'void editor_dialogs::property_editor_dialog::set_enum_property(const string&, const std::vector >&, int)': src/property_editor_dialog.cpp:593:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 593 | if(index < 0 || index >= labels.size()) { | ~~~~~~^~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/property_editor_dialog.cpp > property_editor_dialog.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/stats_server.cpp In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/stats_server.cpp:6: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ src/stats_server.cpp: In function '{anonymous}::table {anonymous}::read_table(const variant&)': src/stats_server.cpp:110:26: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 110 | for(int n = 0; n != v.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~ src/stats_server.cpp: In function '{anonymous}::type_data_map {anonymous}::read_type_data_map(variant)': src/stats_server.cpp:149:26: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 149 | for(int n = 0; n != v.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~ src/stats_server.cpp:156:34: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 156 | for(int m = 0; m != tables_v.num_elements(); ++m) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/stats_server.cpp: In function '{anonymous}::version_data {anonymous}::read_version_data(variant)': src/stats_server.cpp:177:26: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 177 | for(int n = 0; n != keys.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~ src/stats_server.cpp: In function 'void {anonymous}::read_data_table(variant)': src/stats_server.cpp:220:26: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 220 | for(int n = 0; n != keys.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~ src/stats_server.cpp: In function 'void init_tables_for_module(const string&, const variant&)': src/stats_server.cpp:241:26: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 241 | for(int n = 0; n != doc.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~ src/stats_server.cpp:246:34: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 246 | for(int m = 0; m != tables_v.num_elements(); ++m) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/stats_server.cpp: In function 'void process_stats(const variant&)': src/stats_server.cpp:325:26: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 325 | for(int n = 0; n != levels.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~ src/stats_server.cpp:336:34: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 336 | for(int m = 0; m != stats.num_elements(); ++m) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/stats_server.cpp > stats_server.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/sound.cpp In file included from /usr/include/boost/bind.hpp:30, from src/sound.cpp:5: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ src/sound.cpp: In function 'void sound::{anonymous}::on_sound_finished(int)': src/sound.cpp:99:36: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 99 | if(channel >= 0 && channel < channels_to_sounds_playing.size()) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound.cpp: In function 'int sound::{anonymous}::play_internal(const string&, int, const void*, float)': src/sound.cpp:460:54: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 460 | if(channels_to_sounds_playing.size() <= result) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ src/sound.cpp: In function 'void sound::stop_sound(const string&, const void*)': src/sound.cpp:511:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 511 | for(int n = 0; n != channels_to_sounds_playing.size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound.cpp:523:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 523 | for(int n = 0; n != queued_sounds.size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ src/sound.cpp: In function 'void sound::stop_looped_sounds(const void*)': src/sound.cpp:534:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 534 | for(int n = 0; n != channels_to_sounds_playing.size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound.cpp:535:36: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 535 | if((object == NULL && channels_to_sounds_playing[n].object != NULL | ^ src/sound.cpp:552:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 552 | for(int n = 0; n != queued_sounds.size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ src/sound.cpp:553:36: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 553 | if((object == NULL && queued_sounds[n].object != NULL | ^ src/sound.cpp: In function 'void sound::change_volume(const void*, int)': src/sound.cpp:589:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 589 | for(int n = 0; n != channels_to_sounds_playing.size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/sound.cpp > sound.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/preferences.cpp g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/preferences.cpp > preferences.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/speech_dialog.cpp In file included from src/speech_dialog.cpp:9: src/draw_scene.hpp: In constructor 'screen_position::screen_position()': src/draw_scene.hpp:29:13: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:17: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:9: warning: when initialized here [-Wreorder] 19 | screen_position() : init(false), x(0), y(0), focus_x(0), focus_y(0), | ^~~~~~~~~~~~~~~ src/speech_dialog.cpp: In member function 'void speech_dialog::move_down()': src/speech_dialog.cpp:89:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 89 | if(option_selected_ == options_.size()) { | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ src/speech_dialog.cpp: In member function 'bool speech_dialog::key_press(const SDL_Event&)': src/speech_dialog.cpp:96:20: warning: unused variable 'last_mouse' [-Wunused-variable] 96 | static int last_mouse = 0; | ^~~~~~~~~~ src/speech_dialog.cpp: In member function 'void speech_dialog::draw() const': src/speech_dialog.cpp:297:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 297 | for(int n = 0; n < text_.size(); ++n) { | ~~^~~~~~~~~~~~~~ src/speech_dialog.cpp:311:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 311 | for(int n = 0; n < 2 && n < text_.size() && nchars > 0; ++n) { | ~~^~~~~~~~~~~~~~ src/speech_dialog.cpp:321:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 321 | for(int m = 0; m != markup.size(); ++m) { | ~~^~~~~~~~~~~~~~~~ src/speech_dialog.cpp:323:77: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 323 | const int end_index = std::min(str.size(), m+1 == markup.size() ? str.size() : markup[m+1].begin); | ~~~~^~~~~~~~~~~~~~~~ src/speech_dialog.cpp: In member function 'void speech_dialog::set_text(const std::vector >&)': src/speech_dialog.cpp:414:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 414 | for (int i = 0; i < text.size(); i++) { | ~~^~~~~~~~~~~~~ src/speech_dialog.cpp: At global scope: src/speech_dialog.cpp:96:20: warning: 'last_mouse' defined but not used [-Wunused-variable] 96 | static int last_mouse = 0; | ^~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/speech_dialog.cpp > speech_dialog.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/segment_editor_dialog.cpp In file included from /usr/include/boost/bind.hpp:30, from src/segment_editor_dialog.cpp:2: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/widget.hpp:19, from src/border_widget.hpp:6, from src/segment_editor_dialog.cpp:4: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/border_widget.hpp:6, from src/segment_editor_dialog.cpp:4: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/border_widget.hpp:6, from src/segment_editor_dialog.cpp:4: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ In file included from src/custom_object.hpp:15, from src/gui_formula_functions.hpp:4, from src/level.hpp:24, from src/editor.hpp:13, from src/segment_editor_dialog.cpp:6: src/draw_scene.hpp: In constructor 'screen_position::screen_position()': src/draw_scene.hpp:29:13: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:17: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:9: warning: when initialized here [-Wreorder] 19 | screen_position() : init(false), x(0), y(0), focus_x(0), focus_y(0), | ^~~~~~~~~~~~~~~ In file included from src/level.hpp:25, from src/editor.hpp:13, from src/segment_editor_dialog.cpp:6: src/hex_map.hpp: In constructor 'hex::hex_map::hex_map()': src/hex_map.hpp:68:13: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:16: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:9: warning: when initialized here [-Wreorder] 26 | hex_map() : zorder_(-1000), width_(0), height_(0), x_(0), y_(0) | ^~~~~~~ In file included from src/level.hpp:26, from src/editor.hpp:13, from src/segment_editor_dialog.cpp:6: src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:45:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 45 | return a.y < b.y || a.y == b.y && a.x < b.x; | ~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const std::pair&) const': src/level_object.hpp:49:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 49 | return a.y < b.second || a.y == b.second && a.x < b.first; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const std::pair&, const level_tile&) const': src/level_object.hpp:53:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 53 | return a.second < b.y || a.second == b.y && a.first < b.x; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_zorder_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:59:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp:59:119: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from src/level.hpp:31, from src/editor.hpp:13, from src/segment_editor_dialog.cpp:6: src/tile_map.hpp: In constructor 'tile_map::pattern_index_entry::pattern_index_entry()': src/tile_map.hpp:75:58: warning: comparison of integer expressions of different signedness: 'int' and 'boost::array::size_type' {aka 'unsigned int'} [-Wsign-compare] 75 | pattern_index_entry() { for(int n = 0; n != str.size(); ++n) { str[n] = 0; } } | ~~^~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/segment_editor_dialog.cpp > segment_editor_dialog.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/surface.cpp g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/surface.cpp > surface.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/surface_palette.cpp src/surface_palette.cpp: In function 'const string& graphics::get_palette_name(int)': src/surface_palette.cpp:65:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 65 | if(id < 0 || id >= palettes.size()) { | ~~~^~~~~~~~~~~~~~~~~~ src/surface_palette.cpp: In function 'graphics::surface graphics::map_palette(graphics::surface, int)': src/surface_palette.cpp:75:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 75 | if(palette < 0 || palette >= palettes.size() || palettes[palette].mapping.empty()) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~ src/surface_palette.cpp: In function 'graphics::color graphics::map_palette(const graphics::color&, int)': src/surface_palette.cpp:109:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 109 | if(palette < 0 || palette >= palettes.size() || palettes[palette].mapping.empty()) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/surface_palette.cpp > surface_palette.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/string_utils.cpp src/string_utils.cpp: In function 'std::string util::join(const std::vector >&, char)': src/string_utils.cpp:184:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 184 | for(int n = 0; n != v.size(); ++n) { | ~~^~~~~~~~~~~ src/string_utils.cpp: In function 'std::vector util::split_into_vector_int(const string&)': src/string_utils.cpp:226:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 226 | for(int n = 0; n != v.size(); ++n) { | ~~^~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/string_utils.cpp > string_utils.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/tbs_functions.cpp In file included from src/formula_function.hpp:26, from src/formula_function_registry.hpp:4, from src/tbs_functions.cpp:1: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/tbs_functions.cpp > tbs_functions.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/surface_cache.cpp g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/surface_cache.cpp > surface_cache.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/tbs_ai_player.cpp g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/tbs_ai_player.cpp > tbs_ai_player.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/surface_formula.cpp In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/surface_formula.cpp:9: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ src/surface_formula.cpp: In function 'void {anonymous}::run_formula(graphics::surface, const string&)': src/surface_formula.cpp:104:19: warning: unused variable 'ticks' [-Wunused-variable] 104 | const int ticks = SDL_GetTicks(); | ^~~~~ src/surface_formula.cpp:122:13: warning: unused variable 'skip' [-Wunused-variable] 122 | int skip = 0; | ^~~~ src/surface_formula.cpp: In function 'void BENCHMARK_pixel_table(int)': src/surface_formula.cpp:286:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 286 | for(int n = 0; n != image.size(); ++n) { | ~~^~~~~~~~~~~~~~~ src/surface_formula.cpp:300:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 300 | for(int n = 0; n != image.size(); ++n) { | ~~^~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/surface_formula.cpp > surface_formula.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/multiplayer.cpp In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/level.hpp:20, from src/multiplayer.cpp:20: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/custom_object.hpp:15, from src/gui_formula_functions.hpp:4, from src/level.hpp:24, from src/multiplayer.cpp:20: src/draw_scene.hpp: In constructor 'screen_position::screen_position()': src/draw_scene.hpp:29:13: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:17: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:9: warning: when initialized here [-Wreorder] 19 | screen_position() : init(false), x(0), y(0), focus_x(0), focus_y(0), | ^~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/custom_object.hpp:25, from src/gui_formula_functions.hpp:4, from src/level.hpp:24, from src/multiplayer.cpp:20: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/custom_object.hpp:25, from src/gui_formula_functions.hpp:4, from src/level.hpp:24, from src/multiplayer.cpp:20: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ In file included from src/level.hpp:25, from src/multiplayer.cpp:20: src/hex_map.hpp: In constructor 'hex::hex_map::hex_map()': src/hex_map.hpp:68:13: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:16: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:9: warning: when initialized here [-Wreorder] 26 | hex_map() : zorder_(-1000), width_(0), height_(0), x_(0), y_(0) | ^~~~~~~ In file included from src/level.hpp:26, from src/multiplayer.cpp:20: src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:45:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 45 | return a.y < b.y || a.y == b.y && a.x < b.x; | ~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const std::pair&) const': src/level_object.hpp:49:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 49 | return a.y < b.second || a.y == b.second && a.x < b.first; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const std::pair&, const level_tile&) const': src/level_object.hpp:53:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 53 | return a.second < b.y || a.second == b.y && a.first < b.x; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_zorder_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:59:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp:59:119: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from src/level.hpp:31, from src/multiplayer.cpp:20: src/tile_map.hpp: In constructor 'tile_map::pattern_index_entry::pattern_index_entry()': src/tile_map.hpp:75:58: warning: comparison of integer expressions of different signedness: 'int' and 'boost::array::size_type' {aka 'unsigned int'} [-Wsign-compare] 75 | pattern_index_entry() { for(int n = 0; n != str.size(); ++n) { str[n] = 0; } } | ~~^~~~~~~~~~~~~ src/multiplayer.cpp: In function 'void multiplayer::setup_networked_game(const string&)': src/multiplayer.cpp:129:20: warning: unused variable 'receiver_endpoint' [-Wunused-variable] 129 | udp::endpoint& receiver_endpoint = *udp_endpoint; | ^~~~~~~~~~~~~~~~~ src/multiplayer.cpp: In function 'void multiplayer::{anonymous}::send_confirm_packet(int, std::vector&, bool)': src/multiplayer.cpp:161:61: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector > >::size_type' {aka 'unsigned int'} [-Wsign-compare] 161 | if(nplayer == player_slot || nplayer < 0 || nplayer >= udp_endpoint_peers.size()) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/multiplayer.cpp:155:34: warning: unused variable 'udp_msg' [-Wunused-variable] 155 | boost::array udp_msg; | ^~~~~~~ src/multiplayer.cpp: In function 'void multiplayer::sync_start_time(const level&, boost::function)': src/multiplayer.cpp:282:62: warning: comparison of integer expressions of different signedness: 'std::set::size_type' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 282 | for(int m = 0; m != 1000 && confirmed_players.size() < nplayers || m < confirmation_point + 50; ++m) { | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ src/multiplayer.cpp:282:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 282 | for(int m = 0; m != 1000 && confirmed_players.size() < nplayers || m < confirmation_point + 50; ++m) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/multiplayer.cpp:296:66: warning: comparison of integer expressions of different signedness: 'char' and 'std::vector > >::size_type' {aka 'unsigned int'} [-Wsign-compare] 296 | if(udp_msg[5] >= 0 && udp_msg[5] < udp_endpoint_peers.size()) { src/multiplayer.cpp:303:61: warning: comparison of integer expressions of different signedness: 'std::set::size_type' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 303 | if(confirmed_players.size() >= nplayers && m < confirmation_point) { | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ src/multiplayer.cpp:340:37: warning: comparison of integer expressions of different signedness: 'std::set::size_type' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 340 | if(confirmed_players.size() < nplayers) { | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ src/multiplayer.cpp:363:38: warning: comparison of integer expressions of different signedness: 'Uint32' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 363 | while(SDL_GetTicks() < game_start) { | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ src/multiplayer.cpp:488:51: warning: comparison of integer expressions of different signedness: 'Uint32' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 488 | if(SDL_GetTicks() >= start_time_avg) { | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ src/multiplayer.cpp: In function 'void multiplayer::send_and_receive()': src/multiplayer.cpp:512:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector > >::size_type' {aka 'unsigned int'} [-Wsign-compare] 512 | for(int n = 0; n != udp_endpoint_peers.size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/multiplayer.cpp: In function 'void UTILITY_hole_punch_test(const std::vector >&)': src/multiplayer.cpp:587:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<{anonymous}::Peer>::size_type' {aka 'unsigned int'} [-Wsign-compare] 587 | for(int n = 0; n != peers.size(); ++n) { | ~~^~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/multiplayer.cpp > multiplayer.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/surface_scaling.cpp src/surface_scaling.cpp: In function 'uint32_t graphics::interpolate_pixels(uint32_t, uint32_t)': src/surface_scaling.cpp:26:26: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 26 | if(!color==3){ | ^~ src/surface_scaling.cpp:26:20: note: add parentheses around left hand side expression to silence this warning 26 | if(!color==3){ | ^~~~~~ | ( ) src/surface_scaling.cpp:26:26: warning: comparison of constant '3' with boolean expression is always false [-Wbool-compare] 26 | if(!color==3){ | ~~~~~~^~~ src/surface_scaling.cpp: In function 'uint32_t graphics::interpolate_pixels(uint32_t, uint32_t, uint32_t, uint32_t)': src/surface_scaling.cpp:52:26: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 52 | if(!color==3){ | ^~ src/surface_scaling.cpp:52:20: note: add parentheses around left hand side expression to silence this warning 52 | if(!color==3){ | ^~~~~~ | ( ) src/surface_scaling.cpp:52:26: warning: comparison of constant '3' with boolean expression is always false [-Wbool-compare] 52 | if(!color==3){ | ~~~~~~^~~ src/surface_scaling.cpp: In function 'graphics::surface graphics::scale_surface(graphics::surface)': src/surface_scaling.cpp:395:59: warning: unused variable 'upper_left' [-Wunused-variable] 395 | const int upper_left = (y*2)*result->w + x*2; | ^~~~~~~~~~ In file included from src/surface_scaling.cpp:6: src/surface_scaling.cpp: In function 'void graphics::UTILITY_generate_scaling_code(const std::vector >&)': src/surface_scaling.cpp:624:46: warning: comparison of integer expressions of different signedness: 'int' and 'boost::array::size_type' {aka 'unsigned int'} [-Wsign-compare] 624 | ASSERT_LOG(n < pattern.input.size(), "SURFACE SCALING PATTERN HAS TOO MANY CHARACTERS: " << pattern_str); | ~~^~~~~~~~~~~~~~~~~~~~~~ src/asserts.hpp:65:33: note: in definition of macro 'ASSERT_LOG' 65 | #define ASSERT_LOG(_a,_b) if( !(_a) ) { std::ostringstream _s; _s << __FILE__ << ":" << __LINE__ << " ASSERTION FAILED: " << _b << "\n"; if(throw_validation_failure_on_assert()) { throw validation_failure_exception(_s.str()); } else { std::cerr << _s.str(); output_backtrace(); report_assert_msg(_s.str()); abort(); } } | ^~ src/surface_scaling.cpp:637:54: warning: comparison of integer expressions of different signedness: 'int' and 'boost::array::size_type' {aka 'unsigned int'} [-Wsign-compare] 637 | ASSERT_LOG(n < output.input.size(), "SURFACE SCALING INPUT HAS TOO MANY CHARACTERS: " << input_str); | ~~^~~~~~~~~~~~~~~~~~~~~ src/asserts.hpp:65:33: note: in definition of macro 'ASSERT_LOG' 65 | #define ASSERT_LOG(_a,_b) if( !(_a) ) { std::ostringstream _s; _s << __FILE__ << ":" << __LINE__ << " ASSERTION FAILED: " << _b << "\n"; if(throw_validation_failure_on_assert()) { throw validation_failure_exception(_s.str()); } else { std::cerr << _s.str(); output_backtrace(); report_assert_msg(_s.str()); abort(); } } | ^~ src/surface_scaling.cpp:648:54: warning: comparison of integer expressions of different signedness: 'int' and 'boost::array::size_type' {aka 'unsigned int'} [-Wsign-compare] 648 | ASSERT_LOG(n < output.output.size(), "SURFACE SCALING OUTPUT HAS TOO MANY CHARACTERS: " << output_str); | ~~^~~~~~~~~~~~~~~~~~~~~~ src/asserts.hpp:65:33: note: in definition of macro 'ASSERT_LOG' 65 | #define ASSERT_LOG(_a,_b) if( !(_a) ) { std::ostringstream _s; _s << __FILE__ << ":" << __LINE__ << " ASSERTION FAILED: " << _b << "\n"; if(throw_validation_failure_on_assert()) { throw validation_failure_exception(_s.str()); } else { std::cerr << _s.str(); output_backtrace(); report_assert_msg(_s.str()); abort(); } } | ^~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/surface_scaling.cpp > surface_scaling.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/texture_frame_buffer.cpp g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/texture_frame_buffer.cpp > texture_frame_buffer.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/stats_server_main.cpp g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/stats_server_main.cpp > stats_server_main.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/translate.cpp g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/translate.cpp > translate.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/shaders.cpp In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/custom_object_type.hpp:11, from src/custom_object.hpp:13, from src/shaders.cpp:5: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/custom_object.hpp:15, from src/shaders.cpp:5: src/draw_scene.hpp: In constructor 'screen_position::screen_position()': src/draw_scene.hpp:29:13: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:17: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:9: warning: when initialized here [-Wreorder] 19 | screen_position() : init(false), x(0), y(0), focus_x(0), focus_y(0), | ^~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/custom_object.hpp:25, from src/shaders.cpp:5: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/custom_object.hpp:25, from src/shaders.cpp:5: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ In file included from src/level.hpp:25, from src/shaders.cpp:11: src/hex_map.hpp: In constructor 'hex::hex_map::hex_map()': src/hex_map.hpp:68:13: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:16: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:9: warning: when initialized here [-Wreorder] 26 | hex_map() : zorder_(-1000), width_(0), height_(0), x_(0), y_(0) | ^~~~~~~ In file included from src/level.hpp:26, from src/shaders.cpp:11: src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:45:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 45 | return a.y < b.y || a.y == b.y && a.x < b.x; | ~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const std::pair&) const': src/level_object.hpp:49:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 49 | return a.y < b.second || a.y == b.second && a.x < b.first; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const std::pair&, const level_tile&) const': src/level_object.hpp:53:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 53 | return a.second < b.y || a.second == b.y && a.first < b.x; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_zorder_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:59:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp:59:119: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from src/level.hpp:31, from src/shaders.cpp:11: src/tile_map.hpp: In constructor 'tile_map::pattern_index_entry::pattern_index_entry()': src/tile_map.hpp:75:58: warning: comparison of integer expressions of different signedness: 'int' and 'boost::array::size_type' {aka 'unsigned int'} [-Wsign-compare] 75 | pattern_index_entry() { for(int n = 0; n != str.size(); ++n) { str[n] = 0; } } | ~~^~~~~~~~~~~~~ src/shaders.cpp: In member function 'void gles2::program::set_uniform_or_defer(const string&, const variant&)': src/shaders.cpp:308:21: warning: comparison of integer expressions of different signedness: 'GLint' {aka 'int'} and 'GLuint' {aka 'unsigned int'} [-Wsign-compare] 308 | if(cur_prog != get()) { | ~~~~~~~~~^~~~~~~~ In file included from src/shaders.cpp:13: src/shaders.hpp: In constructor 'gles2::shader_program::shader_program()': src/shaders.hpp:163:17: warning: 'gles2::shader_program::parent_' will be initialized after [-Wreorder] 163 | entity* parent_; | ^~~~~~~ src/shaders.hpp:161:13: warning: 'int gles2::shader_program::zorder_' [-Wreorder] 161 | int zorder_; | ^~~~~~~ src/shaders.cpp:945:1: warning: when initialized here [-Wreorder] 945 | shader_program::shader_program() | ^~~~~~~~~~~~~~ In file included from src/shaders.cpp:13: src/shaders.hpp: In constructor 'gles2::shader_program::shader_program(const variant&, entity*)': src/shaders.hpp:163:17: warning: 'gles2::shader_program::parent_' will be initialized after [-Wreorder] 163 | entity* parent_; | ^~~~~~~ src/shaders.hpp:161:13: warning: 'int gles2::shader_program::zorder_' [-Wreorder] 161 | int zorder_; | ^~~~~~~ src/shaders.cpp:950:1: warning: when initialized here [-Wreorder] 950 | shader_program::shader_program(const variant& node, entity* obj) | ^~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/shaders.cpp > shaders.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/thread.cpp g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/thread.cpp > thread.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/tooltip.cpp In file included from src/tooltip.cpp:17: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/tooltip.cpp > tooltip.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/texture.cpp In file included from /usr/include/boost/bind.hpp:30, from src/texture.cpp:13: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ src/texture.cpp: In function 'unsigned int graphics::{anonymous}::get_texture_id()': src/texture.cpp:104:47: warning: comparison of integer expressions of different signedness: 'int' and 'Uint32' {aka 'unsigned int'} [-Wsign-compare] 104 | if(graphics_thread_id != SDL_GetThreadID(NULL)) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/texture.cpp: In function 'void graphics::set_alpha_for_transparent_colors_in_rgba_surface(SDL_Surface*, int)': src/texture.cpp:312:75: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 312 | if(pixel[0] == AlphaPixel[0] && pixel[1] == AlphaPixel[1] && pixel[2] == AlphaPixel[2] || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/texture.cpp: In member function 'void graphics::texture::initialize(const key&, int)': src/texture.cpp:377:30: warning: comparison of integer expressions of different signedness: 'const int' and 'unsigned int' [-Wsign-compare] 377 | if(x < width_ && y < height_) { | ~~^~~~~~~~ src/texture.cpp:377:44: warning: comparison of integer expressions of different signedness: 'const int' and 'unsigned int' [-Wsign-compare] 377 | if(x < width_ && y < height_) { | ~~^~~~~~~~~ src/texture.cpp: In member function 'unsigned int graphics::texture::get_id() const': src/texture.cpp:418:39: warning: comparison of integer expressions of different signedness: 'int' and 'Uint32' {aka 'unsigned int'} [-Wsign-compare] 418 | if(graphics_thread_id != SDL_GetThreadID(NULL)) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/texture.cpp:17: src/texture.cpp: In static member function 'static void graphics::texture::build_textures_from_worker_threads()': src/texture.cpp:431:39: warning: comparison of integer expressions of different signedness: 'int' and 'Uint32' {aka 'unsigned int'} [-Wsign-compare] 431 | ASSERT_LOG(graphics_thread_id == SDL_GetThreadID(NULL), "CALLED build_textures_from_worker_threads from thread other than the main one"); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/asserts.hpp:65:33: note: in definition of macro 'ASSERT_LOG' 65 | #define ASSERT_LOG(_a,_b) if( !(_a) ) { std::ostringstream _s; _s << __FILE__ << ":" << __LINE__ << " ASSERTION FAILED: " << _b << "\n"; if(throw_validation_failure_on_assert()) { throw validation_failure_exception(_s.str()); } else { std::cerr << _s.str(); output_backtrace(); report_assert_msg(_s.str()); abort(); } } | ^~ src/texture.cpp: In static member function 'static void graphics::texture::trim_caches(unsigned int)': src/texture.cpp:443:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector, int>, std::allocator, int> > >::size_type' {aka 'unsigned int'} [-Wsign-compare] 443 | for(int n = 0; n != keys.size(); ++n) { | ~~^~~~~~~~~~~~~~ src/texture.cpp: At global scope: src/texture.cpp:184:21: warning: 'std::string graphics::{anonymous}::mipmap_type_to_string(GLenum)' defined but not used [-Wunused-function] 184 | std::string mipmap_type_to_string(GLenum type) { | ^~~~~~~~~~~~~~~~~~~~~ src/texture.cpp:49:27: warning: 'threading::mutex& graphics::{anonymous}::texture_registry_mutex()' defined but not used [-Wunused-function] 49 | threading::mutex& texture_registry_mutex() { | ^~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/texture.cpp > texture.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/tbs_game.cpp In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/tbs_game.cpp:7: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/tbs_game.cpp:11: src/tbs_game.hpp: In constructor 'tbs::game::game(const tbs::game_type&)': src/tbs_game.hpp:117:20: warning: 'tbs::game::state_' will be initialized after [-Wreorder] 117 | GAME_STATE state_; | ^~~~~~ src/tbs_game.hpp:105:13: warning: 'int tbs::game::state_id_' [-Wreorder] 105 | int state_id_; //upward counting integer keeping track of the game state. | ^~~~~~~~~ src/tbs_game.cpp:123:1: warning: when initialized here [-Wreorder] 123 | game::game(const game_type& type) | ^~~~ In file included from src/tbs_game.cpp:11: src/tbs_game.hpp: In constructor 'tbs::game::game(const variant&)': src/tbs_game.hpp:117:20: warning: 'tbs::game::state_' will be initialized after [-Wreorder] 117 | GAME_STATE state_; | ^~~~~~ src/tbs_game.hpp:105:13: warning: 'int tbs::game::state_id_' [-Wreorder] 105 | int state_id_; //upward counting integer keeping track of the game state. | ^~~~~~~~~ src/tbs_game.cpp:129:1: warning: when initialized here [-Wreorder] 129 | game::game(const variant& value) | ^~~~ src/tbs_game.cpp: In member function 'virtual void tbs::game::remove_player(const string&)': src/tbs_game.cpp:268:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 268 | for(int n = 0; n != players_.size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~ src/tbs_game.cpp:271:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 271 | for(int m = 0; m != ai_.size(); ++m) { | ~~^~~~~~~~~~~~~ In file included from src/tbs_game.cpp:4: src/tbs_game.cpp: In member function 'std::vector > tbs::game::get_ai_players() const': src/tbs_game.cpp:287:66: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 287 | ASSERT_LOG(a->player_id() >= 0 && a->player_id() < players_.size(), "BAD AI INDEX: " << a->player_id()); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ src/asserts.hpp:65:33: note: in definition of macro 'ASSERT_LOG' 65 | #define ASSERT_LOG(_a,_b) if( !(_a) ) { std::ostringstream _s; _s << __FILE__ << ":" << __LINE__ << " ASSERTION FAILED: " << _b << "\n"; if(throw_validation_failure_on_assert()) { throw validation_failure_exception(_s.str()); } else { std::cerr << _s.str(); output_backtrace(); report_assert_msg(_s.str()); abort(); } } | ^~ src/tbs_game.cpp: In member function 'virtual void tbs::game::send_game_state(int)': src/tbs_game.cpp:318:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 318 | for(int n = 0; n != players().size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~ src/tbs_game.cpp:327:43: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 327 | } else if(nplayer >= 0 && nplayer < players().size() && players()[nplayer].is_human) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~ src/tbs_game.cpp: In member function 'void tbs::game::ai_play()': src/tbs_game.cpp:334:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 334 | for(int n = 0; n != ai_.size(); ++n) { | ~~^~~~~~~~~~~~~ src/tbs_game.cpp: In member function 'void tbs::game::execute_command(variant)': src/tbs_game.cpp:448:34: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 448 | for(int n = 0; n != cmd.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/tbs_game.cpp > tbs_game.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/tbs_client.cpp In file included from /usr/include/boost/bind.hpp:30, from src/tbs_client.cpp:1: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/tbs_client.cpp > tbs_client.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/stats.cpp In file included from /usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22, from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23, from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14, from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42, from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25, from /usr/include/boost/smart_ptr/shared_ptr.hpp:29, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/time_clock.hpp:17, from /usr/include/boost/date_time/posix_time/posix_time_types.hpp:10, from /usr/include/boost/asio/time_traits.hpp:23, from /usr/include/boost/asio/detail/timer_queue_ptime.hpp:22, from /usr/include/boost/asio/detail/deadline_timer_service.hpp:31, from /usr/include/boost/asio/basic_deadline_timer.hpp:25, from /usr/include/boost/asio.hpp:27, from src/stats.cpp:9: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/level.hpp:20, from src/stats.cpp:20: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/custom_object.hpp:15, from src/gui_formula_functions.hpp:4, from src/level.hpp:24, from src/stats.cpp:20: src/draw_scene.hpp: In constructor 'screen_position::screen_position()': src/draw_scene.hpp:29:13: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:17: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:9: warning: when initialized here [-Wreorder] 19 | screen_position() : init(false), x(0), y(0), focus_x(0), focus_y(0), | ^~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/custom_object.hpp:25, from src/gui_formula_functions.hpp:4, from src/level.hpp:24, from src/stats.cpp:20: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/custom_object.hpp:25, from src/gui_formula_functions.hpp:4, from src/level.hpp:24, from src/stats.cpp:20: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ In file included from src/level.hpp:25, from src/stats.cpp:20: src/hex_map.hpp: In constructor 'hex::hex_map::hex_map()': src/hex_map.hpp:68:13: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:16: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:9: warning: when initialized here [-Wreorder] 26 | hex_map() : zorder_(-1000), width_(0), height_(0), x_(0), y_(0) | ^~~~~~~ In file included from src/level.hpp:26, from src/stats.cpp:20: src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:45:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 45 | return a.y < b.y || a.y == b.y && a.x < b.x; | ~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const std::pair&) const': src/level_object.hpp:49:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 49 | return a.y < b.second || a.y == b.second && a.x < b.first; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const std::pair&, const level_tile&) const': src/level_object.hpp:53:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 53 | return a.second < b.y || a.second == b.y && a.first < b.x; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_zorder_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:59:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp:59:119: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from src/level.hpp:31, from src/stats.cpp:20: src/tile_map.hpp: In constructor 'tile_map::pattern_index_entry::pattern_index_entry()': src/tile_map.hpp:75:58: warning: comparison of integer expressions of different signedness: 'int' and 'boost::array::size_type' {aka 'unsigned int'} [-Wsign-compare] 75 | pattern_index_entry() { for(int n = 0; n != str.size(); ++n) { str[n] = 0; } } | ~~^~~~~~~~~~~~~ src/stats.cpp: In function 'void stats::{anonymous}::send_stats_thread()': src/stats.cpp:124:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector, std::__cxx11::basic_string > >::size_type' {aka 'unsigned int'} [-Wsign-compare] 124 | for(int n = 0; n != queue.size(); ++n) { | ~~^~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/stats.cpp > stats.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/tbs_bot.cpp In file included from /usr/include/boost/bind.hpp:30, from src/tbs_bot.cpp:1: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/tbs_bot.cpp:4: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/tbs_bot.cpp:5: src/tbs_bot.hpp: In constructor 'tbs::bot::bot(boost::asio::io_service&, const string&, const string&, variant)': src/tbs_bot.hpp:36:37: warning: 'tbs::bot::timer_' will be initialized after [-Wreorder] 36 | boost::asio::deadline_timer timer_; | ^~~~~~ src/tbs_bot.hpp:30:21: warning: 'std::string tbs::bot::host_' [-Wreorder] 30 | std::string host_, port_; | ^~~~~ src/tbs_bot.cpp:11:1: warning: when initialized here [-Wreorder] 11 | bot::bot(boost::asio::io_service& service, const std::string& host, const std::string& port, variant v) | ^~~ src/tbs_bot.cpp: In member function 'void tbs::bot::handle_response(const string&, game_logic::formula_callable_ptr)': src/tbs_bot.cpp:60:34: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 60 | for(int n = 0; n != validate.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/tbs_bot.cpp > tbs_bot.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/stats_web_server.cpp In file included from /usr/include/boost/bind.hpp:30, from src/stats_web_server.cpp:3: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/stats_web_server.cpp > stats_web_server.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/variant_callable.cpp src/variant_callable.cpp: In member function 'variant variant_callable::create_for_list(const variant&) const': src/variant_callable.cpp:34:26: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 34 | for(int n = 0; n != value.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/variant_callable.cpp > variant_callable.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/utils.cpp In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/level.hpp:20, from src/utils.cpp:18: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/custom_object.hpp:15, from src/gui_formula_functions.hpp:4, from src/level.hpp:24, from src/utils.cpp:18: src/draw_scene.hpp: In constructor 'screen_position::screen_position()': src/draw_scene.hpp:29:13: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:17: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:9: warning: when initialized here [-Wreorder] 19 | screen_position() : init(false), x(0), y(0), focus_x(0), focus_y(0), | ^~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/custom_object.hpp:25, from src/gui_formula_functions.hpp:4, from src/level.hpp:24, from src/utils.cpp:18: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/custom_object.hpp:25, from src/gui_formula_functions.hpp:4, from src/level.hpp:24, from src/utils.cpp:18: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ In file included from src/level.hpp:25, from src/utils.cpp:18: src/hex_map.hpp: In constructor 'hex::hex_map::hex_map()': src/hex_map.hpp:68:13: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:16: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:9: warning: when initialized here [-Wreorder] 26 | hex_map() : zorder_(-1000), width_(0), height_(0), x_(0), y_(0) | ^~~~~~~ In file included from src/level.hpp:26, from src/utils.cpp:18: src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:45:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 45 | return a.y < b.y || a.y == b.y && a.x < b.x; | ~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const std::pair&) const': src/level_object.hpp:49:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 49 | return a.y < b.second || a.y == b.second && a.x < b.first; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const std::pair&, const level_tile&) const': src/level_object.hpp:53:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 53 | return a.second < b.y || a.second == b.y && a.first < b.x; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_zorder_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:59:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp:59:119: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from src/level.hpp:31, from src/utils.cpp:18: src/tile_map.hpp: In constructor 'tile_map::pattern_index_entry::pattern_index_entry()': src/tile_map.hpp:75:58: warning: comparison of integer expressions of different signedness: 'int' and 'boost::array::size_type' {aka 'unsigned int'} [-Wsign-compare] 75 | pattern_index_entry() { for(int n = 0; n != str.size(); ++n) { str[n] = 0; } } | ~~^~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/utils.cpp > utils.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/water_particle_system.cpp In file included from src/water_particle_system.cpp:7: src/water_particle_system.hpp: In constructor 'water_particle_system::water_particle_system(const entity&, const water_particle_system_factory&)': src/water_particle_system.hpp:66:26: warning: 'water_particle_system::velocity_y_' will be initialized after [-Wreorder] 66 | int velocity_x_, velocity_y_; | ^~~~~~~~~~~ src/water_particle_system.hpp:55:13: warning: 'int water_particle_system::cycle_' [-Wreorder] 55 | int cycle_; | ^~~~~~ src/water_particle_system.cpp:38:1: warning: when initialized here [-Wreorder] 38 | water_particle_system::water_particle_system(const entity& e, const water_particle_system_factory& factory) | ^~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/water_particle_system.cpp > water_particle_system.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/tileset_editor_dialog.cpp In file included from /usr/include/boost/bind.hpp:30, from src/tileset_editor_dialog.cpp:2: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/widget.hpp:19, from src/border_widget.hpp:6, from src/tileset_editor_dialog.cpp:7: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/border_widget.hpp:6, from src/tileset_editor_dialog.cpp:7: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/border_widget.hpp:6, from src/tileset_editor_dialog.cpp:7: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ In file included from src/custom_object.hpp:15, from src/gui_formula_functions.hpp:4, from src/level.hpp:24, from src/editor.hpp:13, from src/tileset_editor_dialog.cpp:9: src/draw_scene.hpp: In constructor 'screen_position::screen_position()': src/draw_scene.hpp:29:13: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:17: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:9: warning: when initialized here [-Wreorder] 19 | screen_position() : init(false), x(0), y(0), focus_x(0), focus_y(0), | ^~~~~~~~~~~~~~~ In file included from src/level.hpp:25, from src/editor.hpp:13, from src/tileset_editor_dialog.cpp:9: src/hex_map.hpp: In constructor 'hex::hex_map::hex_map()': src/hex_map.hpp:68:13: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:16: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:9: warning: when initialized here [-Wreorder] 26 | hex_map() : zorder_(-1000), width_(0), height_(0), x_(0), y_(0) | ^~~~~~~ In file included from src/level.hpp:26, from src/editor.hpp:13, from src/tileset_editor_dialog.cpp:9: src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:45:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 45 | return a.y < b.y || a.y == b.y && a.x < b.x; | ~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const std::pair&) const': src/level_object.hpp:49:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 49 | return a.y < b.second || a.y == b.second && a.x < b.first; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const std::pair&, const level_tile&) const': src/level_object.hpp:53:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 53 | return a.second < b.y || a.second == b.y && a.first < b.x; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_zorder_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:59:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp:59:119: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from src/level.hpp:31, from src/editor.hpp:13, from src/tileset_editor_dialog.cpp:9: src/tile_map.hpp: In constructor 'tile_map::pattern_index_entry::pattern_index_entry()': src/tile_map.hpp:75:58: warning: comparison of integer expressions of different signedness: 'int' and 'boost::array::size_type' {aka 'unsigned int'} [-Wsign-compare] 75 | pattern_index_entry() { for(int n = 0; n != str.size(); ++n) { str[n] = 0; } } | ~~^~~~~~~~~~~~~ In file included from /usr/include/boost/assert.hpp:58, from /usr/include/boost/smart_ptr/enable_shared_from_this.hpp:19, from /usr/include/boost/enable_shared_from_this.hpp:16, from /usr/include/boost/smart_ptr.hpp:23, from src/thread.hpp:24, from src/stats.hpp:7, from src/editor.hpp:16, from src/tileset_editor_dialog.cpp:9: src/tileset_editor_dialog.cpp: In member function 'void editor_dialogs::tileset_editor_dialog::init()': src/tileset_editor_dialog.cpp:59:68: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 59 | assert(editor_.get_tileset() >= 0 && editor_.get_tileset() < editor_.all_tilesets().size()); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/tileset_editor_dialog.cpp:65:24: warning: unused variable 'first_index' [-Wunused-variable] 65 | int index = 0, first_index = -1; | ^~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/tileset_editor_dialog.cpp > tileset_editor_dialog.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/variant_utils.cpp src/variant_utils.cpp: In function 'variant append_variants(variant, variant)': src/variant_utils.cpp:30:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 30 | if(b.num_elements() > 0 && (b[0].is_numeric() || b[0].is_string()) || | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/variant_utils.cpp > variant_utils.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/weather_particle_system.cpp g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/weather_particle_system.cpp > weather_particle_system.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/variant.cpp In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/variant.cpp:15: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ src/variant.cpp: In member function 'variant variant::get_list_slice(int, int) const': src/variant.cpp:607:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 607 | if(begin < 0 || end > list_->size()) { | ~~~~^~~~~~~~~~~~~~~ src/variant.cpp: In member function 'variant variant::operator()(const std::vector&) const': src/variant.cpp:632:24: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 632 | if(args.size() < min_args || args.size() > max_args) { | ~~~~~~~~~~~~^~~~~~~~~~ src/variant.cpp:632:50: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 632 | if(args.size() < min_args || args.size() > max_args) { | ~~~~~~~~~~~~^~~~~~~~~~ src/variant.cpp:640:39: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 640 | for(size_t n = args.size(); n < max_args; ++n) { | ~~^~~~~~~~~~ src/variant.cpp: In member function 'std::vector > variant::as_list_string() const': src/variant.cpp:723:26: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 723 | for(int n = 0; n != list_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~ src/variant.cpp: In member function 'std::vector variant::as_list_int() const': src/variant.cpp:745:26: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 745 | for(int n = 0; n != list_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~ src/variant.cpp: In member function 'std::vector variant::as_list_decimal() const': src/variant.cpp:757:26: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 757 | for(int n = 0; n != list_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~ src/variant.cpp: In member function 'variant* variant::get_index_mutable(int)': src/variant.cpp:841:40: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 841 | if(index >= 0 && index < list_->size()) { | ~~~~~~^~~~~~~~~~~~~~~ src/variant.cpp: In member function 'variant variant::operator*(const variant&) const': src/variant.cpp:995:42: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 995 | for(int m = 0; m != list_->size(); ++m) { | ~~^~~~~~~~~~~~~~~~ src/variant.cpp: In member function 'bool variant::operator==(const variant&) const': src/variant.cpp:1065:42: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1065 | if(!is_numeric() && !is_null() || !v.is_numeric() && !v.is_null()) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~ src/variant.cpp: In function 'void BENCHMARK_variant_assign(int)': src/variant.cpp:1845:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 1845 | for(int n = 0; n != vec.size(); ++n) { | ~~^~~~~~~~~~~~~ In file included from src/foreach.hpp:5, from src/variant.cpp:13: src/variant.cpp: In function 'void TEST_variant_foreach()': src/variant.cpp:1864:32: warning: unused variable 'v' [-Wunused-variable] 1864 | foreach(const variant& v, variant().range()) { | ^ src/variant.cpp:1864:9: note: in expansion of macro 'foreach' 1864 | foreach(const variant& v, variant().range()) { | ^~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/variant.cpp > variant.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/wml_formula_callable.cpp In file included from /usr/include/boost/bind.hpp:30, from src/wml_formula_callable.cpp:5: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/wml_formula_callable.cpp > wml_formula_callable.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/widget.cpp In file included from /usr/include/boost/bind.hpp:30, from src/widget.cpp:14: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from src/widget.cpp:19: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/widget.hpp:19, from src/widget.cpp:21: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/widget.cpp:21: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp: In constructor 'gui::widget::widget(const variant&, game_logic::formula_callable*)': src/widget.hpp:93:39: warning: 'gui::widget::environ_' will be initialized after [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:86:13: warning: 'int gui::widget::w_' [-Wreorder] 86 | int w_, h_; | ^~ src/widget.cpp:28:1: warning: when initialized here [-Wreorder] 28 | widget::widget(const variant& v, game_logic::formula_callable* e) | ^~~~~~ In file included from src/widget.cpp:21: src/widget.hpp:86:17: warning: 'gui::widget::h_' will be initialized after [-Wreorder] 86 | int w_, h_; | ^~ src/widget.hpp:85:13: warning: 'int gui::widget::x_' [-Wreorder] 85 | int x_, y_; | ^~ src/widget.cpp:28:1: warning: when initialized here [-Wreorder] 28 | widget::widget(const variant& v, game_logic::formula_callable* e) | ^~~~~~ In file included from src/widget.cpp:21: src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.cpp:28:1: warning: when initialized here [-Wreorder] 28 | widget::widget(const variant& v, game_logic::formula_callable* e) | ^~~~~~ In file included from src/widget.cpp:21: src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.cpp:28:1: warning: when initialized here [-Wreorder] 28 | widget::widget(const variant& v, game_logic::formula_callable* e) | ^~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/widget.cpp > widget.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/unit_test.cpp In file included from /usr/include/boost/bind.hpp:30, from src/unit_test.cpp:1: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/unit_test.cpp > unit_test.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/tbs_server.cpp In file included from /usr/include/boost/bind.hpp:30, from src/tbs_server.cpp:6: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ src/tbs_server.cpp: In member function 'void tbs::server::adopt_ajax_socket(tbs::socket_ptr, int, const variant&)': src/tbs_server.cpp:49:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 49 | for(int i = 0; i != users.size(); ++i) { | ~~^~~~~~~~~~~~~~~ src/tbs_server.cpp: In member function 'void tbs::server::handle_message_internal(tbs::socket_ptr, tbs::server::client_info&, const variant&)': src/tbs_server.cpp:168:28: warning: unused variable 'game_started' [-Wunused-variable] 168 | const bool game_started = cli_info.game->game_state->started(); | ^~~~~~~~~~~~ src/tbs_server.cpp:155:28: warning: unused variable 'user' [-Wunused-variable] 155 | const std::string& user = cli_info.user; | ^~~~ src/tbs_server.cpp: In member function 'void tbs::server::send_msg(tbs::socket_ptr, const string&)': src/tbs_server.cpp:218:28: warning: unused variable 'info' [-Wunused-variable] 218 | const socket_info& info = connections_[socket]; | ^~~~ src/tbs_server.cpp: In member function 'void tbs::server::quit_games(int)': src/tbs_server.cpp:405:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 405 | if(games_size != games_.size()) { | ~~~~~~~~~~~^~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/tbs_server.cpp > tbs_server.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/formula_test.cpp In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/formula_test.cpp:3: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/formula_test.cpp > formula_test.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/wm.cpp g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/wm.cpp > wm.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/tbs_web_server.cpp In file included from /usr/include/boost/bind.hpp:30, from src/tbs_web_server.cpp:3: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/tbs_web_server.cpp > tbs_web_server.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/tree_view_widget.cpp In file included from /usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22, from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23, from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14, from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42, from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25, from /usr/include/boost/smart_ptr/shared_ptr.hpp:29, from /usr/include/boost/shared_ptr.hpp:17, from src/tree_view_widget.cpp:7: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/widget.hpp:19, from src/border_widget.hpp:6, from src/dropdown_widget.hpp:10, from src/tree_view_widget.cpp:11: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/border_widget.hpp:6, from src/dropdown_widget.hpp:10, from src/tree_view_widget.cpp:11: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/border_widget.hpp:6, from src/dropdown_widget.hpp:10, from src/tree_view_widget.cpp:11: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ In file included from src/dropdown_widget.hpp:13, from src/tree_view_widget.cpp:11: src/text_editor_widget.hpp: In member function 'bool gui::text_editor_widget::Loc::operator<(const gui::text_editor_widget::Loc&) const': src/text_editor_widget.hpp:41:89: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 41 | bool operator<(const Loc& o) const { return row < o.row || row == o.row && col < o.col; } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from src/tree_view_widget.cpp:20: src/tree_view_widget.hpp: In constructor 'gui::tree_view_widget::tree_view_widget(int, int, const variant&)': src/tree_view_widget.hpp:76:13: warning: 'gui::tree_view_widget::selected_row_' will be initialized after [-Wreorder] 76 | int selected_row_; | ^~~~~~~~~~~~~ src/tree_view_widget.hpp:68:13: warning: 'int gui::tree_view_widget::char_height_' [-Wreorder] 68 | int char_height_; | ^~~~~~~~~~~~ src/tree_view_widget.cpp:24:1: warning: when initialized here [-Wreorder] 24 | tree_view_widget::tree_view_widget(int w, int h, const variant& tree) | ^~~~~~~~~~~~~~~~ In file included from src/tree_view_widget.cpp:20: src/tree_view_widget.hpp:77:13: warning: 'gui::tree_view_widget::nrows_' will be initialized after [-Wreorder] 77 | int nrows_; | ^~~~~~ src/tree_view_widget.hpp:74:14: warning: 'bool gui::tree_view_widget::swallow_clicks_' [-Wreorder] 74 | bool swallow_clicks_; | ^~~~~~~~~~~~~~~ src/tree_view_widget.cpp:24:1: warning: when initialized here [-Wreorder] 24 | tree_view_widget::tree_view_widget(int w, int h, const variant& tree) | ^~~~~~~~~~~~~~~~ In file included from src/tree_view_widget.cpp:20: src/tree_view_widget.hpp:78:13: warning: 'gui::tree_view_widget::max_height_' will be initialized after [-Wreorder] 78 | int max_height_; | ^~~~~~~~~~~ src/tree_view_widget.hpp:70:13: warning: 'int gui::tree_view_widget::min_col_size_' [-Wreorder] 70 | int min_col_size_; | ^~~~~~~~~~~~~ src/tree_view_widget.cpp:24:1: warning: when initialized here [-Wreorder] 24 | tree_view_widget::tree_view_widget(int w, int h, const variant& tree) | ^~~~~~~~~~~~~~~~ In file included from src/tree_view_widget.cpp:20: src/tree_view_widget.hpp:71:13: warning: 'gui::tree_view_widget::max_col_size_' will be initialized after [-Wreorder] 71 | int max_col_size_; | ^~~~~~~~~~~~~ src/tree_view_widget.hpp:69:13: warning: 'int gui::tree_view_widget::char_width_' [-Wreorder] 69 | int char_width_; | ^~~~~~~~~~~ src/tree_view_widget.cpp:24:1: warning: when initialized here [-Wreorder] 24 | tree_view_widget::tree_view_widget(int w, int h, const variant& tree) | ^~~~~~~~~~~~~~~~ In file included from src/tree_view_widget.cpp:20: src/tree_view_widget.hpp: In constructor 'gui::tree_view_widget::tree_view_widget(const variant&, game_logic::formula_callable*)': src/tree_view_widget.hpp:77:13: warning: 'gui::tree_view_widget::nrows_' will be initialized after [-Wreorder] 77 | int nrows_; | ^~~~~~ src/tree_view_widget.hpp:70:13: warning: 'int gui::tree_view_widget::min_col_size_' [-Wreorder] 70 | int min_col_size_; | ^~~~~~~~~~~~~ src/tree_view_widget.cpp:38:1: warning: when initialized here [-Wreorder] 38 | tree_view_widget::tree_view_widget(const variant& v, game_logic::formula_callable* e) | ^~~~~~~~~~~~~~~~ src/tree_view_widget.cpp: In member function 'virtual int gui::tree_view_widget::traverse(int, int, int, variant*, const variant&, variant*)': src/tree_view_widget.cpp:101:41: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 101 | if(str.length() > max_chars && max_chars > 3) { | ~~~~~~~~~~~~~^~~~~~~~~~~ src/tree_view_widget.cpp:137:33: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 137 | if(str.length() > max_chars && max_chars > 3) { | ~~~~~~~~~~~~~^~~~~~~~~~~ src/tree_view_widget.cpp:151:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 151 | for(int index = 0; index != value->as_list().size(); index++) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/tree_view_widget.cpp: In member function 'void gui::tree_view_widget::gen_traverse(int, boost::function, const variant&, variant*)': src/tree_view_widget.cpp:188:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 188 | for(int index = 0; index != value->as_list().size(); index++) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/tree_view_widget.cpp: In member function 'void gui::tree_view_widget::calc_column_widths(int, const variant&, variant*)': src/tree_view_widget.cpp:202:34: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 202 | while(col_widths_.size() <= depth) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ src/tree_view_widget.cpp: In member function 'virtual void gui::tree_view_widget::handle_draw() const': src/tree_view_widget.cpp:269:33: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] 269 | glTranslatef(GLfloat(x()+2 & ~1), GLfloat(y()+2 & ~1), 0.0); | ~~~^~ src/tree_view_widget.cpp:269:54: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] 269 | glTranslatef(GLfloat(x()+2 & ~1), GLfloat(y()+2 & ~1), 0.0); | ~~~^~ src/tree_view_widget.cpp:277:92: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 277 | if(persistent_highlight_ && highlighted_row_ >= 0 && size_t(persistent_highlight_) < nrows()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ src/tree_view_widget.cpp: In member function 'virtual void gui::tree_editor_widget::on_select(Uint8, int)': src/tree_view_widget.cpp:508:34: warning: unused variable 'v' [-Wunused-variable] 508 | variant* v = row_map_[selection].second; | ^ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/tree_view_widget.cpp > tree_view_widget.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/widget_factory.cpp In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/widget.hpp:19, from src/widget_factory.cpp:1: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/widget_factory.cpp:1: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/widget_factory.cpp:1: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ In file included from /usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22, from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23, from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14, from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42, from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25, from /usr/include/boost/smart_ptr/shared_ptr.hpp:29, from /usr/include/boost/shared_ptr.hpp:17, from src/formula_callable_definition_fwd.hpp:4, from src/formula.hpp:20, from src/widget.hpp:19, from src/widget_factory.cpp:1: /usr/include/boost/bind.hpp: At global scope: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from src/code_editor_widget.hpp:9, from src/widget_factory.cpp:11: src/text_editor_widget.hpp: In member function 'bool gui::text_editor_widget::Loc::operator<(const gui::text_editor_widget::Loc&) const': src/text_editor_widget.hpp:41:89: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 41 | bool operator<(const Loc& o) const { return row < o.row || row == o.row && col < o.col; } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from src/preview_tileset_widget.hpp:4, from src/widget_factory.cpp:22: src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:45:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 45 | return a.y < b.y || a.y == b.y && a.x < b.x; | ~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const std::pair&) const': src/level_object.hpp:49:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 49 | return a.y < b.second || a.y == b.second && a.x < b.first; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const std::pair&, const level_tile&) const': src/level_object.hpp:53:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 53 | return a.second < b.y || a.second == b.y && a.first < b.x; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_zorder_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:59:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp:59:119: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/widget_factory.cpp > widget_factory.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/text_editor_widget.cpp In file included from /usr/include/boost/bind.hpp:30, from src/text_editor_widget.cpp:1: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/widget.hpp:19, from src/scrollbar_widget.hpp:7, from src/scrollable_widget.hpp:6, from src/text_editor_widget.hpp:8, from src/text_editor_widget.cpp:16: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/scrollbar_widget.hpp:7, from src/scrollable_widget.hpp:6, from src/text_editor_widget.hpp:8, from src/text_editor_widget.cpp:16: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/scrollbar_widget.hpp:7, from src/scrollable_widget.hpp:6, from src/text_editor_widget.hpp:8, from src/text_editor_widget.cpp:16: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ In file included from src/text_editor_widget.cpp:16: src/text_editor_widget.hpp: In member function 'bool gui::text_editor_widget::Loc::operator<(const gui::text_editor_widget::Loc&) const': src/text_editor_widget.hpp:41:89: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 41 | bool operator<(const Loc& o) const { return row < o.row || row == o.row && col < o.col; } | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ src/text_editor_widget.cpp: In function 'const gui::{anonymous}::CharArea& gui::{anonymous}::get_char_area(int, char)': src/text_editor_widget.cpp:51:13: warning: unused variable 'nchars' [-Wunused-variable] 51 | int nchars = 0; | ^~~~~~ In file included from src/text_editor_widget.cpp:16: src/text_editor_widget.hpp: In constructor 'gui::text_editor_widget::text_editor_widget(int, int)': src/text_editor_widget.hpp:177:14: warning: 'gui::text_editor_widget::begin_enter_return_' will be initialized after [-Wreorder] 177 | bool begin_enter_return_; | ^~~~~~~~~~~~~~~~~~~ src/text_editor_widget.hpp:147:13: warning: 'int gui::text_editor_widget::last_click_at_' [-Wreorder] 147 | int last_click_at_, consecutive_clicks_; | ^~~~~~~~~~~~~~ src/text_editor_widget.cpp:106:1: warning: when initialized here [-Wreorder] 106 | text_editor_widget::text_editor_widget(int width, int height) | ^~~~~~~~~~~~~~~~~~ In file included from src/text_editor_widget.cpp:16: src/text_editor_widget.hpp: In constructor 'gui::text_editor_widget::text_editor_widget(const variant&, game_logic::formula_callable*)': src/text_editor_widget.hpp:177:14: warning: 'gui::text_editor_widget::begin_enter_return_' will be initialized after [-Wreorder] 177 | bool begin_enter_return_; | ^~~~~~~~~~~~~~~~~~~ src/text_editor_widget.hpp:147:13: warning: 'int gui::text_editor_widget::last_click_at_' [-Wreorder] 147 | int last_click_at_, consecutive_clicks_; | ^~~~~~~~~~~~~~ src/text_editor_widget.cpp:138:1: warning: when initialized here [-Wreorder] 138 | text_editor_widget::text_editor_widget(const variant& v, game_logic::formula_callable* e) | ^~~~~~~~~~~~~~~~~~ src/text_editor_widget.cpp: In member function 'void gui::text_editor_widget::set_text(const string&, bool)': src/text_editor_widget.cpp:250:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 250 | if(select_.row >= text_.size()) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~ src/text_editor_widget.cpp:254:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 254 | if(cursor_.row >= text_.size()) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~ src/text_editor_widget.cpp: In member function 'virtual void gui::text_editor_widget::handle_draw() const': src/text_editor_widget.cpp:329:36: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 329 | for(int n = scroll_pos_; n < text_.size() && r < nrows_; ++n, ++r) { | ~~^~~~~~~~~~~~~~ src/text_editor_widget.cpp:337:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] 337 | for(int m = 0; m < text_[n].size(); ++m, ++c) { | ~~^~~~~~~~~~~~~~~~~ src/text_editor_widget.cpp:407:66: warning: comparison of integer expressions of different signedness: 'const int' and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] 407 | if(has_focus_ && cursor_.row == n && cursor_.col >= text_[n].size() && SDL_GetTicks()%500 < 350) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ src/text_editor_widget.cpp:323:13: warning: unused variable 'begin_build' [-Wunused-variable] 323 | int begin_build = SDL_GetTicks(); | ^~~~~~~~~~~ src/text_editor_widget.cpp:413:19: warning: unused variable 'begin_draw' [-Wunused-variable] 413 | const int begin_draw = SDL_GetTicks(); | ^~~~~~~~~~ src/text_editor_widget.cpp: In member function 'void gui::text_editor_widget::set_cursor(int, int)': src/text_editor_widget.cpp:489:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 489 | if(row >= text_.size()) { | ~~~~^~~~~~~~~~~~~~~ src/text_editor_widget.cpp:493:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] 493 | if(col > text_[row].size()) { | ~~~~^~~~~~~~~~~~~~~~~~~ src/text_editor_widget.cpp: In member function 'int gui::text_editor_widget::row_col_to_text_pos(int, int) const': src/text_editor_widget.cpp:504:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] 504 | if(col > text_[row].size()) { | ~~~~^~~~~~~~~~~~~~~~~~~ src/text_editor_widget.cpp: In member function 'std::pair gui::text_editor_widget::text_pos_to_row_col(int) const': src/text_editor_widget.cpp:519:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] 519 | while(pos > text_[nrow].size()+1) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~ src/text_editor_widget.cpp: In member function 'bool gui::text_editor_widget::handle_mouse_button_down(const SDL_MouseButtonEvent&)': src/text_editor_widget.cpp:554:60: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 554 | if(text_.size() > 2 && cursor_.row < text_.size()-3) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/text_editor_widget.cpp:557:49: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 557 | if( scroll_pos_ > text_.size() ){ | ~~~~~~~~~~~~^~~~~~~~~~~~~~ src/text_editor_widget.cpp: In member function 'bool gui::text_editor_widget::handle_key_press(const SDL_KeyboardEvent&)': src/text_editor_widget.cpp:705:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] 705 | if(cursor_.col < text_[select_.row].size()) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/text_editor_widget.cpp:738:40: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] 738 | if(cursor_.col > text_[cursor_.row].size()) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/text_editor_widget.cpp:767:40: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] 767 | if(cursor_.col > text_[cursor_.row].size()) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/text_editor_widget.cpp:768:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 768 | if(cursor_.row == text_.size()-1) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ src/text_editor_widget.cpp:770:55: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 770 | } else if(cursor_.row < text_.size()-1) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/text_editor_widget.cpp:791:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 791 | if(cursor_.row < text_.size()-1) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/text_editor_widget.cpp:856:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] 856 | if(cursor_.col > text_[cursor_.row].size()) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/text_editor_widget.cpp:873:40: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] 873 | if(cursor_.col >= text_[cursor_.row].size()) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/text_editor_widget.cpp:874:49: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 874 | if(text_.size() > cursor_.row+1) { | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ src/text_editor_widget.cpp:952:40: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] 952 | if(cursor_.col > text_[cursor_.row].size()) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/text_editor_widget.cpp: In member function 'void gui::text_editor_widget::handle_copy(bool)': src/text_editor_widget.cpp:1004:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] 1004 | if(begin.col > text_[begin.row].size()) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ src/text_editor_widget.cpp:1008:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] 1008 | if(end.col > text_[end.row].size()) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ src/text_editor_widget.cpp: In member function 'void gui::text_editor_widget::delete_selection()': src/text_editor_widget.cpp:1038:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] 1038 | if(cursor_.col > text_[cursor_.row].size()) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/text_editor_widget.cpp:1042:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] 1042 | if(select_.col > text_[select_.row].size()) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/text_editor_widget.cpp: In member function 'std::pair gui::text_editor_widget::mouse_position_to_row_col(int, int) const': src/text_editor_widget.cpp:1074:36: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 1074 | for(int n = scroll_pos_; n < text_.size() && r < nrows_; ++n, ++r) { | ~~^~~~~~~~~~~~~~ src/text_editor_widget.cpp: In member function 'std::pair gui::text_editor_widget::char_position_on_screen(int, int) const': src/text_editor_widget.cpp:1129:32: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1129 | if(row == n && col == m) { | ~~~~^~~~ src/text_editor_widget.cpp:1129:44: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1129 | if(row == n && col == m) { | ~~~~^~~~ src/text_editor_widget.cpp:1139:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1139 | if(row == n && m == text_[n].size()) { | ~~~~^~~~ src/text_editor_widget.cpp: In member function 'int gui::text_editor_widget::find_equivalent_col(int, int, int) const': src/text_editor_widget.cpp:1212:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] 1212 | if(n < text_[new_row].size() && text_[new_row][n] == '\t') { | ~~^~~~~~~~~~~~~~~~~~~~~~~ src/text_editor_widget.cpp: In member function 'void gui::text_editor_widget::refresh_scrollbar()': src/text_editor_widget.cpp:1229:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 1229 | for(int n = 0; n != text_.size(); ++n) { | ~~^~~~~~~~~~~~~~~ src/text_editor_widget.cpp: In member function 'virtual void gui::text_editor_widget::select_token(const string&, int&, int&, int&, int&)': src/text_editor_widget.cpp:1254:84: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] 1254 | if(util::c_isdigit(row[begin_col]) || row[begin_col] == '.' && begin_col+1 < row.size() && util::c_isdigit(row[begin_col+1])) { | ~~~~~~~~~~~~^~~~~~~~~~~~ src/text_editor_widget.cpp:1254:97: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1254 | if(util::c_isdigit(row[begin_col]) || row[begin_col] == '.' && begin_col+1 < row.size() && util::c_isdigit(row[begin_col+1])) { src/text_editor_widget.cpp:1263:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] 1263 | while(end_col < row.size() && (util::c_isdigit(row[end_col]) || row[end_col] == '.')) { | ~~~~~~~~^~~~~~~~~~~~ src/text_editor_widget.cpp:1273:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] 1273 | while(end_col < row.size() && (util::c_isalnum(row[end_col]) || row[end_col] == '_')) { | ~~~~~~~~^~~~~~~~~~~~ src/text_editor_widget.cpp:1276:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] 1276 | } else if(end_col < row.size()) { | ~~~~~~~~^~~~~~~~~~~~ src/text_editor_widget.cpp: In member function 'void gui::text_editor_widget::truncate_col_position()': src/text_editor_widget.cpp:1351:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] 1351 | if(cursor_.col > text_[cursor_.row].size()) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/text_editor_widget.cpp:1355:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] 1355 | if(select_.col > text_[select_.row].size()) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/text_editor_widget.cpp: In member function 'void gui::text_editor_widget::calculate_search_matches()': src/text_editor_widget.cpp:1400:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 1400 | for(int n = 0; n != text_.size(); ++n) { | ~~^~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/text_editor_widget.cpp > text_editor_widget.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/loading_screen.cpp In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/custom_object_type.hpp:11, from src/loading_screen.cpp:7: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ src/loading_screen.cpp: In member function 'void loading_screen::draw_internal(const string&)': src/loading_screen.cpp:78:13: warning: unused variable 'bar_origin_x' [-Wunused-variable] 78 | int bar_origin_x = graphics::screen_width()/2 - bar_width/2; | ^~~~~~~~~~~~ src/loading_screen.cpp: In member function 'void loading_screen::finish_loading()': src/loading_screen.cpp:110:34: warning: comparison of integer expressions of different signedness: 'int' and 'Uint32' {aka 'unsigned int'} [-Wsign-compare] 110 | while(started_at_ + 3000 > SDL_GetTicks()) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/loading_screen.cpp > loading_screen.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/water.cpp In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/water.cpp:11: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/custom_object.hpp:15, from src/gui_formula_functions.hpp:4, from src/level.hpp:24, from src/water.cpp:12: src/draw_scene.hpp: In constructor 'screen_position::screen_position()': src/draw_scene.hpp:29:13: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:17: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:9: warning: when initialized here [-Wreorder] 19 | screen_position() : init(false), x(0), y(0), focus_x(0), focus_y(0), | ^~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/custom_object.hpp:25, from src/gui_formula_functions.hpp:4, from src/level.hpp:24, from src/water.cpp:12: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/custom_object.hpp:25, from src/gui_formula_functions.hpp:4, from src/level.hpp:24, from src/water.cpp:12: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ In file included from src/level.hpp:25, from src/water.cpp:12: src/hex_map.hpp: In constructor 'hex::hex_map::hex_map()': src/hex_map.hpp:68:13: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:16: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:9: warning: when initialized here [-Wreorder] 26 | hex_map() : zorder_(-1000), width_(0), height_(0), x_(0), y_(0) | ^~~~~~~ In file included from src/level.hpp:26, from src/water.cpp:12: src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:45:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 45 | return a.y < b.y || a.y == b.y && a.x < b.x; | ~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const std::pair&) const': src/level_object.hpp:49:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 49 | return a.y < b.second || a.y == b.second && a.x < b.first; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const std::pair&, const level_tile&) const': src/level_object.hpp:53:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 53 | return a.second < b.y || a.second == b.y && a.first < b.x; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_zorder_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:59:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp:59:119: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from src/level.hpp:31, from src/water.cpp:12: src/tile_map.hpp: In constructor 'tile_map::pattern_index_entry::pattern_index_entry()': src/tile_map.hpp:75:58: warning: comparison of integer expressions of different signedness: 'int' and 'boost::array::size_type' {aka 'unsigned int'} [-Wsign-compare] 75 | pattern_index_entry() { for(int n = 0; n != str.size(); ++n) { str[n] = 0; } } | ~~^~~~~~~~~~~~~ src/water.cpp: In constructor 'water::water(variant)': src/water.cpp:42:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 42 | if(n < color_vec.size()) { | ~~^~~~~~~~~~~~~~~~~~ src/water.cpp: In member function 'void water::add_wave(const point&, double, double, double, double, double)': src/water.cpp:141:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 141 | for(int n = 0; n != a.surface_segments_.size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/water.cpp > water.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/tile_map.cpp In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/tile_map.cpp:10: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/multi_tile_pattern.hpp:12, from src/tile_map.cpp:14: src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:45:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 45 | return a.y < b.y || a.y == b.y && a.x < b.x; | ~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const std::pair&) const': src/level_object.hpp:49:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 49 | return a.y < b.second || a.y == b.second && a.x < b.first; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const std::pair&, const level_tile&) const': src/level_object.hpp:53:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 53 | return a.second < b.y || a.second == b.y && a.first < b.x; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_zorder_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:59:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp:59:119: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from src/tile_map.cpp:19: src/tile_map.hpp: In constructor 'tile_map::pattern_index_entry::pattern_index_entry()': src/tile_map.hpp:75:58: warning: comparison of integer expressions of different signedness: 'int' and 'boost::array::size_type' {aka 'unsigned int'} [-Wsign-compare] 75 | pattern_index_entry() { for(int n = 0; n != str.size(); ++n) { str[n] = 0; } } | ~~^~~~~~~~~~~~~ src/tile_map.cpp: In constructor 'tile_pattern::tile_pattern(variant, const string&)': src/tile_map.cpp:93:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 93 | for(int n = 0; n != patterns.size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~ src/tile_map.cpp: In constructor 'tile_map::tile_map(variant)': src/tile_map.cpp:399:40: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 399 | if(index_entry == pattern_index_.size()) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/tile_map.cpp: In member function 'void tile_map::build_patterns()': src/tile_map.cpp:455:52: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >*>::size_type' {aka 'unsigned int'} [-Wsign-compare] 455 | if(matches == re.size()) { | ~~~~~~~~^~~~~~~~~~~~ src/tile_map.cpp:461:36: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >*>::size_type' {aka 'unsigned int'} [-Wsign-compare] 461 | if(matches == re.size()) { | ~~~~~~~~^~~~~~~~~~~~ src/tile_map.cpp:466:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >*>::size_type' {aka 'unsigned int'} [-Wsign-compare] 466 | if(matches == re.size()) { | ~~~~~~~~^~~~~~~~~~~~ src/tile_map.cpp:490:52: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >*>::size_type' {aka 'unsigned int'} [-Wsign-compare] 490 | if(matches == re.size()) { | ~~~~~~~~^~~~~~~~~~~~ src/tile_map.cpp:496:36: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >*>::size_type' {aka 'unsigned int'} [-Wsign-compare] 496 | if(matches == re.size()) { | ~~~~~~~~^~~~~~~~~~~~ src/tile_map.cpp:501:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >*>::size_type' {aka 'unsigned int'} [-Wsign-compare] 501 | if(matches == re.size()) { | ~~~~~~~~^~~~~~~~~~~~ src/tile_map.cpp: In member function 'variant tile_map::write() const': src/tile_map.cpp:576:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 576 | for(int n = 0; n != unique_tiles.size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~ src/tile_map.cpp:589:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 589 | for(int i = 0; i != row.size(); ++i) { | ~~^~~~~~~~~~~~~ src/tile_map.cpp: In member function 'const char* tile_map::get_tile(int, int) const': src/tile_map.cpp:615:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 615 | if(x < 0 || y < 0 || y >= map_.size() || x >= map_[y].size()) { | ~~^~~~~~~~~~~~~~ src/tile_map.cpp:615:52: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 615 | if(x < 0 || y < 0 || y >= map_.size() || x >= map_[y].size()) { | ~~^~~~~~~~~~~~~~~~~ src/tile_map.cpp: In member function 'const tile_map::pattern_index_entry& tile_map::get_tile_entry(int, int) const': src/tile_map.cpp:624:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 624 | if(x < 0 || y < 0 || y >= map_.size() || x >= map_[y].size()) { | ~~^~~~~~~~~~~~~~ src/tile_map.cpp:624:52: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 624 | if(x < 0 || y < 0 || y >= map_.size() || x >= map_[y].size()) { | ~~^~~~~~~~~~~~~~~~~ src/tile_map.cpp: In member function 'int tile_map::variation(int, int) const': src/tile_map.cpp:661:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 661 | if(x < 0 || y < 0 || y >= variations_.size() || x >= variations_[y].size()) { | ~~^~~~~~~~~~~~~~~~~~~~~ src/tile_map.cpp:661:59: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 661 | if(x < 0 || y < 0 || y >= variations_.size() || x >= variations_[y].size()) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~ src/tile_map.cpp: In member function 'void tile_map::flip_variation(int, int, int)': src/tile_map.cpp:678:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 678 | if(y >= variations_.size()) { | ~~^~~~~~~~~~~~~~~~~~~~~ src/tile_map.cpp:683:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 683 | if(x >= row.size()) { | ~~^~~~~~~~~~~~~ src/tile_map.cpp: In member function 'void tile_map::apply_matching_multi_pattern(int&, int, const multi_tile_pattern&, point_map&, std::map, level_object*>&) const': src/tile_map.cpp:738:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 738 | for(int n = 0; n != pattern.try_order().size() && match; ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/tile_map.cpp: In member function 'void tile_map::build_tiles(std::vector*, const rect*) const': src/tile_map.cpp:787:31: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 787 | if(row.size() > width) { | ~~~~~~~~~~~^~~~~~~ src/tile_map.cpp:800:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 800 | if(r && ypos < r->y() || r && ypos > r->y2()) { | ~~^~~~~~~~~~~~~~~~ src/tile_map.cpp:812:37: warning: unused variable 'obj' [-Wunused-variable] 812 | const level_object* obj = i->second; | ^~~ src/tile_map.cpp:836:22: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 836 | if(r && ypos < r->y() || r && ypos > r->y2()) { | ~~^~~~~~~~~~~~~~~~ src/tile_map.cpp:863:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 863 | if(r && xpos < r->x() || r && xpos > r->x2()) { | ~~^~~~~~~~~~~~~~~~ src/tile_map.cpp:876:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 876 | if(variation_num >= p->variations.size()) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ src/tile_map.cpp:783:19: warning: unused variable 'begin_time' [-Wunused-variable] 783 | const int begin_time = SDL_GetTicks(); | ^~~~~~~~~~ src/tile_map.cpp: In member function 'const tile_pattern* tile_map::get_matching_pattern(int, int, {anonymous}::tile_pattern_cache&, bool*) const': src/tile_map.cpp:921:19: warning: unused variable 'xpos' [-Wunused-variable] 921 | const int xpos = xpos_ + x*TileSize; | ^~~~ src/tile_map.cpp: In member function 'bool tile_map::set_tile(int, int, const string&)': src/tile_map.cpp:1019:24: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 1019 | if(map_.size() <= y) { | ~~~~~~~~~~~~^~~~ src/tile_map.cpp:1035:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 1035 | if(row.size() > x && row[x] == index) { | ~~~~~~~~~~~^~~ src/tile_map.cpp:1040:26: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 1040 | while(row.size() <= x) { | ~~~~~~~~~~~^~~~ src/tile_map.cpp:1047:15: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 1047 | if (y < variations_.size() && x < variations_[y].size()) { | ~~^~~~~~~~~~~~~~~~~~~~ src/tile_map.cpp:1047:41: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 1047 | if (y < variations_.size() && x < variations_[y].size()) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/tile_map.cpp:15: src/point_map.hpp: In instantiation of 'void point_map::insert(const point&, ValueType) [with ValueType = level_object*]': src/tile_map.cpp:770:22: required from here src/point_map.hpp:29:34: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector::Row, std::allocator::Row> >::size_type' {aka 'unsigned int'} [-Wsign-compare] 29 | if(index >= negative_rows_.size()) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/point_map.hpp:36:34: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector::Row, std::allocator::Row> >::size_type' {aka 'unsigned int'} [-Wsign-compare] 36 | if(index >= positive_rows_.size()) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/point_map.hpp:45:34: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 45 | if(index >= row->negative_cells.size()) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/point_map.hpp:52:34: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 52 | if(index >= row->positive_cells.size()) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/point_map.hpp: In instantiation of 'const ValueType* point_map::lookup(const point&) const [with ValueType = level_object*]': src/point_map.hpp:16:28: required from 'const ValueType& point_map::get(const point&) const [with ValueType = level_object*]' src/tile_map.cpp:753:71: required from here src/point_map.hpp:67:34: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector::Row, std::allocator::Row> >::size_type' {aka 'unsigned int'} [-Wsign-compare] 67 | if(index >= negative_rows_.size()) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/point_map.hpp:74:34: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector::Row, std::allocator::Row> >::size_type' {aka 'unsigned int'} [-Wsign-compare] 74 | if(index >= positive_rows_.size()) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/point_map.hpp:83:34: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 83 | if(index >= row->negative_cells.size()) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/point_map.hpp:90:34: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 90 | if(index >= row->positive_cells.size()) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/tile_map.cpp > tile_map.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/utility_query.cpp In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/utility_query.cpp:9: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ src/utility_query.cpp: In function 'std::string modify_variant_text(const string&, variant, variant, int, int, std::string)': src/utility_query.cpp:242:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 242 | for(int n = 0; n != a.size(); ++n) { | ~~^~~~~~~~~~~ src/utility_query.cpp:256:49: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 256 | for(int n = a.size(); n < b.size(); ++n) { | ~~^~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/utility_query.cpp > utility_query.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/vector_text.cpp In file included from src/vector_text.cpp:8: src/vector_text.hpp: In constructor 'gui::vector_text::vector_text(const variant&)': src/vector_text.hpp:56:21: warning: 'gui::vector_text::text_' will be initialized after [-Wreorder] 56 | std::string text_; | ^~~~~ src/vector_text.hpp:53:14: warning: 'bool gui::vector_text::visible_' [-Wreorder] 53 | bool visible_; | ^~~~~~~~ src/vector_text.cpp:12:1: warning: when initialized here [-Wreorder] 12 | vector_text::vector_text(const variant& node) | ^~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/vector_text.cpp > vector_text.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/utility_object_compiler.cpp In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/custom_object_type.hpp:11, from src/utility_object_compiler.cpp:10: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ src/utility_object_compiler.cpp: In function 'bool {anonymous}::animation_area_has_alpha_channel({anonymous}::animation_area_ptr)': src/utility_object_compiler.cpp:135:48: warning: unused variable 'pixel' [-Wunused-variable] 135 | const uint32_t pixel = pixels[index]; | ^~~~~ src/utility_object_compiler.cpp: In function 'void UTILITY_compile_objects(const std::vector >&)': src/utility_object_compiler.cpp:304:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<{anonymous}::output_area>::size_type' {aka 'unsigned int'} [-Wsign-compare] 304 | for(int n = 0; n != output_areas.size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/utility_object_compiler.cpp > utility_object_compiler.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/utility_render_level.cpp In file included from src/formula_function.hpp:26, from src/formula.hpp:22, from src/level.hpp:20, from src/utility_render_level.cpp:8: src/formula_callable_utils.hpp: In member function 'virtual variant game_logic::slot_formula_callable::get_value(const string&) const': src/formula_callable_utils.hpp:31:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/custom_object.hpp:15, from src/gui_formula_functions.hpp:4, from src/level.hpp:24, from src/utility_render_level.cpp:8: src/draw_scene.hpp: In constructor 'screen_position::screen_position()': src/draw_scene.hpp:29:13: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:17: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:9: warning: when initialized here [-Wreorder] 19 | screen_position() : init(false), x(0), y(0), focus_x(0), focus_y(0), | ^~~~~~~~~~~~~~~ In file included from src/widget.hpp:22, from src/custom_object.hpp:25, from src/gui_formula_functions.hpp:4, from src/level.hpp:24, from src/utility_render_level.cpp:8: src/tooltip.hpp: In constructor 'gui::tooltip_item::tooltip_item(const string&, int)': src/tooltip.hpp:27:13: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:21: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:18: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ In file included from src/custom_object.hpp:25, from src/gui_formula_functions.hpp:4, from src/level.hpp:24, from src/utility_render_level.cpp:8: src/widget.hpp: In constructor 'gui::widget::widget()': src/widget.hpp:104:26: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:13: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:17: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:14: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:13: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:39: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:9: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ In file included from src/level.hpp:25, from src/utility_render_level.cpp:8: src/hex_map.hpp: In constructor 'hex::hex_map::hex_map()': src/hex_map.hpp:68:13: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:16: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:9: warning: when initialized here [-Wreorder] 26 | hex_map() : zorder_(-1000), width_(0), height_(0), x_(0), y_(0) | ^~~~~~~ In file included from src/level.hpp:26, from src/utility_render_level.cpp:8: src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:45:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 45 | return a.y < b.y || a.y == b.y && a.x < b.x; | ~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const level_tile&, const std::pair&) const': src/level_object.hpp:49:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 49 | return a.y < b.second || a.y == b.second && a.x < b.first; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_pos_comparer::operator()(const std::pair&, const level_tile&) const': src/level_object.hpp:53:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 53 | return a.second < b.y || a.second == b.y && a.first < b.x; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.hpp: In member function 'bool level_tile_zorder_pos_comparer::operator()(const level_tile&, const level_tile&) const': src/level_object.hpp:59:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ src/level_object.hpp:59:119: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 59 | return a.zorder < b.zorder || a.zorder == b.zorder && a.y < b.y || a.zorder == b.zorder && a.y == b.y && a.x < b.x; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from src/level.hpp:31, from src/utility_render_level.cpp:8: src/tile_map.hpp: In constructor 'tile_map::pattern_index_entry::pattern_index_entry()': src/tile_map.hpp:75:58: warning: comparison of integer expressions of different signedness: 'int' and 'boost::array::size_type' {aka 'unsigned int'} [-Wsign-compare] 75 | pattern_index_entry() { for(int n = 0; n != str.size(); ++n) { str[n] = 0; } } | ~~^~~~~~~~~~~~~ src/utility_render_level.cpp: In function 'void UTILITY_render_level(const std::vector >&)': src/utility_render_level.cpp:36:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 36 | for(int n = 0; n != files.size(); ++n) { | ~~^~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG -MM src/utility_render_level.cpp > utility_render_level.d make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 \ IMG_savepng.o achievements.o animation_creator.o animation_preview_widget.o animation_widget.o asserts.o background.o background_task_pool.o base64.o blur.o border_widget.o button.o character_editor_dialog.o checkbox.o checksum.o code_editor_dialog.o code_editor_widget.o color_chart.o compress.o current_generator.o decimal.o difficulty.o drag_widget.o dropdown_widget.o editor_dialogs.o editor_formula_functions.o editor_layers_dialog.o editor_stats_dialog.o editor_variable_info.o external_text_editor.o clipboard.o collision_utils.o color_utils.o controls.o controls_dialog.o custom_object.o custom_object_callable.o custom_object_dialog.o custom_object_functions.o custom_object_type.o debug_console.o dialog.o draw_number.o draw_scene.o draw_tile.o editor.o editor_level_properties_dialog.o editor_module_properties_dialog.o entity.o file_chooser_dialog.o filesystem.o font.o formula.o formula_callable_definition.o formula_constants.o formula_function.o formula_function_registry.o formula_profiler.o formula_tokenizer.o formula_variable_storage.o frame.o framed_gui_element.o game_registry.o geometry.o gles2.o globals.o graphical_font.o graphical_font_label.o grid_widget.o group_property_editor_dialog.o gui_formula_functions.o gui_section.o hex_map.o hex_object.o hex_tile.o hex_tileset_editor_dialog.o http_client.o http_server.o i18n.o image_widget.o input.o iphone_controls.o joystick.o json_parser.o json_tokenizer.o key.o key_button.o label.o language_dialog.o level.o level_logic.o level_object.o level_runner.o level_solid_map.o light.o load_level_nothread.o main.o md5.o message_dialog.o module.o module_web_server.o movement_script.o multi_tile_pattern.o multiplayer.o object_events.o options_dialog.o particle_system.o pathfinding.o pause_game_dialog.o playable_custom_object.o player_info.o preferences.o preprocessor.o preview_tileset_widget.o progress_bar.o property_editor_dialog.o random.o raster.o raster_distortion.o rectangle_rotator.o scrollbar_widget.o scrollable_widget.o segment_editor_dialog.o settings_dialog.o shaders.o sys.o slider.o solid_map.o sound.o speech_dialog.o stats.o stats_server.o stats_server_main.o stats_web_server.o string_utils.o surface_cache.o surface_formula.o surface_palette.o surface_scaling.o surface.o tbs_ai_player.o tbs_bot.o tbs_client.o tbs_functions.o tbs_game.o tbs_server.o tbs_web_server.o texture.o texture_frame_buffer.o text_editor_widget.o thread.o tile_map.o tileset_editor_dialog.o tooltip.o translate.o tree_view_widget.o utils.o variant.o variant_callable.o variant_utils.o water.o water_particle_system.o weather_particle_system.o widget.o widget_factory.o wml_formula_callable.o unit_test.o formula_test.o loading_screen.o utility_object_compiler.o utility_query.o utility_render_level.o vector_text.o wm.o -o game \ -lX11 -lGLEW -lGL -lX11 -lGLU -lGL -lSDL_image -lSDL -lpthread -lpng16 -lz -lSDL_ttf -lSDL_mixer -lboost_regex -lboost_system -lpthread -fthreadsafe-statics make: Leaving directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.83836 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/frogatto-buildroot + : + /bin/rm -rf -- /usr/src/tmp/frogatto-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d + install -d /usr/src/tmp/frogatto-buildroot/usr/bin + install -m 755 -p /usr/src/RPM/SOURCES/frogatto.sh /usr/src/tmp/frogatto-buildroot/usr/bin/frogatto + install -d /usr/src/tmp/frogatto-buildroot/usr/libexec/frogatto + install -m 755 -p game /usr/src/tmp/frogatto-buildroot/usr/libexec/frogatto + install -d /usr/src/tmp/frogatto-buildroot/usr/share/frogatto/modules/frogatto + cp -pr data images music compile-objects.cfg master-config.cfg surface_scaling.cfg /usr/src/tmp/frogatto-buildroot/usr/share/frogatto + pushd modules/frogatto ~/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d/modules/frogatto ~/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d + cp -pr data images music sounds master-config.cfg module.cfg /usr/src/tmp/frogatto-buildroot/usr/share/frogatto/modules/frogatto + cp -pr locale /usr/src/tmp/frogatto-buildroot/usr/share + popd ~/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d + install -d /usr/src/tmp/frogatto-buildroot/usr/share/applications + desktop-file-install --dir /usr/src/tmp/frogatto-buildroot/usr/share/applications /usr/src/RPM/SOURCES/frogatto.desktop + icns2png -x modules/frogatto/images/os/mac/icon.icns ---------------------------------------------------- Reading icns family from modules/frogatto/images/os/mac/icon.icns... Saved 'is32' element to icon_16x16x32.png. Saved 'il32' element to icon_32x32x32.png. Saved 'it32' element to icon_128x128x32.png. Saved 'ic08' element to icon_256x256x32.png. Extracted 4 elements from modules/frogatto/images/os/mac/icon.icns. + for i in 16 32 128 256 + install -d -m 755 /usr/src/tmp/frogatto-buildroot/usr/share/icons/hicolor/16x16/apps + install -m 644 icon_16x16x32.png /usr/src/tmp/frogatto-buildroot/usr/share/icons/hicolor/16x16/apps/frogatto.png + for i in 16 32 128 256 + install -d -m 755 /usr/src/tmp/frogatto-buildroot/usr/share/icons/hicolor/32x32/apps + install -m 644 icon_32x32x32.png /usr/src/tmp/frogatto-buildroot/usr/share/icons/hicolor/32x32/apps/frogatto.png + for i in 16 32 128 256 + install -d -m 755 /usr/src/tmp/frogatto-buildroot/usr/share/icons/hicolor/128x128/apps + install -m 644 icon_128x128x32.png /usr/src/tmp/frogatto-buildroot/usr/share/icons/hicolor/128x128/apps/frogatto.png + for i in 16 32 128 256 + install -d -m 755 /usr/src/tmp/frogatto-buildroot/usr/share/icons/hicolor/256x256/apps + install -m 644 icon_256x256x32.png /usr/src/tmp/frogatto-buildroot/usr/share/icons/hicolor/256x256/apps/frogatto.png + install -d /usr/src/tmp/frogatto-buildroot/usr/share/man/man6 + pod2man --section=6 '-center=RPM Fusion contributed man pages' '-release=frogatto 1.3.3' '-date=July 13th, 2010' /usr/src/RPM/SOURCES/frogatto.pod + install -d /usr/src/tmp/frogatto-buildroot/usr/share/metainfo + install -p -m 644 /usr/src/RPM/SOURCES/frogatto.appdata.xml /usr/src/tmp/frogatto-buildroot/usr/share/metainfo + appstream-util validate-relax --nonet /usr/src/tmp/frogatto-buildroot//usr/share/metainfo/frogatto.appdata.xml /usr/src/tmp/frogatto-buildroot//usr/share/metainfo/frogatto.appdata.xml: OK + /usr/lib/rpm/find-lang frogatto + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/frogatto-buildroot (auto) Verifying and fixing files in /usr/src/tmp/frogatto-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/frogatto-buildroot/ (default) Compressing files in /usr/src/tmp/frogatto-buildroot (auto) Verifying ELF objects in /usr/src/tmp/frogatto-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) verify-elf: WARNING: ./usr/libexec/frogatto/game: uses non-LFS functions: fcntl readdir stat Hardlinking identical .pyc and .opt-?.pyc files Processing files: frogatto-1.3.3-alt3_19 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.50738 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d + DOCDIR=/usr/src/tmp/frogatto-buildroot/usr/share/doc/frogatto-1.3.3 + export DOCDIR + rm -rf /usr/src/tmp/frogatto-buildroot/usr/share/doc/frogatto-1.3.3 + /bin/mkdir -p /usr/src/tmp/frogatto-buildroot/usr/share/doc/frogatto-1.3.3 + cp -prL modules/frogatto/CHANGELOG /usr/src/tmp/frogatto-buildroot/usr/share/doc/frogatto-1.3.3 + chmod -R go-w /usr/src/tmp/frogatto-buildroot/usr/share/doc/frogatto-1.3.3 + chmod -R a+rX /usr/src/tmp/frogatto-buildroot/usr/share/doc/frogatto-1.3.3 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.MHMZXP find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.XGZiRP find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Requires: icon-theme-hicolor, fonts-ttf-gnu-freefont-mono, frogatto-gamedata = 1.3.3-alt3_19, /bin/sh, /lib/ld-linux.so.2, libGL.so.1 >= set:pjdsnYMZptNs9EU8FawVXLDbZCraWjHIaZcQedz7Oq4TEBqBibJEOH88ylhZfuqr5iKBZbsmDUwbpdbrgi98AebEJtMztazqc15RVet6Z9GMggtPWpqCx05bp2qY6TPlNGrvx663, libGLEW.so.2.2 >= set:plf3BSKcdffUZhR2Bw5Cc5ftXckbRTm8Q9poUt8, libGLU.so.1 >= set:jiBA9, libSDL-1.2.so.0 >= set:lfZpd6d7RQpbDj8oN956teoOkCbts7PLhI3n4HQ2rAPeuaLVomW75hsZGyfy8uNUsPI3UHR1TKA4HbHnhD7peBNOmmMZccUNNRiI956bebZF1XcQmHUhKtv6uKQnG4MiQOjfja50, libSDL_image-1.2.so.0 >= set:jifK3, libSDL_mixer-1.2.so.0 >= set:kfMSUHfEkJL3JrOfcrzhUEV4T87WpedToJE0yxIW2, libSDL_ttf-2.0.so.0 >= set:jgUAJFwQRIkj0, libX11.so.6 >= set:okJ5tfbmTzZlFTIE6owcFvpi3wI8S2wcwglWZjqG0, 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.15), libc.so.6(GLIBC_2.16), libc.so.6(GLIBC_2.28), libc.so.6(GLIBC_2.3.2), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.32), libc.so.6(GLIBC_2.33), libc.so.6(GLIBC_2.34), libc.so.6(GLIBC_2.4), libc.so.6(GLIBC_2.7), libc.so.6(GLIBC_2.8), libc.so.6(GLIBC_2.9), libgcc_s.so.1(GCC_3.0), libgcc_s.so.1(GCC_3.3.1), libgcc_s.so.1(GCC_7.0.0), libgcc_s.so.1(GLIBC_2.0), libm.so.6(GLIBC_2.0), libm.so.6(GLIBC_2.1), libm.so.6(GLIBC_2.29), libpng16.so.16 >= set:lhHMiYgG4QJEYopg6hZuf7FmOWss3ZAEMOcea, libpng16.so.16(PNG16_0), libstdc++.so.6(CXXABI_1.3), libstdc++.so.6(CXXABI_1.3.11), libstdc++.so.6(CXXABI_1.3.13), libstdc++.so.6(CXXABI_1.3.3), libstdc++.so.6(CXXABI_1.3.9), libstdc++.so.6(GLIBCXX_3.4), libstdc++.so.6(GLIBCXX_3.4.11), libstdc++.so.6(GLIBCXX_3.4.15), libstdc++.so.6(GLIBCXX_3.4.20), libstdc++.so.6(GLIBCXX_3.4.21), libstdc++.so.6(GLIBCXX_3.4.26), libstdc++.so.6(GLIBCXX_3.4.29), libstdc++.so.6(GLIBCXX_3.4.9), libz.so.1 >= set:kiuXOSqHAe1, libz.so.1(ZLIB_1.2.0), 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.lOnkRc Creating frogatto-debuginfo package Processing files: frogatto-gamedata-1.3.3-alt3_19 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.64779 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d + DOCDIR=/usr/src/tmp/frogatto-buildroot/usr/share/doc/frogatto-gamedata-1.3.3 + export DOCDIR + rm -rf /usr/src/tmp/frogatto-buildroot/usr/share/doc/frogatto-gamedata-1.3.3 + /bin/mkdir -p /usr/src/tmp/frogatto-buildroot/usr/share/doc/frogatto-gamedata-1.3.3 + cp -prL --no-dereference LICENSE /usr/src/tmp/frogatto-buildroot/usr/share/doc/frogatto-gamedata-1.3.3 + chmod -R go-w /usr/src/tmp/frogatto-buildroot/usr/share/doc/frogatto-gamedata-1.3.3 + chmod -R a+rX /usr/src/tmp/frogatto-buildroot/usr/share/doc/frogatto-gamedata-1.3.3 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.5F8iYs find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.4y76JE find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Processing files: frogatto-debuginfo-1.3.3-alt3_19 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.kSw3BT find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.cZ5cAP find-requires: running scripts (debuginfo) Requires: frogatto = 1.3.3-alt3_19, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libGL.so.1), debug(libGLEW.so.2.2), debug(libGLU.so.1), debug(libSDL-1.2.so.0), debug(libSDL_image-1.2.so.0), debug(libSDL_mixer-1.2.so.0), debug(libSDL_ttf-2.0.so.0), debug(libX11.so.6), debug(libc.so.6), debug(libgcc_s.so.1), debug(libm.so.6), debug(libpng16.so.16), debug(libstdc++.so.6), debug(libz.so.1) Adding to frogatto a strict dependency on frogatto-gamedata Adding to frogatto-debuginfo a strict dependency on frogatto Wrote: /usr/src/RPM/RPMS/i586/frogatto-1.3.3-alt3_19.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/noarch/frogatto-gamedata-1.3.3-alt3_19.noarch.rpm (w2T16.xzdio) Wrote: /usr/src/RPM/RPMS/i586/frogatto-debuginfo-1.3.3-alt3_19.i586.rpm (w2T16.xzdio) 953.74user 94.15system 3:08.75elapsed 555%CPU (0avgtext+0avgdata 558176maxresident)k 0inputs+0outputs (0major+22143053minor)pagefaults 0swaps /.out/frogatto-gamedata-1.3.3-alt3_19.noarch.rpm: license not found in '/usr/share/license' directory: distributable /.out/frogatto-1.3.3-alt3_19.i586.rpm: license not found in '/usr/share/license' directory: proprietary /.out/frogatto-debuginfo-1.3.3-alt3_19.i586.rpm: license not found in '/usr/share/license' directory: proprietary 970.17user 101.50system 3:33.97elapsed 500%CPU (0avgtext+0avgdata 558176maxresident)k 352inputs+0outputs (30122major+22704194minor)pagefaults 0swaps --- frogatto-1.3.3-alt3_19.i586.rpm.repo 2021-05-12 17:40:47.000000000 +0000 +++ frogatto-1.3.3-alt3_19.i586.rpm.hasher 2022-02-05 04:36:08.530877215 +0000 @@ -37,7 +37,7 @@ Requires: /lib/ld-linux.so.2 -Requires: libGL.so.1 >= set:pjdsnYMZlPIOXHH4ksAk5MYZ7fnZtSkQDmplWpqDCN3pdyrQiJiFBmkVl44NGEZnfJJ29TOZleHjsMBICBd8F44iD5QSeUNeBhdCwyWsDezZklo8EKpZcQc31amO4QUdKDHylTZiQMo0 +Requires: libGL.so.1 >= set:pjdsnYMZptNs9EU8FawVXLDbZCraWjHIaZcQedz7Oq4TEBqBibJEOH88ylhZfuqr5iKBZbsmDUwbpdbrgi98AebEJtMztazqc15RVet6Z9GMggtPWpqCx05bp2qY6TPlNGrvx663 Requires: rpmlib(SetVersions) -Requires: libGLEW.so.2.2 >= set:pjTPEI7u86tTfeffYoNS68uIPllI8Zztmw5I54zf2xm77xK4xK3uaeZ9I80z3bcVFQ8iDK7J4qIJ5oJrykOUb1oOQYwqSZcZy1FXXT049W6RQOtZd0D1PDimg4pf0CGE3dMdA66u7rxeQdjoDDy3s8 +Requires: libGLEW.so.2.2 >= set:plf3BSKcdffUZhR2Bw5Cc5ftXckbRTm8Q9poUt8 Requires: libGLU.so.1 >= set:jiBA9 -Requires: libSDL-1.2.so.0 >= set:lfZpd6dfEWpAPmeDgMyjacWsMAFcnWUeCvzo7K8mF5S8DtYkuPNIQfayUZl5v4hYyNVCp7MnH3Kt99mnmLyefOsazBJIwXppPnlVUq9SA2z5DBZIwt6qHlY8TKf3fnWbl2o9qVFD9B2Cz2 +Requires: libSDL-1.2.so.0 >= set:lfZpd6d7RQpbDj8oN956teoOkCbts7PLhI3n4HQ2rAPeuaLVomW75hsZGyfy8uNUsPI3UHR1TKA4HbHnhD7peBNOmmMZccUNNRiI956bebZF1XcQmHUhKtv6uKQnG4MiQOjfja50 Requires: libSDL_image-1.2.so.0 >= set:jifK3 @@ -51,2 +51,3 @@ Requires: libc.so.6(GLIBC_2.15) +Requires: libc.so.6(GLIBC_2.16) Requires: libc.so.6(GLIBC_2.28) @@ -55,2 +56,4 @@ Requires: libc.so.6(GLIBC_2.32) +Requires: libc.so.6(GLIBC_2.33) +Requires: libc.so.6(GLIBC_2.34) Requires: libc.so.6(GLIBC_2.4) @@ -60,2 +63,4 @@ Requires: libgcc_s.so.1(GCC_3.0) +Requires: libgcc_s.so.1(GCC_3.3.1) +Requires: libgcc_s.so.1(GCC_7.0.0) Requires: libgcc_s.so.1(GLIBC_2.0) @@ -64,10 +69,7 @@ Requires: libm.so.6(GLIBC_2.29) -Requires: libpng16.so.16 >= set:lhHMiYgG4QJEYopg6hZuf7FmOWsszDn5nZ0bPUE0 +Requires: libpng16.so.16 >= set:lhHMiYgG4QJEYopg6hZuf7FmOWss3ZAEMOcea Requires: libpng16.so.16(PNG16_0) -Requires: libpthread.so.0(GLIBC_2.0) -Requires: libpthread.so.0(GLIBC_2.1) -Requires: libpthread.so.0(GLIBC_2.3.2) -Requires: libpthread.so.0(GLIBC_2.3.3) Requires: libstdc++.so.6(CXXABI_1.3) Requires: libstdc++.so.6(CXXABI_1.3.11) +Requires: libstdc++.so.6(CXXABI_1.3.13) Requires: libstdc++.so.6(CXXABI_1.3.3) @@ -80,2 +82,3 @@ Requires: libstdc++.so.6(GLIBCXX_3.4.26) +Requires: libstdc++.so.6(GLIBCXX_3.4.29) Requires: libstdc++.so.6(GLIBCXX_3.4.9) @@ -89,3 +92,3 @@ File: /usr/libexec/frogatto 40755 root:root -File: /usr/libexec/frogatto/game 100755 root:root 551ee40a93d67b57bf0e9b2cf90ec61b +File: /usr/libexec/frogatto/game 100755 root:root 14cf6c3d00a11f85db911e1404d6a558 File: /usr/share/doc/frogatto-1.3.3 40755 root:root @@ -120,2 +123,2 @@ File: /usr/share/locale/zh_CN/LC_MESSAGES/frogatto.mo 100644 root:root a37f28674572b4748dd91716028e3635 -RPMIdentity: 4b8561f53f47719551aae0efc85e5b33fd9ea2236beed85a7bdbc87d5e7696fab97d502b839ae32c7a1402f961fecc2ce7c45b57f047dac4cb98c102dad238e8 +RPMIdentity: 2da29399517d0af0da56924be202913bb60fc506e09cad8041f7c1098b7a09fc3b5e5faa7df8053a877a46060d16b8b8c1453e61761945fe89f31f532cf64970 --- frogatto-debuginfo-1.3.3-alt3_19.i586.rpm.repo 2021-05-12 17:40:47.000000000 +0000 +++ frogatto-debuginfo-1.3.3-alt3_19.i586.rpm.hasher 2022-02-05 04:36:08.777880567 +0000 @@ -1,4 +1,4 @@ -/usr/lib/debug/.build-id/22 40755 root:root -/usr/lib/debug/.build-id/22/cbeb3d58d595a1ebf7cc4f48ba391360c177ed 120777 root:root ../../../../libexec/frogatto/game -/usr/lib/debug/.build-id/22/cbeb3d58d595a1ebf7cc4f48ba391360c177ed.debug 120777 root:root ../../usr/libexec/frogatto/game.debug +/usr/lib/debug/.build-id/68 40755 root:root +/usr/lib/debug/.build-id/68/814866f797057522cef8dae90ff5a703a07d71 120777 root:root ../../../../libexec/frogatto/game +/usr/lib/debug/.build-id/68/814866f797057522cef8dae90ff5a703a07d71.debug 120777 root:root ../../usr/libexec/frogatto/game.debug /usr/lib/debug/usr/libexec/frogatto 40755 root:root @@ -56,2 +56,3 @@ /usr/src/debug/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d/src/controls_dialog.cpp 100644 root:root +/usr/src/debug/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d/src/controls_dialog.hpp 100644 root:root /usr/src/debug/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d/src/current_generator.cpp 100644 root:root @@ -175,2 +176,3 @@ /usr/src/debug/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d/src/i18n.cpp 100644 root:root +/usr/src/debug/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d/src/i18n.hpp 100644 root:root /usr/src/debug/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d/src/image_widget.cpp 100644 root:root @@ -195,2 +197,3 @@ /usr/src/debug/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d/src/language_dialog.cpp 100644 root:root +/usr/src/debug/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d/src/language_dialog.hpp 100644 root:root /usr/src/debug/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d/src/level.cpp 100644 root:root @@ -362,2 +365,3 @@ /usr/src/debug/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d/src/widget_factory.hpp 100644 root:root +/usr/src/debug/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d/src/wm.cpp 100644 root:root /usr/src/debug/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d/src/wml_formula_callable.cpp 100644 root:root @@ -377,3 +381,2 @@ Requires: debug(libpng16.so.16) -Requires: debug(libpthread.so.0) Requires: debug(libstdc++.so.6) @@ -383,7 +386,7 @@ Provides: frogatto-debuginfo = 1.3.3-alt3_19:sisyphus+271531.100.1.2 -File: /usr/lib/debug/.build-id/22 40755 root:root -File: /usr/lib/debug/.build-id/22/cbeb3d58d595a1ebf7cc4f48ba391360c177ed 120777 root:root ../../../../libexec/frogatto/game -File: /usr/lib/debug/.build-id/22/cbeb3d58d595a1ebf7cc4f48ba391360c177ed.debug 120777 root:root ../../usr/libexec/frogatto/game.debug +File: /usr/lib/debug/.build-id/68 40755 root:root +File: /usr/lib/debug/.build-id/68/814866f797057522cef8dae90ff5a703a07d71 120777 root:root ../../../../libexec/frogatto/game +File: /usr/lib/debug/.build-id/68/814866f797057522cef8dae90ff5a703a07d71.debug 120777 root:root ../../usr/libexec/frogatto/game.debug File: /usr/lib/debug/usr/libexec/frogatto 40755 root:root -File: /usr/lib/debug/usr/libexec/frogatto/game.debug 100644 root:root ecea12d5afcfde314fe925e642df119c +File: /usr/lib/debug/usr/libexec/frogatto/game.debug 100644 root:root 1292ed020b2d22862a317e9724b2d341 File: /usr/src/debug/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d 40755 root:root @@ -439,2 +442,3 @@ File: /usr/src/debug/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d/src/controls_dialog.cpp 100644 root:root 946df38f139163e9c6726ee647d521ee +File: /usr/src/debug/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d/src/controls_dialog.hpp 100644 root:root 77dfdcee1b16069b2bc839321310d5ab File: /usr/src/debug/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d/src/current_generator.cpp 100644 root:root 9ca12bfa5bdc922d9c17bd4480fd5e3b @@ -558,2 +562,3 @@ File: /usr/src/debug/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d/src/i18n.cpp 100644 root:root 5839ad0df585cf7b7b194e9f643c1ae5 +File: /usr/src/debug/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d/src/i18n.hpp 100644 root:root cf8897f0a4493f5184f7d5469ff2322a File: /usr/src/debug/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d/src/image_widget.cpp 100644 root:root c9486727982a102f6714f5010679c5a0 @@ -578,2 +583,3 @@ File: /usr/src/debug/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d/src/language_dialog.cpp 100644 root:root 7cee70600182debe7336ac56157da8eb +File: /usr/src/debug/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d/src/language_dialog.hpp 100644 root:root e87726c778893aa60be29d9c3bd8aec0 File: /usr/src/debug/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d/src/level.cpp 100644 root:root 2993e49d53d0793fc660a60ae721929d @@ -745,4 +751,5 @@ File: /usr/src/debug/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d/src/widget_factory.hpp 100644 root:root 93ed2b901e4628a190f8a5bd4dadc6a0 +File: /usr/src/debug/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d/src/wm.cpp 100644 root:root 2736364eb1087aac6b9f24c220f60b21 File: /usr/src/debug/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d/src/wml_formula_callable.cpp 100644 root:root 2f28e5bd7c054a77894d4d7af0454d29 File: /usr/src/debug/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d/src/wml_formula_callable.hpp 100644 root:root d8f827a7b8d0d2b8b5a10e43ad3c0897 -RPMIdentity: 1ebf88b86e318ac1de323ee6601a747a4c4a4f47b543195eac3b4f4576d5f82f39f9813beb5faba423de903bf715cebbbdad49f92d0d8dcf7a3b2ba869008b41 +RPMIdentity: 27b53d4e8252f6d69395a3a16a2cac140356ff4ccba2b0902fd625af47b04587aa3227c35eac04753668b52ad9d955757cf1b8c9f2ae6f97bb7ad1678c5bc02a --- frogatto-gamedata-1.3.3-alt3_19.noarch.rpm.repo 2021-05-12 17:40:20.000000000 +0000 +++ frogatto-gamedata-1.3.3-alt3_19.noarch.rpm.hasher 2022-02-05 04:36:09.022883892 +0000 @@ -2180,3 +2180,3 @@ Provides: frogatto-gamedata = 1.3.3-alt3_19:sisyphus+271531.100.1.2 -File: /usr/share/applications/frogatto.desktop 100644 root:root 63d05bd144541e4879c9213510449fed +File: /usr/share/applications/frogatto.desktop 100644 root:root af912793389740b64223705370fc46da File: /usr/share/doc/frogatto-gamedata-1.3.3 40755 root:root @@ -4356,4 +4356,4 @@ File: /usr/share/icons/hicolor/32x32/apps/frogatto.png 100644 root:root 52be817269323eb31a407fd1c9f4f257 -File: /usr/share/man/man6/frogatto.6.xz 100644 root:root 6eee7eff44022018aae5948d6a0de946 +File: /usr/share/man/man6/frogatto.6.xz 100644 root:root 4d732ce018046d289784cee7eabaa355 File: /usr/share/metainfo/frogatto.appdata.xml 100644 root:root 931bdafc586ca4ca427ba9cdf73993f3 -RPMIdentity: 079945afa55810fd609106582cbc93744134f019409968bb6050dad608e60ef6e8caa834d2954a936c41bdd890327da1632f35f486e82a28d849ec51ad1142eb +RPMIdentity: b543f50c232011a1c8dcd39ad555be7a51e50032bc223c846544056f4ff960851b17138dcc873e7736f506794e28f0087409be656c0eca6cf0bb5ba3ff32cf64