<86>Jun 16 02:33:35 userdel[2769479]: delete user 'rooter' <86>Jun 16 02:33:35 userdel[2769479]: removed group 'rooter' owned by 'rooter' <86>Jun 16 02:33:35 userdel[2769479]: removed shadow group 'rooter' owned by 'rooter' <86>Jun 16 02:33:35 groupadd[2769511]: group added to /etc/group: name=rooter, GID=1880 <86>Jun 16 02:33:35 groupadd[2769511]: group added to /etc/gshadow: name=rooter <86>Jun 16 02:33:35 groupadd[2769511]: new group: name=rooter, GID=1880 <86>Jun 16 02:33:35 useradd[2769535]: new user: name=rooter, UID=1880, GID=1880, home=/root, shell=/bin/bash <86>Jun 16 02:33:35 userdel[2769571]: delete user 'builder' <86>Jun 16 02:33:35 userdel[2769571]: removed group 'builder' owned by 'builder' <86>Jun 16 02:33:35 userdel[2769571]: removed shadow group 'builder' owned by 'builder' <86>Jun 16 02:33:35 groupadd[2769595]: group added to /etc/group: name=builder, GID=1881 <86>Jun 16 02:33:35 groupadd[2769595]: group added to /etc/gshadow: name=builder <86>Jun 16 02:33:35 groupadd[2769595]: new group: name=builder, GID=1881 <86>Jun 16 02:33:35 useradd[2769612]: new user: name=builder, UID=1881, GID=1881, 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>Jun 16 02:33:43 rpmi: libpng16-1.6.37-alt1 sisyphus+275734.100.2.1 1624788826 installed <13>Jun 16 02:33:43 rpmi: libexpat-2.5.0-alt1 p10+324220.100.1.1 1688465137 installed <13>Jun 16 02:33:43 rpmi: libboost_system1.76.0-1:1.76.0-alt2 sisyphus+277557.100.1.1 1625697364 installed <13>Jun 16 02:33:43 rpmi: libboost_thread1.76.0-1:1.76.0-alt2 sisyphus+277557.100.1.1 1625697364 installed <13>Jun 16 02:33:43 rpmi: libglvnd-7:1.6.0-alt1 p10+308277.140.4.1 1671274291 installed <13>Jun 16 02:33:43 rpmi: libwayland-client-1.22.0-alt1.1 p10+332446.100.1.1 1697975867 installed <13>Jun 16 02:33:43 rpmi: perl-HTTP-Date-6.05-alt1 sisyphus+258981.100.1.1 1601542386 installed <13>Jun 16 02:33:43 rpmi: libjpeg-2:2.1.5.1-alt1.p10.2 p10+347367.100.3.1 1715149001 installed <13>Jun 16 02:33:43 rpmi: libogg-1.3.5-alt1 sisyphus+278100.3400.1.1 1626058929 installed <13>Jun 16 02:33:43 rpmi: xorg-proto-devel-2021.5-alt1 p10+295526.40.6.1 1646400646 installed <13>Jun 16 02:33:43 rpmi: perl-XML-NamespaceSupport-1.12-alt1 1491296348 installed <13>Jun 16 02:33:43 rpmi: libidn2-2.3.2-alt1 p10+281239.100.3.1 1627673251 installed <13>Jun 16 02:33:43 rpmi: libnl3-3.5.0-alt1 sisyphus+275381.100.1.2 1624498107 installed <13>Jun 16 02:33:43 rpmi: libibverbs-34.0-alt1 sisyphus+279253.100.1.2 1626480289 installed <13>Jun 16 02:33:43 rpmi: libopenblas-0.3.23-alt1.2 p10+332661.200.16.1 1702304520 installed <13>Jun 16 02:33:43 rpmi: librdmacm-34.0-alt1 sisyphus+279253.100.1.2 1626480289 installed <13>Jun 16 02:33:43 rpmi: libflac8-1.3.3.0.79.37d1-alt2 sisyphus+278100.1400.1.1 1626058195 installed <13>Jun 16 02:33:43 rpmi: libvorbis-1.3.7-alt1 sisyphus+275738.100.1.1 1624751601 installed <13>Jun 16 02:33:43 rpmi: libboost_filesystem1.76.0-1:1.76.0-alt2 sisyphus+277557.100.1.1 1625697364 installed <13>Jun 16 02:33:43 rpmi: libfribidi-1.0.12-alt1 p10+298803.100.1.1 1650530271 installed <13>Jun 16 02:33:43 rpmi: libsqlite3-3.35.5-alt1.p10.1 p10+340851.100.1.1 1708147015 installed <13>Jun 16 02:33:43 rpmi: liblcms2-2.12-alt2 p10+294140.100.1.1 1643205397 installed <13>Jun 16 02:33:43 rpmi: libmpg123-1.30.2-alt1 p10+307797.100.3.1 1666362749 installed <13>Jun 16 02:33:43 rpmi: libwayland-server-1.22.0-alt1.1 p10+332446.100.1.1 1697975867 installed <13>Jun 16 02:33:43 rpmi: perl-LWP-MediaTypes-6.04-alt1 sisyphus+225468.100.1.1 1553186684 installed <13>Jun 16 02:33:43 rpmi: perl-Compress-Raw-Zlib-2.202-alt1 p10+303233.200.4.1 1659531316 installed <13>Jun 16 02:33:43 rpmi: perl-libnet-1:3.13-alt1 sisyphus+266120.100.1.1 1612961310 installed <13>Jun 16 02:33:43 rpmi: perl-Term-ANSIColor-5.01-alt1 sisyphus+244783.100.1.2 1579747505 installed <13>Jun 16 02:33:43 rpmi: perl-XML-SAX-Base-1.09-alt1 1494364363 installed <13>Jun 16 02:33:43 rpmi: libnettle8-3.7.3-alt1 sisyphus+276723.100.1.2 1625211788 installed <13>Jun 16 02:33:43 rpmi: libnuma-2.0.14-alt2 sisyphus+278485.100.1.1 1626104244 installed <13>Jun 16 02:33:43 rpmi: libibumad-34.0-alt1 sisyphus+279253.100.1.2 1626480289 installed <13>Jun 16 02:33:43 rpmi: libdevmapper-1.02.185-alt1 p10+305156.40.6.1 1662130326 installed <13>Jun 16 02:33:43 rpmi: libquadmath0-10.3.1-alt2 sisyphus+277353.100.2.1 1625525890 installed <13>Jun 16 02:33:43 rpmi: libgfortran5-10.3.1-alt2 sisyphus+277353.100.2.1 1625525890 installed <13>Jun 16 02:33:43 rpmi: boost-python-headers-1:1.76.0-alt2 sisyphus+277557.100.1.1 1625697364 installed <13>Jun 16 02:33:43 rpmi: libboost_context1.76.0-1:1.76.0-alt2 sisyphus+277557.100.1.1 1625697364 installed <13>Jun 16 02:33:43 rpmi: libboost_serialization1.76.0-1:1.76.0-alt2 sisyphus+277557.100.1.1 1625697364 installed <13>Jun 16 02:33:43 rpmi: libboost_regex1.76.0-1:1.76.0-alt2 sisyphus+277557.100.1.1 1625697364 installed <13>Jun 16 02:33:43 rpmi: libboost_graph1.76.0-1:1.76.0-alt2 sisyphus+277557.100.1.1 1625697364 installed <13>Jun 16 02:33:43 rpmi: liblz4-1:1.9.4-alt1 p10+350711.100.1.1 1718009144 installed <13>Jun 16 02:33:43 rpmi: libsystemd-1:249.17-alt2 p10+340218.100.1.1 1707505676 installed <13>Jun 16 02:33:43 rpmi: libdbus-1.14.10-alt1 p10+342527.100.1.1 1710230133 installed <13>Jun 16 02:33:43 rpmi: libgdbm-1.8.3-alt10 sisyphus+278100.1600.1.1 1626058413 installed <13>Jun 16 02:33:43 rpmi: libp11-kit-0.24.1-alt1 p10+305061.100.3.1 1660573397 installed <13>Jun 16 02:33:43 rpmi: libtasn1-4.19.0-alt1 p10+309071.100.2.1 1668522760 installed <13>Jun 16 02:33:43 rpmi: libpython-2.7.18-alt10 p10+309289.100.3.1 1668015444 installed <13>Jun 16 02:33:43 rpmi: python2-base-2.7.18-alt10 p10+309289.100.3.1 1668015444 installed <13>Jun 16 02:33:43 rpmi: libboost_python1.76.0-1:1.76.0-alt2 sisyphus+277557.100.1.1 1625697364 installed <13>Jun 16 02:33:43 rpmi: libboost_mpi_python1.76.0-1:1.76.0-alt2 sisyphus+277557.100.1.1 1625697364 installed <13>Jun 16 02:33:43 rpmi: rpm-build-python-0.43.2-alt1 sisyphus+271106.100.1.1 1619868598 installed <13>Jun 16 02:33:43 rpmi: python-modules-curses-2.7.18-alt10 p10+309289.100.3.1 1668015444 installed <13>Jun 16 02:33:43 rpmi: dbus-tools-1.14.10-alt1 p10+342527.100.1.1 1710230133 installed <86>Jun 16 02:33:43 groupadd[2814280]: group added to /etc/group: name=messagebus, GID=499 <86>Jun 16 02:33:43 groupadd[2814280]: group added to /etc/gshadow: name=messagebus <86>Jun 16 02:33:43 groupadd[2814280]: new group: name=messagebus, GID=499 <86>Jun 16 02:33:43 useradd[2814305]: new user: name=messagebus, UID=499, GID=499, home=/run/dbus, shell=/dev/null <13>Jun 16 02:33:44 rpmi: dbus-1.14.10-alt1 p10+342527.100.1.1 1710230133 installed <13>Jun 16 02:33:44 rpmi: pam_systemd-1:249.17-alt2 p10+340218.100.1.1 1707505676 installed <13>Jun 16 02:33:44 rpmi: libavahi-0.8-alt2 sisyphus+279391.100.1.2 1626530679 installed <13>Jun 16 02:33:44 rpmi: libboost_log1.76.0-1:1.76.0-alt2 sisyphus+277557.100.1.1 1625697364 installed <13>Jun 16 02:33:44 rpmi: libboost_fiber1.76.0-1:1.76.0-alt2 sisyphus+277557.100.1.1 1625697364 installed <13>Jun 16 02:33:44 rpmi: libboost_coroutine1.76.0-1:1.76.0-alt2 sisyphus+277557.100.1.1 1625697364 installed <13>Jun 16 02:33:44 rpmi: libquadmath10-devel-10.3.1-alt2 sisyphus+277353.100.2.1 1625525890 installed <13>Jun 16 02:33:44 rpmi: libibmad-34.0-alt1 sisyphus+279253.100.1.2 1626480289 installed <13>Jun 16 02:33:44 rpmi: libibnetdisc-34.0-alt1 sisyphus+279253.100.1.2 1626480289 installed <13>Jun 16 02:33:44 rpmi: libnuma-devel-2.0.14-alt2 sisyphus+278485.100.1.1 1626104244 installed <13>Jun 16 02:33:44 rpmi: libhogweed6-3.7.3-alt1 sisyphus+276723.100.1.2 1625211788 installed <13>Jun 16 02:33:44 rpmi: libgnutls30-3.6.16-alt6 p10+345961.100.2.1 1714359424 installed <13>Jun 16 02:33:44 rpmi: perl-Data-Dump-1.25-alt1 sisyphus+276551.100.1.1 1625126880 installed <13>Jun 16 02:33:44 rpmi: libjasper-2.0.33-alt2 p10+318897.300.9.1 1684492367 installed <13>Jun 16 02:33:44 rpmi: libicns-0.7.1-alt1.2 sisyphus+223351.100.1.1 1551468866 installed <13>Jun 16 02:33:44 rpmi: perl-File-Listing-6.14-alt1 sisyphus+262735.100.1.1 1606813544 installed <13>Jun 16 02:33:44 rpmi: libwayland-cursor-1.22.0-alt1.1 p10+332446.100.1.1 1697975867 installed <13>Jun 16 02:33:44 rpmi: libwayland-egl-4:18.1.0-alt1.1 p10+332446.100.1.1 1697975867 installed <13>Jun 16 02:33:44 rpmi: libGLES-7:1.6.0-alt1 p10+308277.140.4.1 1671274291 installed <13>Jun 16 02:33:44 rpmi: libOpenGL-7:1.6.0-alt1 p10+308277.140.4.1 1671274291 installed <13>Jun 16 02:33:44 rpmi: libboost_type_erasure1.76.0-1:1.76.0-alt2 sisyphus+277557.100.1.1 1625697364 installed <13>Jun 16 02:33:44 rpmi: libboost_wave1.76.0-1:1.76.0-alt2 sisyphus+277557.100.1.1 1625697364 installed <13>Jun 16 02:33:44 rpmi: libboost_atomic1.76.0-1:1.76.0-alt2 sisyphus+277557.100.1.1 1625697364 installed <13>Jun 16 02:33:44 rpmi: libboost_contract1.76.0-1:1.76.0-alt2 sisyphus+277557.100.1.1 1625697364 installed <13>Jun 16 02:33:44 rpmi: libboost_chrono1.76.0-1:1.76.0-alt2 sisyphus+277557.100.1.1 1625697364 installed <13>Jun 16 02:33:44 rpmi: libboost_timer1.76.0-1:1.76.0-alt2 sisyphus+277557.100.1.1 1625697364 installed <13>Jun 16 02:33:44 rpmi: perl-Term-Cap-1.17-alt1 1445018869 installed <13>Jun 16 02:33:44 rpmi: perl-Pod-Escapes-1.07-alt1 1418767892 installed <13>Jun 16 02:33:44 rpmi: zlib-devel-1.2.13-alt1 p10+318109.100.2.1 1682690580 installed <13>Jun 16 02:33:44 rpmi: libyaml2-0.2.5-alt1 sisyphus+278391.100.1.1 1626094928 installed <13>Jun 16 02:33:44 rpmi: libstemmer-2.0.0-alt1 sisyphus+278406.100.1.1 1626096572 installed <13>Jun 16 02:33:44 rpmi: publicsuffix-list-dafsa-20240415-alt1 p10+345250.100.1.1 1713270741 installed <13>Jun 16 02:33:44 rpmi: libpsl-0.21.5-alt1 p10+345385.100.1.1 1713430418 installed <13>Jun 16 02:33:44 rpmi: libxkbcommon-1.4.1-alt1 p10+307937.300.4.1 1669050957 installed <13>Jun 16 02:33:44 rpmi: libdatrie-0.2.9-alt1_6 sisyphus+278217.100.1.1 1626078469 installed <13>Jun 16 02:33:44 rpmi: libthai-0.1.28-alt1_1 sisyphus+275403.100.1.2 1624502529 installed <13>Jun 16 02:33:44 rpmi: libepoxy-1.5.9-alt1 p10+284327.2100.7.1 1632405723 installed <13>Jun 16 02:33:44 rpmi: libverto-0.3.2-alt1_1 sisyphus+279289.100.1.3 1626493868 installed <13>Jun 16 02:33:44 rpmi: liblmdb-0.9.23-alt1 sisyphus+275369.100.1.2 1624493869 installed <13>Jun 16 02:33:44 rpmi: libkeyutils-1.6.3-alt1 sisyphus+266061.100.1.1 1612919566 installed <13>Jun 16 02:33:44 rpmi: libcom_err-1.46.2.0.16.f114-alt1 sisyphus+278100.1000.1.1 1626056805 installed <13>Jun 16 02:33:44 rpmi: libusb-1.0.26-alt2 p10+305622.100.3.1 1662994398 installed <13>Jun 16 02:33:44 rpmi: libgudev-1:237-alt1 p10+284327.700.7.1 1632404964 installed <13>Jun 16 02:33:44 rpmi: libpixman-3:0.42.2-alt1 p10+309562.100.3.1 1669140234 installed <13>Jun 16 02:33:44 rpmi: libbrotlicommon-1.0.9-alt2 sisyphus+278430.100.1.2 1626213212 installed <13>Jun 16 02:33:44 rpmi: libbrotlidec-1.0.9-alt2 sisyphus+278430.100.1.2 1626213212 installed <13>Jun 16 02:33:44 rpmi: libgraphite2-1.3.14-alt2.1 sisyphus+279571.100.1.2 1626605111 installed <13>Jun 16 02:33:44 rpmi: libharfbuzz-5.3.1-alt1 p10+311526.40.12.1 1678459109 installed <13>Jun 16 02:33:44 rpmi: libfreetype-2.11.0-alt1 p10+281745.100.1.1 1628002271 installed <13>Jun 16 02:33:44 rpmi: libfontconfig1-2.14.2-alt8 p10+328445.100.1.1 1693560956 installed <13>Jun 16 02:33:44 rpmi: libmad-0.15.1b-alt9 sisyphus+278239.100.1.1 1626080123 installed <13>Jun 16 02:33:44 rpmi: timidity-instruments-1:1.0-alt1 sisyphus+276870.100.1.1 1625246545 installed <13>Jun 16 02:33:44 rpmi: libopus-1.4-alt1 p10+322083.100.3.1 1686925405 installed <13>Jun 16 02:33:44 rpmi: liblame-3.100-alt1 sisyphus+276241.100.1.2 1624925657 installed <13>Jun 16 02:33:44 rpmi: libgsm-1.0.17-alt1 sisyphus+275359.100.2.1 1624907612 installed <13>Jun 16 02:33:44 rpmi: libsndfile-1.1.0-alt1 p10+307797.200.3.1 1666362813 installed <13>Jun 16 02:33:44 rpmi: libasyncns-0.8-alt2.qa1 sisyphus+275091.100.1.1 1624402241 installed <13>Jun 16 02:33:44 rpmi: libxshmfence-1.3-alt1 sisyphus+278248.100.1.1 1626080762 installed <13>Jun 16 02:33:44 rpmi: libpciaccess-1:0.17-alt1 p10+321839.100.2.1 1686299452 installed <13>Jun 16 02:33:44 rpmi: libdrm-1:2.4.118-alt1 p10+336491.100.3.1 1703318945 installed <13>Jun 16 02:33:44 rpmi: perl-Try-Tiny-0.30-alt1 1514318058 installed <13>Jun 16 02:33:44 rpmi: perl-IO-Socket-IP-0.41-alt1 sisyphus+259012.100.1.2 1601553446 installed <13>Jun 16 02:33:44 rpmi: perl-Compress-Raw-Bzip2-2.201-alt1 p10+303233.240.4.1 1659531335 installed <13>Jun 16 02:33:44 rpmi: perl-HTML-Tagset-3.20-alt2 1317725093 installed <13>Jun 16 02:33:44 rpmi: perl-Filter-1.60-alt1 sisyphus+279723.100.1.1 1626648797 installed <13>Jun 16 02:33:44 rpmi: perl-Encode-3.10-alt1 sisyphus+279723.200.1.1 1626648866 installed <13>Jun 16 02:33:44 rpmi: perl-URI-5.09-alt1 sisyphus+267398.100.1.1 1614944505 installed <13>Jun 16 02:33:44 rpmi: perl-IO-Compress-2.201-alt1 p10+303233.300.4.1 1659531378 installed <13>Jun 16 02:33:44 rpmi: perl-Net-HTTP-6.21-alt1 sisyphus+268278.100.1.1 1616563972 installed <13>Jun 16 02:33:44 rpmi: perl-HTML-Parser-3.76-alt1 sisyphus+279723.500.1.1 1626648959 installed <13>Jun 16 02:33:44 rpmi: perl-WWW-RobotRules-6.02-alt1 1329756211 installed <13>Jun 16 02:33:44 rpmi: perl-Encode-Locale-1.05-alt1 1444608613 installed <13>Jun 16 02:33:44 rpmi: perl-IO-HTML-1.004-alt1 sisyphus+258983.100.1.1 1601542619 installed <13>Jun 16 02:33:44 rpmi: perl-HTTP-Message-6.33-alt1 sisyphus+276556.100.1.1 1625127547 installed <13>Jun 16 02:33:44 rpmi: perl-HTTP-Cookies-6.10-alt1 sisyphus+264349.100.1.1 1609891183 installed <13>Jun 16 02:33:44 rpmi: perl-HTTP-Negotiate-6.01-alt1 1329760563 installed <13>Jun 16 02:33:44 rpmi: perl-libwww-6.55-alt1 sisyphus+278038.4100.1.2 1625984005 installed <13>Jun 16 02:33:44 rpmi: perl-XML-LibXML-2.0207-alt4 sisyphus+279723.24400.1.3 1626683849 installed <13>Jun 16 02:33:44 rpmi: perl-XML-SAX-1.02-alt1 sisyphus+232322.100.1.1 1560758406 installed <13>Jun 16 02:33:44 rpmi: perl-XML-Simple-2.25-alt2 sisyphus+257498.100.1.1 1599324034 installed <13>Jun 16 02:33:44 rpmi: icon-naming-utils-0.8.90-alt1 sisyphus+276851.100.1.1 1625243947 installed <13>Jun 16 02:33:45 rpmi: icon-theme-adwaita-40.1.1-alt1 sisyphus+271235.100.1.1 1620162669 installed <13>Jun 16 02:33:45 rpmi: perl-Pod-Simple-3.43-alt1 sisyphus+276561.100.1.1 1625127752 installed <13>Jun 16 02:33:45 rpmi: perl-Pod-Usage-2.01-alt1 sisyphus+277175.100.1.1 1625408247 installed <13>Jun 16 02:33:45 rpmi: perl-podlators-4.14-alt1 sisyphus+277178.100.1.2 1625426264 installed <13>Jun 16 02:33:45 rpmi: usbids-20240206-alt1 p10+343097.200.1.1 1710876613 installed <13>Jun 16 02:33:45 rpmi: pciids-20240527-alt1 p10+349630.100.1.1 1716855819 installed <13>Jun 16 02:33:45 rpmi: hwdata-0.374-alt1 p10+339915.2250.19.1 1712932158 installed <13>Jun 16 02:33:45 rpmi: libwebp7-1.3.2-alt1 p10+334597.100.5.1 1701266006 installed <13>Jun 16 02:33:45 rpmi: libjbig2.1-2.1-alt2 p10+327649.100.4.1 1693857180 installed <13>Jun 16 02:33:45 rpmi: libdeflate-1.10-alt1 p10+300002.40.4.1 1652888688 installed <13>Jun 16 02:33:45 rpmi: libtiff5-4.4.0-alt2 p10+327649.400.4.1 1693857754 installed <13>Jun 16 02:33:45 rpmi: libgdk-pixbuf-locales-2.42.6-alt1 sisyphus+277964.100.1.1 1625927113 installed <13>Jun 16 02:33:45 rpmi: gtk+3-themes-incompatible-3.20-alt3 1461944560 installed <13>Jun 16 02:33:45 rpmi: libproxy-0.4.17-alt1.1 sisyphus+279553.100.1.2 1626595612 installed <13>Jun 16 02:33:45 rpmi: dconf-profile-0.1-alt1 p10+328658.100.1.1 1693827180 installed <13>Jun 16 02:33:45 rpmi: libhiredis1.0.0-1.0.2-alt1 p10+297377.100.4.1 1649692346 installed <13>Jun 16 02:33:45 rpmi: libnumpy-1:1.15.4-alt7 sisyphus+278842.100.1.2 1626288350 installed <13>Jun 16 02:33:45 rpmi: libboost_program_options1.76.0-1:1.76.0-alt2 sisyphus+277557.100.1.1 1625697364 installed <13>Jun 16 02:33:45 rpmi: libboost_math_tr1l1.76.0-1:1.76.0-alt2 sisyphus+277557.100.1.1 1625697364 installed <13>Jun 16 02:33:45 rpmi: libboost_math_tr1f1.76.0-1:1.76.0-alt2 sisyphus+277557.100.1.1 1625697364 installed <13>Jun 16 02:33:45 rpmi: libboost_math_tr11.76.0-1:1.76.0-alt2 sisyphus+277557.100.1.1 1625697364 installed <13>Jun 16 02:33:45 rpmi: libboost_math_c99l1.76.0-1:1.76.0-alt2 sisyphus+277557.100.1.1 1625697364 installed <13>Jun 16 02:33:45 rpmi: libboost_math_c99f1.76.0-1:1.76.0-alt2 sisyphus+277557.100.1.1 1625697364 installed <13>Jun 16 02:33:45 rpmi: libboost_math_c991.76.0-1:1.76.0-alt2 sisyphus+277557.100.1.1 1625697364 installed <13>Jun 16 02:33:46 rpmi: libicu69-1:6.9.1-alt2 sisyphus+277632.100.1.1 1625726150 installed <13>Jun 16 02:33:46 rpmi: libboost_locale1.76.0-1:1.76.0-alt2 sisyphus+277557.100.1.1 1625697364 installed <13>Jun 16 02:33:46 rpmi: tcsh-6.20.00-alt4 sisyphus+278971.100.1.1 1626339285 installed <13>Jun 16 02:33:46 rpmi: rpm-macros-mpi-selector-1.0.3-alt3 1504498675 installed <13>Jun 16 02:33:46 rpmi: mpi-selector-1.0.3-alt3 1504498675 installed <13>Jun 16 02:33:46 rpmi: openmpi-2.0.1-alt8 sisyphus+275152.100.1.1 1624410685 installed <13>Jun 16 02:33:46 rpmi: libboost_mpi1.76.0-1:1.76.0-alt2 sisyphus+277557.100.1.1 1625697364 installed <13>Jun 16 02:33:46 rpmi: libboost_graph_parallel1.76.0-1:1.76.0-alt2 sisyphus+277557.100.1.1 1625697364 installed <13>Jun 16 02:33:46 rpmi: systemd-modules-common-1:249.17-alt2 p10+340218.100.1.1 1707505676 installed <13>Jun 16 02:33:46 rpmi: systemd-sysctl-common-1:249.17-alt2 p10+340218.100.1.1 1707505676 installed <13>Jun 16 02:33:46 rpmi: systemd-tmpfiles-common-1:249.17-alt2 p10+340218.100.1.1 1707505676 installed <13>Jun 16 02:33:46 rpmi: systemd-utils-filetriggers-1:249.17-alt2 p10+340218.100.1.1 1707505676 installed <13>Jun 16 02:33:46 rpmi: chrooted-0.3.12-alt1 sisyphus+278157.200.2.1 1626055811 installed <13>Jun 16 02:33:46 rpmi: libnss-myhostname-1:249.17-alt2 p10+340218.100.1.1 1707505676 installed <13>Jun 16 02:33:46 rpmi: libiptables-1.8.7-alt1 sisyphus+278100.2500.1.1 1626058688 installed <13>Jun 16 02:33:46 rpmi: libfdisk-2.39.2-alt0.p10.2 p10+348737.200.2.1 1716530412 installed <13>Jun 16 02:33:46 rpmi: libjson-c5-0.17-alt1 p10+332180.100.2.1 1698070454 installed <13>Jun 16 02:33:46 rpmi: libargon2-20190702-alt1 sisyphus+278291.100.1.1 1626084451 installed <13>Jun 16 02:33:46 rpmi: msulogin-1.0-alt1 sisyphus+278100.4500.1.1 1626059577 installed <13>Jun 16 02:33:46 rpmi: mount-2.39.2-alt0.p10.2 p10+348737.200.2.1 1716530412 installed <13>Jun 16 02:33:46 rpmi: losetup-2.39.2-alt0.p10.2 p10+348737.200.2.1 1716530412 installed <13>Jun 16 02:33:46 rpmi: lsblk-2.39.2-alt0.p10.2 p10+348737.200.2.1 1716530412 installed <13>Jun 16 02:33:46 rpmi: gcc-fortran-common-1.4.27-alt1 sisyphus+278099.1300.1.1 1626028636 installed <13>Jun 16 02:33:46 rpmi: libgfortran10-devel-10.3.1-alt2 sisyphus+277353.100.2.1 1625525890 installed <13>Jun 16 02:33:47 rpmi: gcc10-fortran-10.3.1-alt2 sisyphus+277353.100.2.1 1625525890 installed <13>Jun 16 02:33:47 rpmi: gcc-fortran-10-alt1 sisyphus+263054.200.3.1 1607517515 installed <13>Jun 16 02:33:47 rpmi: gcc-c++-common-1.4.27-alt1 sisyphus+278099.1300.1.1 1626028636 installed <13>Jun 16 02:33:47 rpmi: libstdc++10-devel-10.3.1-alt2 sisyphus+277353.100.2.1 1625525890 installed <13>Jun 16 02:33:47 rpmi: gcc10-c++-10.3.1-alt2 sisyphus+277353.100.2.1 1625525890 installed <13>Jun 16 02:33:47 rpmi: gcc-c++-10-alt1 sisyphus+263054.200.3.1 1607517515 installed <13>Jun 16 02:33:47 rpmi: libxblas-1.0.248-alt1.3 sisyphus+278277.100.1.1 1626083683 installed <13>Jun 16 02:33:48 rpmi: liblapack-1:3.8.0-alt4 sisyphus+264284.100.1.1 1609587743 installed <13>Jun 16 02:33:48 rpmi: libboost_stacktrace1.76.0-1:1.76.0-alt2 sisyphus+277557.100.1.1 1625697364 installed <13>Jun 16 02:33:48 rpmi: libboost_nowide1.76.0-1:1.76.0-alt2 sisyphus+277557.100.1.1 1625697364 installed <13>Jun 16 02:33:48 rpmi: libboost_test1.76.0-1:1.76.0-alt2 sisyphus+277557.100.1.1 1625697364 installed <13>Jun 16 02:33:48 rpmi: libboost_random1.76.0-1:1.76.0-alt2 sisyphus+277557.100.1.1 1625697364 installed <13>Jun 16 02:33:48 rpmi: libboost_iostreams1.76.0-1:1.76.0-alt2 sisyphus+277557.100.1.1 1625697364 installed <13>Jun 16 02:33:48 rpmi: libboost_json1.76.0-1:1.76.0-alt2 sisyphus+277557.100.1.1 1625697364 installed <13>Jun 16 02:33:48 rpmi: libboost_date_time1.76.0-1:1.76.0-alt2 sisyphus+277557.100.1.1 1625697364 installed <13>Jun 16 02:33:48 rpmi: libboost_container1.76.0-1:1.76.0-alt2 sisyphus+277557.100.1.1 1625697364 installed <13>Jun 16 02:33:50 rpmi: boost-devel-headers-1:1.76.0-alt2 sisyphus+277557.100.1.1 1625697364 installed <13>Jun 16 02:33:50 rpmi: boost-devel-1:1.76.0-alt2 sisyphus+277557.100.1.1 1625697364 installed <13>Jun 16 02:33:50 rpmi: boost-asio-devel-1:1.76.0-alt2 sisyphus+277557.100.1.1 1625697364 installed <13>Jun 16 02:33:50 rpmi: boost-context-devel-1:1.76.0-alt2 sisyphus+277557.100.1.1 1625697364 installed <13>Jun 16 02:33:50 rpmi: boost-coroutine-devel-1:1.76.0-alt2 sisyphus+277557.100.1.1 1625697364 installed <13>Jun 16 02:33:50 rpmi: boost-interprocess-devel-1:1.76.0-alt2 sisyphus+277557.100.1.1 1625697364 installed <13>Jun 16 02:33:50 rpmi: boost-flyweight-devel-1:1.76.0-alt2 sisyphus+277557.100.1.1 1625697364 installed <13>Jun 16 02:33:50 rpmi: boost-polygon-devel-1:1.76.0-alt2 sisyphus+277557.100.1.1 1625697364 installed <13>Jun 16 02:33:50 rpmi: boost-geometry-devel-1:1.76.0-alt2 sisyphus+277557.100.1.1 1625697364 installed <13>Jun 16 02:33:50 rpmi: boost-locale-devel-1:1.76.0-alt2 sisyphus+277557.100.1.1 1625697364 installed <13>Jun 16 02:33:50 rpmi: boost-lockfree-devel-1:1.76.0-alt2 sisyphus+277557.100.1.1 1625697364 installed <13>Jun 16 02:33:50 rpmi: boost-log-devel-1:1.76.0-alt2 sisyphus+277557.100.1.1 1625697364 installed <13>Jun 16 02:33:50 rpmi: boost-math-devel-1:1.76.0-alt2 sisyphus+277557.100.1.1 1625697364 installed <13>Jun 16 02:33:50 rpmi: boost-msm-devel-1:1.76.0-alt2 sisyphus+277557.100.1.1 1625697364 installed <13>Jun 16 02:33:50 rpmi: boost-program_options-devel-1:1.76.0-alt2 sisyphus+277557.100.1.1 1625697364 installed <13>Jun 16 02:33:50 rpmi: boost-signals-devel-1:1.76.0-alt2 sisyphus+277557.100.1.1 1625697364 installed <13>Jun 16 02:33:50 rpmi: boost-filesystem-devel-1:1.76.0-alt2 sisyphus+277557.100.1.1 1625697364 installed <13>Jun 16 02:33:50 rpmi: boost-wave-devel-1:1.76.0-alt2 sisyphus+277557.100.1.1 1625697364 installed <13>Jun 16 02:33:51 rpmi: libatk-locales-2.36.0-alt1 sisyphus+275092.100.2.1 1624560096 installed <13>Jun 16 02:33:51 rpmi: libatk-2.36.0-alt1 sisyphus+275092.100.2.1 1624560096 installed <13>Jun 16 02:33:51 rpmi: shared-mime-info-2.2-alt1 p10+305247.100.2.1 1661236019 installed <13>Jun 16 02:33:51 rpmi: gsettings-desktop-schemas-data-40.0-alt1 sisyphus+268501.300.4.2 1617041783 installed <13>Jun 16 02:33:51 rpmi: libgio-2.68.4-alt4 p10+296885.100.1.1 1647705736 installed <13>Jun 16 02:33:51 rpmi: gsettings-desktop-schemas-40.0-alt1 sisyphus+268501.300.4.2 1617041783 installed <13>Jun 16 02:33:51 rpmi: libgdk-pixbuf-2.42.6-alt1 sisyphus+277964.100.1.1 1625927113 installed <13>Jun 16 02:33:51 rpmi: libjson-glib-1.6.4-alt1 p10+284327.1500.7.1 1632405435 installed <13>Jun 16 02:33:51 rpmi: libgusb-0.4.8-alt1 p10+339915.2260.19.1 1712932213 installed <13>Jun 16 02:33:51 rpmi: libcolord-1.4.6-alt1 p10+307937.500.4.1 1669051082 installed <13>Jun 16 02:33:51 rpmi: gtk-update-icon-cache-3.24.32-alt1 p10+296508.100.3.1 1648144248 installed <13>Jun 16 02:33:51 rpmi: libdconf-0.40.0-alt3 p10+328658.400.1.1 1693827247 installed <13>Jun 16 02:33:51 rpmi: dconf-0.40.0-alt3 p10+328658.400.1.1 1693827247 installed <13>Jun 16 02:33:51 rpmi: libgtk+3-schemas-3.24.32-alt1 p10+296508.100.3.1 1648144248 installed <13>Jun 16 02:33:51 rpmi: libpolkit-0.120-alt3 p10+340068.100.2.1 1708411325 installed <13>Jun 16 02:33:51 rpmi: libX11-locales-3:1.8.7-alt1 p10+330924.200.2.1 1697304232 installed <13>Jun 16 02:33:51 rpmi: libXdmcp-1.1.3-alt1 sisyphus+278816.100.1.1 1626219231 installed <13>Jun 16 02:33:51 rpmi: libXau-1.0.9-alt1 sisyphus+278247.100.1.1 1626080736 installed <13>Jun 16 02:33:51 rpmi: libxcb-1.14-alt1 sisyphus+277968.100.1.3 1625952322 installed <13>Jun 16 02:33:51 rpmi: libX11-3:1.8.7-alt1 p10+330924.200.2.1 1697304232 installed <13>Jun 16 02:33:51 rpmi: libXext-1.3.4-alt1 sisyphus+278817.100.1.3 1626262596 installed <13>Jun 16 02:33:51 rpmi: libXrender-0.9.10-alt1 sisyphus+278480.100.1.2 1626227740 installed <13>Jun 16 02:33:51 rpmi: libcairo-1:1.16.0-alt2 p10+312192.100.6.1 1672989606 installed <13>Jun 16 02:33:51 rpmi: libXfixes-5.0.3-alt1 sisyphus+275326.100.2.2 1624573638 installed <13>Jun 16 02:33:51 rpmi: libXrandr-1.5.2-alt1 sisyphus+275330.100.2.2 1624575558 installed <13>Jun 16 02:33:51 rpmi: libXi-1.7.10-alt1 sisyphus+278284.100.1.2 1626151198 installed <13>Jun 16 02:33:51 rpmi: libat-spi2-core-2.40.3-alt1 sisyphus+277858.100.1.1 1625849837 installed <13>Jun 16 02:33:51 rpmi: libpulseaudio-17.0-alt2 p10+339259.100.6.1 1707986187 installed <13>Jun 16 02:33:51 rpmi: libmikmod-3.3.11.1-alt2 sisyphus+278211.100.1.1 1626077581 installed <13>Jun 16 02:33:51 rpmi: libXcursor-1.2.0-alt1 sisyphus+278256.100.1.2 1626134578 installed <13>Jun 16 02:33:51 rpmi: libcairo-gobject-1:1.16.0-alt2 p10+312192.100.6.1 1672989606 installed <13>Jun 16 02:33:51 rpmi: libXft-2.3.3-alt1 sisyphus+278258.100.1.2 1626135708 installed <13>Jun 16 02:33:51 rpmi: libpango-1.48.11-alt1 p10+293321.100.4.1 1643613179 installed <13>Jun 16 02:33:51 rpmi: libXtst-1.2.3-alt1 sisyphus+278848.100.1.2 1626298055 installed <13>Jun 16 02:33:51 rpmi: libXxf86vm-1.1.4-alt2 sisyphus+275334.100.2.2 1624577011 installed <13>Jun 16 02:33:51 rpmi: libGLX-mesa-4:23.1.9-alt2 p10+336018.100.3.1 1703319968 installed <13>Jun 16 02:33:51 rpmi: libGLX-7:1.6.0-alt1 p10+308277.140.4.1 1671274291 installed <13>Jun 16 02:33:51 rpmi: libGL-7:1.6.0-alt1 p10+308277.140.4.1 1671274291 installed <13>Jun 16 02:33:51 rpmi: libGLU-4:9.0.1-alt1 sisyphus+278350.100.1.2 1626174382 installed <13>Jun 16 02:33:51 rpmi: libGLEW2.2-2.2.0-alt1 sisyphus+278988.100.1.1 1626351077 installed <13>Jun 16 02:33:51 rpmi: libXinerama-1.1.4-alt1 sisyphus+275328.100.2.2 1624575558 installed <13>Jun 16 02:33:51 rpmi: dbus-tools-gui-1.14.10-alt1 p10+342527.100.1.1 1710230133 installed <13>Jun 16 02:33:51 rpmi: at-spi2-core-2.40.3-alt1 sisyphus+277858.100.1.1 1625849837 installed <13>Jun 16 02:33:51 rpmi: at-spi2-atk-2.38.0-alt1 sisyphus+277983.100.1.2 1625960719 installed <13>Jun 16 02:33:51 rpmi: libXcomposite-0.4.5-alt1 sisyphus+275323.100.2.2 1624573269 installed <13>Jun 16 02:33:51 rpmi: libXdamage-1.1.5-alt1 sisyphus+275324.100.2.2 1624573269 installed <13>Jun 16 02:33:51 rpmi: libgbm-4:23.1.9-alt2 p10+336018.100.3.1 1703319968 installed <13>Jun 16 02:33:51 rpmi: libEGL-mesa-4:23.1.9-alt2 p10+336018.100.3.1 1703319968 installed <13>Jun 16 02:33:51 rpmi: libEGL-7:1.6.0-alt1 p10+308277.140.4.1 1671274291 installed <13>Jun 16 02:33:53 rpmi: libxcb-devel-1.14-alt1 sisyphus+277968.100.1.3 1625952322 installed <13>Jun 16 02:33:53 rpmi: libX11-devel-3:1.8.7-alt1 p10+330924.200.2.1 1697304232 installed <13>Jun 16 02:33:53 rpmi: libglvnd-devel-7:1.6.0-alt1 p10+308277.140.4.1 1671274291 installed <13>Jun 16 02:33:53 rpmi: libGLU-devel-4:9.0.1-alt1 sisyphus+278350.100.1.2 1626174382 installed <13>Jun 16 02:33:53 rpmi: alsa-ucm-conf-1.2.8-alt8 p10+323518.100.1.1 1687447425 installed <13>Jun 16 02:33:53 rpmi: alsa-topology-conf-1.2.5.1-alt1 sisyphus+274777.100.1.1 1624089141 installed <13>Jun 16 02:33:53 rpmi: libalsa-1:1.2.8-alt1 p10+310792.200.3.1 1670940516 installed <13>Jun 16 02:33:53 rpmi: libSDL-1.2.14-alt9 sisyphus+275261.100.1.2 1624469000 installed <13>Jun 16 02:33:53 rpmi: libSDL-devel-1.2.14-alt9 sisyphus+275261.100.1.2 1624469000 installed <13>Jun 16 02:33:53 rpmi: libSDL_image-1.2.12-alt3.gitd0ea78d sisyphus+278696.40.4.1 1626250409 installed <13>Jun 16 02:33:53 rpmi: libSDL_mixer-1.2.12-alt2.git40a7e1a sisyphus+278696.140.4.1 1626250504 installed <13>Jun 16 02:33:53 rpmi: libSDL_ttf-2.0.11-alt1.git1ed61fe sisyphus+278696.400.4.1 1626250621 installed <13>Jun 16 02:33:53 rpmi: login-0.60-alt36 sisyphus+278100.100.1.1 1626056541 installed <13>Jun 16 02:33:53 rpmi: agetty-2.39.2-alt0.p10.2 p10+348737.200.2.1 1716530412 installed <13>Jun 16 02:33:53 rpmi: acl-2.3.1-alt1 sisyphus+279621.200.1.1 1626627026 installed <13>Jun 16 02:33:53 rpmi: rpm-macros-alternatives-0.5.2-alt1 p10+309129.100.2.1 1668066636 installed <13>Jun 16 02:33:53 rpmi: alternatives-0.5.2-alt1 p10+309129.100.2.1 1668066636 installed <13>Jun 16 02:33:53 rpmi: ca-certificates-2022.09.15-alt1 p10+308004.100.2.1 1665748370 installed <13>Jun 16 02:33:53 rpmi: ca-trust-0.1.6-alt1 p10+344774.100.1.1 1712685728 installed <13>Jun 16 02:33:53 rpmi: p11-kit-trust-0.24.1-alt1 p10+305061.100.3.1 1660573397 installed <13>Jun 16 02:33:53 rpmi: libcrypto1.1-1.1.1w-alt0.p10.1 p10+330586.100.4.1 1697560982 installed <13>Jun 16 02:33:53 rpmi: libssl1.1-1.1.1w-alt0.p10.1 p10+330586.100.4.1 1697560982 installed <13>Jun 16 02:33:53 rpmi: python-modules-compiler-2.7.18-alt10 p10+309289.100.3.1 1668015444 installed <13>Jun 16 02:33:53 rpmi: python-modules-email-2.7.18-alt10 p10+309289.100.3.1 1668015444 installed <13>Jun 16 02:33:53 rpmi: python-modules-unittest-2.7.18-alt10 p10+309289.100.3.1 1668015444 installed <13>Jun 16 02:33:53 rpmi: python-modules-2.7.18-alt10 p10+309289.100.3.1 1668015444 installed <13>Jun 16 02:33:53 rpmi: python-modules-encodings-2.7.18-alt10 p10+309289.100.3.1 1668015444 installed <13>Jun 16 02:33:53 rpmi: python3-3.9.18-alt1 p10+340781.400.5.1 1709555259 installed <13>Jun 16 02:33:54 rpmi: python3-base-3.9.18-alt1 p10+340781.400.5.1 1709555259 installed <13>Jun 16 02:33:54 rpmi: libboost_python3-1.76.0-1:1.76.0-alt2 sisyphus+277557.100.1.1 1625697364 installed <86>Jun 16 02:33:54 groupadd[2863492]: group added to /etc/group: name=_keytab, GID=498 <86>Jun 16 02:33:54 groupadd[2863492]: group added to /etc/gshadow: name=_keytab <86>Jun 16 02:33:54 groupadd[2863492]: new group: name=_keytab, GID=498 <13>Jun 16 02:33:54 rpmi: libkrb5-1.19.4-alt3 p10+338175.100.6.1 1706280757 installed <13>Jun 16 02:33:54 rpmi: libkmod-30-alt1 p10+321840.100.2.1 1686126783 installed <13>Jun 16 02:33:54 rpmi: kmod-30-alt1 p10+321840.100.2.1 1686126783 installed <13>Jun 16 02:33:54 rpmi: dmsetup-1.02.185-alt1 p10+305156.40.6.1 1662130326 installed <86>Jun 16 02:33:54 groupadd[2863775]: group added to /etc/group: name=tape, GID=497 <86>Jun 16 02:33:54 groupadd[2863775]: group added to /etc/gshadow: name=tape <86>Jun 16 02:33:54 groupadd[2863775]: new group: name=tape, GID=497 <86>Jun 16 02:33:54 groupadd[2863806]: group added to /etc/group: name=dialout, GID=496 <86>Jun 16 02:33:54 groupadd[2863806]: group added to /etc/gshadow: name=dialout <86>Jun 16 02:33:54 groupadd[2863806]: new group: name=dialout, GID=496 <86>Jun 16 02:33:54 groupadd[2863828]: group added to /etc/group: name=input, GID=495 <86>Jun 16 02:33:54 groupadd[2863828]: group added to /etc/gshadow: name=input <86>Jun 16 02:33:54 groupadd[2863828]: new group: name=input, GID=495 <86>Jun 16 02:33:54 groupadd[2863851]: group added to /etc/group: name=video, GID=494 <86>Jun 16 02:33:54 groupadd[2863851]: group added to /etc/gshadow: name=video <86>Jun 16 02:33:54 groupadd[2863851]: new group: name=video, GID=494 <86>Jun 16 02:33:54 groupadd[2863881]: group added to /etc/group: name=render, GID=493 <86>Jun 16 02:33:54 groupadd[2863881]: group added to /etc/gshadow: name=render <86>Jun 16 02:33:54 groupadd[2863881]: new group: name=render, GID=493 <13>Jun 16 02:33:54 rpmi: udev-1:249.17-alt2 p10+340218.100.1.1 1707505676 installed <86>Jun 16 02:33:54 groupadd[2865331]: group added to /etc/group: name=colord, GID=492 <86>Jun 16 02:33:54 groupadd[2865331]: group added to /etc/gshadow: name=colord <86>Jun 16 02:33:54 groupadd[2865331]: new group: name=colord, GID=492 <86>Jun 16 02:33:54 useradd[2865366]: new user: name=colord, UID=498, GID=492, home=/var/colord, shell=/dev/null <13>Jun 16 02:33:54 rpmi: colord-1.4.6-alt1 p10+307937.500.4.1 1669051082 installed <13>Jun 16 02:33:54 rpmi: libcups-2.4.7-alt2 p10+333093.100.2.1 1699595808 installed <13>Jun 16 02:33:55 rpmi: libgtk+3-3.24.32-alt1 p10+296508.100.3.1 1648144248 installed <13>Jun 16 02:33:55 rpmi: libboost_mpi_python3-1.76.0-1:1.76.0-alt2 sisyphus+277557.100.1.1 1625697364 installed <13>Jun 16 02:33:55 rpmi: libpython3-3.9.18-alt1 p10+340781.400.5.1 1709555259 installed <13>Jun 16 02:33:55 rpmi: python3-module-numpy-1:1.21.4-alt2.p10.1 p10+345373.4000.28.1 1714242715 installed <13>Jun 16 02:33:55 rpmi: libboost_numpy3-1.76.0-1:1.76.0-alt2 sisyphus+277557.100.1.1 1625697364 installed <13>Jun 16 02:33:55 rpmi: tests-for-installed-python3-pkgs-0.1.22-alt1 p10+325520.200.7.1 1691156214 installed <13>Jun 16 02:33:55 rpmi: rpm-build-python3-0.1.22-alt1 p10+325520.200.7.1 1691156214 installed <13>Jun 16 02:33:55 rpmi: python-modules-xml-2.7.18-alt10 p10+309289.100.3.1 1668015444 installed <13>Jun 16 02:33:55 rpmi: python-modules-hotshot-2.7.18-alt10 p10+309289.100.3.1 1668015444 installed <13>Jun 16 02:33:55 rpmi: python-modules-bsddb-2.7.18-alt10 p10+309289.100.3.1 1668015444 installed <13>Jun 16 02:33:55 rpmi: python-modules-ctypes-2.7.18-alt10 p10+309289.100.3.1 1668015444 installed <13>Jun 16 02:33:55 rpmi: python-modules-multiprocessing-2.7.18-alt10 p10+309289.100.3.1 1668015444 installed <13>Jun 16 02:33:55 rpmi: python-modules-logging-2.7.18-alt10 p10+309289.100.3.1 1668015444 installed <13>Jun 16 02:33:55 rpmi: python-2.7.18-alt10 p10+309289.100.3.1 1668015444 installed <13>Jun 16 02:33:55 rpmi: python-modules-distutils-2.7.18-alt10 p10+309289.100.3.1 1668015444 installed <13>Jun 16 02:33:55 rpmi: python-strict-2.7.18-alt10 p10+309289.100.3.1 1668015444 installed <13>Jun 16 02:33:55 rpmi: python-module-numpy-1:1.15.4-alt7 sisyphus+278842.100.1.2 1626288350 installed <13>Jun 16 02:33:55 rpmi: libboost_numpy1.76.0-1:1.76.0-alt2 sisyphus+277557.100.1.1 1625697364 installed <13>Jun 16 02:33:55 rpmi: libcryptsetup-2.6.1-alt1 p10+348716.100.1.1 1716455350 installed <13>Jun 16 02:33:55 rpmi: libnss-systemd-1:249.17-alt2 p10+340218.100.1.1 1707505676 installed <13>Jun 16 02:33:56 rpmi: systemd-boot-efi-1:249.17-alt2 p10+340218.100.1.1 1707505676 installed <86>Jun 16 02:33:56 groupadd[2869542]: group added to /etc/group: name=systemd-journal, GID=491 <86>Jun 16 02:33:56 groupadd[2869542]: group added to /etc/gshadow: name=systemd-journal <86>Jun 16 02:33:56 groupadd[2869542]: new group: name=systemd-journal, GID=491 <86>Jun 16 02:33:56 groupadd[2869578]: group added to /etc/group: name=systemd-oom, GID=490 <86>Jun 16 02:33:56 groupadd[2869578]: group added to /etc/gshadow: name=systemd-oom <86>Jun 16 02:33:56 groupadd[2869578]: new group: name=systemd-oom, GID=490 <86>Jun 16 02:33:56 useradd[2869604]: new user: name=systemd-oom, UID=497, GID=490, home=/var/empty, shell=/dev/null <13>Jun 16 02:33:56 rpmi: systemd-1:249.17-alt2 p10+340218.100.1.1 1707505676 installed <13>Jun 16 02:33:56 rpmi: rdma-core-34.0-alt1 sisyphus+279253.100.1.2 1626480289 installed <13>Jun 16 02:33:56 rpmi: ibacm-34.0-alt1 sisyphus+279253.100.1.2 1626480289 installed <13>Jun 16 02:33:56 rpmi: rdma-core-devel-34.0-alt1 sisyphus+279253.100.1.2 1626480289 installed <13>Jun 16 02:33:56 rpmi: openmpi-devel-2.0.1-alt8 sisyphus+275152.100.1.1 1624410685 installed <13>Jun 16 02:33:56 rpmi: libarchive13-3.6.1-alt2 p10+311215.100.2.1 1670851728 installed <13>Jun 16 02:33:56 rpmi: glib-networking-2.68.3-alt1 p10+291685.240.7.1 1639667808 installed <13>Jun 16 02:33:57 rpmi: libsoup-2.74.1-alt1 p10+289899.1100.6.1 1638977516 installed <13>Jun 16 02:33:57 rpmi: libncurses-6.3.20220618-alt1 p10+319472.100.4.1 1685092691 installed <13>Jun 16 02:33:57 rpmi: libtinfo-devel-6.3.20220618-alt1 p10+319472.100.4.1 1685092691 installed <13>Jun 16 02:33:57 rpmi: libncurses-devel-6.3.20220618-alt1 p10+319472.100.4.1 1685092691 installed <13>Jun 16 02:33:57 rpmi: python-dev-2.7.18-alt10 p10+309289.100.3.1 1668015444 installed <13>Jun 16 02:33:57 rpmi: boost-python-devel-1:1.76.0-alt2 sisyphus+277557.100.1.1 1625697364 installed <13>Jun 16 02:33:58 rpmi: python3-dev-3.9.18-alt1 p10+340781.400.5.1 1709555259 installed <13>Jun 16 02:33:58 rpmi: boost-python3-devel-1:1.76.0-alt2 sisyphus+277557.100.1.1 1625697364 installed <13>Jun 16 02:33:58 rpmi: boost-mpi-devel-1:1.76.0-alt2 sisyphus+277557.100.1.1 1625697364 installed <13>Jun 16 02:33:58 rpmi: boost-graph-parallel-devel-1:1.76.0-alt2 sisyphus+277557.100.1.1 1625697364 installed <13>Jun 16 02:33:58 rpmi: boost-complete-1:1.76.0-alt2 sisyphus+277557.100.1.1 1625697364 installed <13>Jun 16 02:33:58 rpmi: libappstream-glib-0.7.18-alt1 sisyphus+275090.100.2.3 1624561340 installed <13>Jun 16 02:33:58 rpmi: ccache-4.6-alt1 p10+297377.1340.4.1 1649693344 installed <13>Jun 16 02:33:58 rpmi: libSDL_ttf-devel-2.0.11-alt1.git1ed61fe sisyphus+278696.400.4.1 1626250621 installed <13>Jun 16 02:33:58 rpmi: libSDL_mixer-devel-1.2.12-alt2.git40a7e1a sisyphus+278696.140.4.1 1626250504 installed <13>Jun 16 02:33:58 rpmi: libSDL_image-devel-1.2.12-alt3.gitd0ea78d sisyphus+278696.40.4.1 1626250409 installed <13>Jun 16 02:33:58 rpmi: libGLEW-devel-2.2.0-alt1 sisyphus+278988.100.1.1 1626351077 installed <13>Jun 16 02:33:58 rpmi: libpng-devel-1.6.37-alt1 sisyphus+275734.100.2.1 1624788826 installed <13>Jun 16 02:33:58 rpmi: libicns-utils-0.7.1-alt1.2 sisyphus+223351.100.1.1 1551468866 installed <13>Jun 16 02:33:58 rpmi: desktop-file-utils-0.26-alt6 p10+331864.200.3.1 1698244502 installed Building target platforms: x86_64 Building for target x86_64 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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.20950 + 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.31139 + 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 -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 -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 -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 -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 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 51 | for(int n = 0; n != keys.size(); ++n) { | ~~^~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: 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:27: warning: 'gui::button::onclick_' will be initialized after [-Wreorder] 53 | boost::function onclick_; | ^~~~~~~~ src/button.hpp:50:20: 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:15: warning: 'gui::button::button_style_' will be initialized after [-Wreorder] 51 | BUTTON_STYLE button_style_; | ^~~~~~~~~~~~~ src/button.hpp:48:6: 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:6: warning: 'gui::button::hpadding_' will be initialized after [-Wreorder] 48 | int hpadding_; | ^~~~~~~~~ src/button.hpp:47:6: 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:27: warning: 'gui::button::onclick_' will be initialized after [-Wreorder] 53 | boost::function onclick_; | ^~~~~~~~ src/button.hpp:50:20: 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:7: warning: 'gui::button::down_' will be initialized after [-Wreorder] 54 | bool down_; | ^~~~~ src/button.hpp:48:6: 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:6: warning: 'gui::button::hpadding_' will be initialized after [-Wreorder] 48 | int hpadding_; | ^~~~~~~~~ src/button.hpp:47:6: 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 -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 -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:17: warning: unnecessary parentheses in declaration of 'completed_tasks_mutex' [-Wparentheses] 31 | threading::lock(*completed_tasks_mutex); | ^ src/background_task_pool.cpp:31:19: 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:18: warning: unnecessary parentheses in declaration of 'completed_tasks_mutex' [-Wparentheses] 60 | threading::lock(*completed_tasks_mutex); | ^ src/background_task_pool.cpp:60:20: warning: unused variable 'completed_tasks_mutex' [-Wunused-variable] 60 | threading::lock(*completed_tasks_mutex); | ^~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: 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:6: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:2: 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:34: 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:44: 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:44: 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:54: 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:105: 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 -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 -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:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 81 | for(int n = 0; n != data.size(); ++n) { | ~~^~~~~~~~~~~~~~ src/compress.cpp:88:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 88 | for(int n = 0; n != data.size(); ++n) { | ~~^~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: 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:7: 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 -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 -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:10: 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:19: 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 -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 -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 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: 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:75: 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:6: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: 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:6: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:2: 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:34: 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:44: 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:44: 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:54: 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:105: 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/character_editor_dialog.cpp: In member function 'void editor_dialogs::character_editor_dialog::init()': src/character_editor_dialog.cpp:47:15: 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:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 84 | matches = p == id.c_str() || p != NULL && *(p-1) == '_'; | ~~~~~~~~~~^~~~~~~~~~~~~~~~ src/character_editor_dialog.cpp:118:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 118 | for(int n = 0; n != borders.size(); ++n) { | ~~^~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: 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:17: warning: 'gui::drag_widget::dir_' will be initialized after [-Wreorder] 53 | drag_direction dir_; | ^~~~ src/drag_widget.hpp:39:34: 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:6: 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:6: 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:6: 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 -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 -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:13: 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:12: 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:13: 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:13: 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 -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 -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 -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 -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:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 27 | for(int i = 0; i < diff["difficulties"].num_elements(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: 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:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 15 | if(index >= 0 && index < levels.size()) { | ~~~~~~^~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: 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:75: 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:16: warning: 'gui::dropdown_widget::type_' will be initialized after [-Wreorder] 56 | dropdown_type type_; | ^~~~~ src/dropdown_widget.hpp:55:6: 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:6: warning: 'gui::dropdown_widget::current_selection_' will be initialized after [-Wreorder] 55 | int current_selection_; | ^~~~~~~~~~~~~~~~~~ src/dropdown_widget.hpp:53:6: 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:6: warning: 'gui::dropdown_widget::current_selection_' will be initialized after [-Wreorder] 55 | int current_selection_; | ^~~~~~~~~~~~~~~~~~ src/dropdown_widget.hpp:53:6: 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:6: 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 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: 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:6: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:2: 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:34: 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:44: 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:44: 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:54: 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:105: 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/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:75: 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:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 183 | for(int n = 0; n != cmd.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: 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:6: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:2: 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:34: 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:44: 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:44: 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:54: 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:105: 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/background.cpp: In member function 'void background::draw(int, int, const rect&, const std::vector&, int, int) const': src/background.cpp:261:13: 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 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: 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:75: 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:6: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: 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:6: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:2: 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:34: 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:44: 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:44: 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:54: 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:105: 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/code_editor_dialog.cpp: In member function 'void code_editor_dialog::load_file(std::string, bool)': src/code_editor_dialog.cpp:150:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long 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:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long 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:36: 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:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 758 | if(index >= 0 && index < suggestions_.size()) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ src/code_editor_dialog.cpp:761:54: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] 761 | if(suggestions_prefix_ >= 0 && suggestions_prefix_ < str.size()) { | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: 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:6: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: 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:6: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:2: 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:34: 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:44: 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:44: 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:54: 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:105: 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 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: 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:6: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: 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:6: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:2: 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:34: 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:44: 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:44: 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:54: 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:105: 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/animation_preview_widget.cpp: In member function 'virtual void gui::animation_preview_widget::handle_draw() const': src/animation_preview_widget.cpp:346:62: 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:9: 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:9: 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:58: 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:24: 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:59: 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:31: 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:4: warning: 'pathfinding::graph_node::src_' will be initialized after [-Wreorder] 83 | N src_; | ^~~~ src/pathfinding.hpp:82:4: warning: 'decimal pathfinding::graph_node::f_' [-Wreorder] 82 | T f_, g_, h_; | ^~ src/pathfinding.hpp:42:2: 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:4: warning: 'pathfinding::graph_node::src_' will be initialized after [-Wreorder] 83 | N src_; | ^~~~ src/pathfinding.hpp:82:4: warning: 'int pathfinding::graph_node::f_' [-Wreorder] 82 | T f_, g_, h_; | ^~ src/pathfinding.hpp:42:2: warning: when initialized here [-Wreorder] 42 | graph_node(const N& src) | ^~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:8: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 169 | if(n < v.num_elements()) { | ~~^~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: 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:75: 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:6: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: 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:6: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:2: 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:34: 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:44: 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:44: 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:54: 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:105: 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/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:7: warning: 'gui::animation_creator_dialog::dragging_slider_' will be initialized after [-Wreorder] 79 | bool dragging_slider_; | ^~~~~~~~~~~~~~~~ src/animation_creator.hpp:61:7: 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 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: 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:6: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: 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:6: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:2: 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:34: 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:44: 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:44: 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:54: 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:105: 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 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: 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:6: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: 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:6: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:2: 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:34: 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:44: 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:44: 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:54: 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:105: 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/editor_layers_dialog.cpp: In member function 'void editor_dialogs::editor_layers_dialog::process()': src/editor_layers_dialog.cpp:74:24: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector::size_type' {aka 'long 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:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 107 | if(nrow == rows_.size()) { | ~~~~~^~~~~~~~~~~~~~~ src/editor_layers_dialog.cpp:126:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long 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:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long 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:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::set >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 164 | if(index < 0 || index >= all_classifications_.size()) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:13: 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:14: warning: unused variable 'result' [-Wunused-variable] 211 | const int result = system(command.c_str()); | ^~~~~~ src/external_text_editor.cpp:225:13: 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:13: warning: unused variable 'begin' [-Wunused-variable] 309 | const int begin = SDL_GetTicks(); | ^~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: 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:6: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: 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:6: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:2: 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:34: 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:44: 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:44: 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:54: 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:105: 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/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:75: 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:38: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 199 | while(controls[local_player].size() <= ncycle) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ src/controls.cpp:203:38: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long 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:62: 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:13: 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:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 423 | if(cycle < controls[slot].size()) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ src/controls.cpp:435:32: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 435 | while(controls[slot].size() <= cycle) { | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ src/controls.cpp:446:36: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long 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:22: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'std::vector::size_type' {aka 'long 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:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 549 | for(int m = 0; m < controls[n].size() && m < highest_confirmed[n]; ++m) { | ~~^~~~~~~~~~~~~~~~~~~~ src/controls.cpp:558:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long 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 -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 -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:34: 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:44: 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:44: 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:54: 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:105: 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 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: 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:6: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:2: 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:34: 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:44: 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:44: 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:54: 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:105: 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/custom_object_callable.cpp: In constructor 'custom_object_callable::custom_object_callable(bool)': src/custom_object_callable.cpp:71:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long 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:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long 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:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 113 | if(slot < 0 || slot >= entries_.size()) { | ~~~~~^~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: 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:6: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:2: 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:34: 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:44: 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:44: 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:54: 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:105: 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/collision_utils.cpp: In function 'bool point_standable(const level&, const entity&, int, int, collision_info*, ALLOW_PLATFORM)': src/collision_utils.cpp:47:44: 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:13: 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:15: 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:76: 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:67: 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 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: 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:6: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:2: 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:34: 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:44: 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:44: 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:54: 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:105: 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/custom_object.hpp:16, from src/entity.cpp:4: src/entity.hpp: In constructor 'entity::entity(variant)': src/entity.hpp:352:6: warning: 'entity::platform_motion_x_' will be initialized after [-Wreorder] 352 | int platform_motion_x_; | ^~~~~~~~~~~~~~~~~~ src/entity.hpp:328:7: 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:7: warning: 'entity::being_dragged_' will be initialized after [-Wreorder] 330 | bool being_dragged_; | ^~~~~~~~~~~~~~ src/entity.hpp:329:8: 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:6: warning: 'entity::platform_motion_x_' will be initialized after [-Wreorder] 352 | int platform_motion_x_; | ^~~~~~~~~~~~~~~~~~ src/entity.hpp:328:7: 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:7: warning: 'entity::being_dragged_' will be initialized after [-Wreorder] 330 | bool being_dragged_; | ^~~~~~~~~~~~~~ src/entity.hpp:329:8: 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:31: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 373 | a->zorder() == b->zorder() && a->zsub_order() < b->zsub_order() || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/entity.cpp:374:69: 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:107: 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:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 378 | a->zorder() == b->zorder() && a->zsub_order() < b->zsub_order() || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/entity.cpp:379:68: 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:106: 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(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/entity.cpp: In member function 'void entity::set_control_status(const string&, bool)': src/entity.cpp:322:15: warning: array subscript 7 is outside array bounds of 'const string [6]' {aka 'const std::__cxx11::basic_string [6]'} [-Warray-bounds] 322 | if(k == keys + controls::NUM_CONTROLS) { | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/entity.cpp:320:27: note: while referencing 'keys' 320 | static const std::string keys[] = { "up", "down", "left", "right", "attack", "jump" }; | ^~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: 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:6: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:2: 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:34: 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:44: 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:44: 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:54: 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:105: 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/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:75: 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:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long 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:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 299 | if(text_editor_->cursor_row() < text_editor_->get_data().size()-1) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/debug_console.cpp:303:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long 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:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 413 | if(history_pos_ < history_.size()) { | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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:42: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 54 | return text < k.text || text == k.text && color < k.color || | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ src/font.cpp:55:45: 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 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: 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:6: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: 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:6: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:2: 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:34: 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:44: 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:44: 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:54: 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:105: 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/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:75: 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:10: warning: 'editor_dialogs::editor_module_properties_dialog::editor_' will be initialized after [-Wreorder] 36 | editor& editor_; | ^~~~~~~ src/editor_module_properties_dialog.hpp:35:7: 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:10: warning: 'editor_dialogs::editor_module_properties_dialog::editor_' will be initialized after [-Wreorder] 36 | editor& editor_; | ^~~~~~~ src/editor_module_properties_dialog.hpp:35:7: 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 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: 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:6: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: 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:6: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:2: 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:34: 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:44: 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:44: 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:54: 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:105: 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 -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 -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:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long 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:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 60 | if(slot < 0 || slot >= entries_.size()) { | ~~~~~^~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: 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:6: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: 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:6: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:2: 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:34: 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:44: 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:44: 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:54: 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:105: 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/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:75: 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:83: 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:22: warning: unused variable 'fb' [-Wunused-variable] 334 | const SDL_Surface* fb = SDL_GetVideoSurface(); | ^~ src/draw_scene.cpp:472:22: warning: unused variable 'fb' [-Wunused-variable] 472 | const SDL_Surface* fb = SDL_GetVideoSurface(); | ^~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: 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:6: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: 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:6: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:2: 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:34: 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:44: 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:44: 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:54: 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:105: 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/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:75: 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:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 179 | if(index < 0 || index >= choices.size()) { | ~~~~~~^~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: 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:75: 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:6: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: 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:6: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:2: 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:34: 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:44: 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:44: 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:54: 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:105: 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/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:10: warning: 'gui::item_edit_dialog::items_' will be initialized after [-Wreorder] 67 | variant items_; | ^~~~~~ src/custom_object_dialog.cpp:66:14: warning: 'std::string gui::item_edit_dialog::display_name_' [-Wreorder] 66 | std::string display_name_; | ^~~~~~~~~~~~~ src/custom_object_dialog.cpp:41:2: 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:7: warning: 'editor_dialogs::custom_object_dialog::dragging_slider_' will be initialized after [-Wreorder] 57 | bool dragging_slider_; | ^~~~~~~~~~~~~~~~ src/custom_object_dialog.hpp:47:6: 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:23: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string::size_type' {aka 'long 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 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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:30: warning: array subscript has type 'char' [-Wchar-subscripts] 99 | t.type = single_char_tokens[*i1]; | ^~~ src/formula_tokenizer.cpp:251:18: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} and '__gnu_cxx::__normal_iterator >::difference_type' {aka 'long int'} [-Wsign-compare] 251 | if(str.size() == (t.end - t.begin) && std::equal(str.begin(), str.end(), t.begin)) { | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/formula_tokenizer.cpp:259:18: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} and '__gnu_cxx::__normal_iterator >::difference_type' {aka 'long 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 -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 -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 -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 -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 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: 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:75: 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:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 88 | for(int n = 0; n != opening_brackets.back().size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/code_editor_widget.cpp:153:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector > >::size_type' {aka 'long 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:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 181 | for(int n = 0; n != itor->second.size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~ src/code_editor_widget.cpp:185:65: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long 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:80: 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:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long 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:45: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:29: warning: comparison of integer expressions of different signedness: 'const int' and 'std::__cxx11::basic_string::size_type' {aka 'long 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:6: warning: unused variable 'nbracket' [-Wunused-variable] 420 | int nbracket = 0; | ^~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:13: 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:37: 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:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 228 | for(int n = 0; n != sorted_samples.size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~ src/formula_profiler.cpp:270:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 270 | for(int n = 0; n != sorted_samples.size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~ src/formula_profiler.cpp:275:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector > >::size_type' {aka 'long 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:41: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 308 | return type < f.type || type == f.type && event_id < f.event_id || | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/formula_profiler.cpp:309:50: 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:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 346 | for(int n = 0; n != samples.size(); ++n) { | ~~^~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: 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:6: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:2: 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:34: 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:44: 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:44: 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:54: 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:105: 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/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:11: 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:23: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long unsigned int'} and 'const int' [-Wsign-compare] 649 | if(handlers.size() <= event_id) { | ~~~~~~~~~~~~~~~~^~~~~~~~~~~ src/custom_object_type.cpp:653:46: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long 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:19: warning: 'custom_object_type::platform_offsets_' will be initialized after [-Wreorder] 321 | std::vector platform_offsets_; | ^~~~~~~~~~~~~~~~~ src/custom_object_type.hpp:287:6: 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:6: warning: 'custom_object_type::slot_properties_base_' will be initialized after [-Wreorder] 287 | int slot_properties_base_; | ^~~~~~~~~~~~~~~~~~~~~ src/custom_object_type.hpp:277:7: 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:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long 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:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 994 | if(event >= event_handlers_.size()) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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:7: warning: 'frame::platform_rect_' will be initialized after [-Wreorder] 139 | rect platform_rect_; | ^~~~~~~~~~~~~~ src/frame.hpp:135:7: 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:7: warning: 'frame::no_remove_alpha_borders_' will be initialized after [-Wreorder] 168 | bool no_remove_alpha_borders_; | ^~~~~~~~~~~~~~~~~~~~~~~~ src/frame.hpp:162:7: 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 'long 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:3: 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:54: 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:4: 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:4: 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:4: 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:54: 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:28: 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:12: 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:12: 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:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 793 | if(time_in_frame >= s.points.size()) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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:33: 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 -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 -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 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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 -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 -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:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 875 | for(int n = 0; n != new_files.size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: 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:6: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:2: 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:34: 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:44: 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:44: 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:54: 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:105: 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/gles2.cpp: At global scope: src/gles2.cpp:23:9: warning: '{anonymous}::shade_model' defined but not used [-Wunused-variable] 23 | GLenum shade_model = GL_FLAT; | ^~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:26: warning: 'game_logic::map_formula_callable::fallback_' will be initialized after [-Wreorder] 205 | const formula_callable* fallback_; | ^~~~~~~~~ src/formula_callable.hpp:204:32: warning: 'std::map, variant> game_logic::map_formula_callable::values_' [-Wreorder] 204 | std::map values_; | ^~~~~~~ src/formula.cpp:112:2: 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:30: warning: unused variable 'arg' [-Wunused-variable] 247 | foreach(const std::string& arg, generator_names_) { | ^~~ src/formula.cpp:247:3: note: in expansion of macro 'foreach' 247 | foreach(const std::string& arg, generator_names_) { | ^~~~~~~ src/formula.cpp:254:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long 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:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long 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:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 634 | if(begin_index > left.num_elements()) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ src/formula.cpp:638:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long 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:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long 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:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 885 | if(slot < results_cache_.size() && results_cache_[slot].is_null() == false) { | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ src/formula.cpp:889:30: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long 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:15: 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:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:13: 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:38: 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:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long 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:26: warning: comparison of integer expressions of different signedness: 'const int' and 'std::__cxx11::basic_string::size_type' {aka 'long 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 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: 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:6: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: 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:6: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:2: 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:34: 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:44: 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:44: 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:54: 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:105: 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 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: 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:6: warning: 'gui::grid::max_height_' will be initialized after [-Wreorder] 107 | int max_height_; | ^~~~~~~~~~~ src/grid_widget.hpp:94:7: 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:6: warning: 'gui::grid::set_h_' will be initialized after [-Wreorder] 98 | int set_h_; | ^~~~~~ src/grid_widget.hpp:97:6: 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:6: warning: 'gui::grid::max_height_' will be initialized after [-Wreorder] 107 | int max_height_; | ^~~~~~~~~~~ src/grid_widget.hpp:94:7: 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:6: warning: 'gui::grid::set_h_' will be initialized after [-Wreorder] 98 | int set_h_; | ^~~~~~ src/grid_widget.hpp:97:6: 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:24: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long 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:21: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long 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:37: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 407 | if(row_index >= 0 && row_index < row_callbacks_.size() && | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: 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:6: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:2: 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:34: 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:44: 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:44: 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:54: 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:105: 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/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:75: 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:49: 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:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long 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:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long 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:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1112 | for(int n = 0; n != args().size(); ++n) { | ~~^~~~~~~~~~~~~~~~ src/custom_object_functions.cpp:1121:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long 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:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1260 | for(int n = 0; n != var.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~ src/custom_object_functions.cpp:1274:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1274 | for(int n = 0; n != var.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~ src/custom_object_functions.cpp:1370:29: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector::size_type' {aka 'long 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:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:13: warning: '{anonymous}::teleport_command::new_playable_' will be initialized after [-Wreorder] 1672 | entity_ptr new_playable_; | ^~~~~~~~~~~~~ src/custom_object_functions.cpp:1670:7: warning: 'bool {anonymous}::teleport_command::no_move_to_standing_' [-Wreorder] 1670 | bool no_move_to_standing_; | ^~~~~~~~~~~~~~~~~~~~ src/custom_object_functions.cpp:1654:2: 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:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long 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:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 2065 | for(int i = arg_start; i < args().size(); i++) { | ~~^~~~~~~~~~~~~~~ src/custom_object_functions.cpp:2068:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long 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:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 2162 | for(int n = 0; n != v.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~ src/custom_object_functions.cpp:2174:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 2174 | for(int n = 0; n != v.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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 -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 -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:2: 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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: 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:6: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: 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:75: 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:7: warning: 'gui::file_chooser_dialog::file_open_dialog_' will be initialized after [-Wreorder] 51 | bool file_open_dialog_; | ^~~~~~~~~~~~~~~~~ src/file_chooser_dialog.hpp:50:6: 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 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: 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:6: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:2: 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:34: 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:44: 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:44: 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:54: 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:105: 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/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:75: 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:7: warning: 'custom_object::always_active_' will be initialized after [-Wreorder] 382 | bool always_active_; | ^~~~~~~~~~~~~~ src/custom_object.hpp:356:6: 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:6: warning: 'custom_object::currently_handling_die_event_' will be initialized after [-Wreorder] 427 | int currently_handling_die_event_; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/custom_object.hpp:321:7: 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:7: warning: 'custom_object::always_active_' will be initialized after [-Wreorder] 382 | bool always_active_; | ^~~~~~~~~~~~~~ src/custom_object.hpp:356:6: 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:6: warning: 'custom_object::currently_handling_die_event_' will be initialized after [-Wreorder] 427 | int currently_handling_die_event_; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/custom_object.hpp:321:7: 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:6: warning: 'custom_object::zsub_order_' will be initialized after [-Wreorder] 312 | int zsub_order_; | ^~~~~~~~~~~ src/custom_object.hpp:309:42: 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:7: warning: 'custom_object::always_active_' will be initialized after [-Wreorder] 382 | bool always_active_; | ^~~~~~~~~~~~~~ src/custom_object.hpp:356:6: 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:6: warning: 'custom_object::currently_handling_die_event_' will be initialized after [-Wreorder] 427 | int currently_handling_die_event_; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/custom_object.hpp:321:7: 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:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 968 | for(int n = 0; n != left.size(); ++n) { | ~~^~~~~~~~~~~~~~ src/custom_object.cpp:976:89: 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:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1190 | if(next_fraction && pos+1 != position_schedule_->x_pos.size()) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/custom_object.cpp:1197:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1197 | if(next_fraction && pos+1 != position_schedule_->y_pos.size()) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/custom_object.cpp:1275:19: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1275 | if(!standing_on_ && !started_standing || accel_y_ < 0) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/custom_object.cpp:1356:7: warning: unused variable 'damage' [-Wunused-variable] 1356 | int damage = 0; | ^~~~~~ src/custom_object.cpp:1358:13: warning: unused variable 'original_centi_y' [-Wunused-variable] 1358 | const int original_centi_y = centi_y(); | ^~~~~~~~~~~~~~~~ src/custom_object.cpp:1531:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1531 | if(left_foot >= area.x() && left_foot < area.x() + area.w() || | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/custom_object.cpp:1649:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1649 | if(!is_standing(lvl) || detect_collisions && entity_collides(lvl, *this, MOVE_DOWN)) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/custom_object.cpp:1613:15: 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:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long 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:20: warning: comparison of integer expressions of different signedness: 'const int' and 'std::set::size_type' {aka 'long 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:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 2690 | for(int n = 0; n != value.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ src/custom_object.cpp:2749:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 2749 | for(int n = 0; n != value.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ src/custom_object.cpp:2767:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 2767 | for(int n = 0; n != value.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ src/custom_object.cpp:2778:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long 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:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 3227 | for(int n = 0; n != value.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ src/custom_object.cpp:3316:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 3316 | for(int n = 0; n != value.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ src/custom_object.cpp:3335:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 3335 | for(int n = 0; n != value.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ src/custom_object.cpp:3349:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 3349 | for(int n = 0; n != value.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ src/custom_object.cpp:3374:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 3374 | for(int n = 0; n != value.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ src/custom_object.cpp:3386:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 3386 | for(int n = 0; n != value.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ src/custom_object.cpp:3430:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 3430 | for(int n = 0; n != value.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ src/custom_object.cpp:3442:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 3442 | for(int n = 0; n != value.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ src/custom_object.cpp:3454:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 3454 | for(int n = 0; n != value.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ src/custom_object.cpp:3501:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 3501 | for(int n = 0; n != value.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ src/custom_object.cpp:3523:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 3523 | for(int n = 0; n != value.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ src/custom_object.cpp:3527:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long 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:74: 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:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long 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:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 4225 | for(int n = 0; n != var.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:2: 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:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long 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:17: warning: 'hex::hex_object::owner_map_' will be initialized after [-Wreorder] 64 | const hex_map* owner_map_; | ^~~~~~~~~~ src/hex_object.hpp:55:6: 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 -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 -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 -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 -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:20: 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 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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:17: 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:83: 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 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: 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:6: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:2: 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:34: 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:44: 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:44: 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:54: 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:105: 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/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:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long 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:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long 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:7: warning: 'gui_algorithm::loaded_' will be initialized after [-Wreorder] 55 | bool loaded_; | ^~~~~~~ src/gui_formula_functions.hpp:53:41: 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 -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 -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:14: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 74 | if(num_keys > sizeof(custom_key_list)) { | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ src/key.cpp:81:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 81 | for(int n = 0; n != keys.size(); ++n) { | ~~^~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: 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:6: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: 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:6: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:2: 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:34: 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:44: 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:44: 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:54: 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:105: 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/hex_tileset_editor_dialog.cpp: In member function 'void editor_dialogs::hex_tileset_editor_dialog::init()': src/hex_tileset_editor_dialog.cpp:70:17: warning: unused variable 'first_index' [-Wunused-variable] 70 | int index = 0, first_index = -1; | ^~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:2: 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:7: warning: 'hex::basic_hex_tile::chance_' will be initialized after [-Wreorder] 54 | int chance_; | ^~~~~~~ src/hex_tile.hpp:42:13: 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:7: warning: 'hex::basic_hex_tile::zorder_' will be initialized after [-Wreorder] 56 | int zorder_; | ^~~~~~~ src/hex_tile.hpp:47:7: 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 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: 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:7: warning: 'gui::label::down_' will be initialized after [-Wreorder] 83 | bool down_; | ^~~~~ src/label.hpp:75:7: 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:7: warning: 'gui::label::fixed_width_' will be initialized after [-Wreorder] 75 | bool fixed_width_; | ^~~~~~~~~~~~ src/label.hpp:73:12: 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:7: warning: 'gui::label::down_' will be initialized after [-Wreorder] 83 | bool down_; | ^~~~~ src/label.hpp:75:7: 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:7: warning: 'gui::label::fixed_width_' will be initialized after [-Wreorder] 75 | bool fixed_width_; | ^~~~~~~~~~~~ src/label.hpp:73:12: 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:7: warning: 'gui::label::down_' will be initialized after [-Wreorder] 83 | bool down_; | ^~~~~ src/label.hpp:73:12: 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 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: 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:9: warning: 'gui::key_button::key_' will be initialized after [-Wreorder] 34 | SDLKey key_; | ^~~~ src/key_button.hpp:32:20: 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:108: 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:7: 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:108: 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:7: 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 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: 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:6: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: 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:6: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:2: 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:34: 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:44: 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:44: 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:54: 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:105: 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/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:75: 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 'long 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 'long 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 'long unsigned int'} [-Wsign-compare] 441 | if(logical_key < state_.size()) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:2: 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:6: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: 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:34: 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:44: 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:44: 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:54: 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:105: 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/hex_map.cpp:8: src/hex_map.hpp: In constructor 'hex::hex_map::hex_map(variant)': src/hex_map.hpp:68:6: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:66:6: 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:6: warning: 'hex::hex_map::y_' will be initialized after [-Wreorder] 67 | int y_; | ^~ src/hex_map.hpp:64:9: 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:6: 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:7: 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:6: warning: unused variable 'oy' [-Wunused-variable] 316 | int oy = y; | ^~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long 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:21: 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:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 538 | for(int n = 0; n != v.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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:28: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'const int' [-Wsign-compare] 57 | if(positive_rows_.size() <= pos.second) { | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ src/level_solid_map.cpp:64:28: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'const int' [-Wsign-compare] 64 | if(negative_rows_.size() <= index) { | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ src/level_solid_map.cpp:72:31: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'const int' [-Wsign-compare] 72 | if(r->positive_cells.size() <= pos.first) { | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ src/level_solid_map.cpp:79:31: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long 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:17: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 91 | if(pos.second < positive_rows_.size()) { | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ src/level_solid_map.cpp:98:12: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 98 | if(index < negative_rows_.size()) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ src/level_solid_map.cpp:106:16: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 106 | if(pos.first < r->positive_cells.size()) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/level_solid_map.cpp:113:12: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector::size_type' {aka 'long 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:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 156 | for(int n = 0; n != map.negative_rows_.size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/level_solid_map.cpp:157:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 157 | for(int m = 0; m != map.negative_rows_[n].negative_cells.size(); ++m) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/level_solid_map.cpp:172:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 172 | for(int m = 0; m != map.negative_rows_[n].positive_cells.size(); ++m) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/level_solid_map.cpp:188:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 188 | for(int n = 0; n != map.positive_rows_.size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/level_solid_map.cpp:189:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 189 | for(int m = 0; m != map.positive_rows_[n].negative_cells.size(); ++m) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/level_solid_map.cpp:204:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long 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 -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 -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 */ | ^~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: 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:6: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:2: 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:34: 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:44: 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:44: 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:54: 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:105: 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 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: 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:6: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: 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:6: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:2: 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:34: 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:44: 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:44: 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:54: 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:105: 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/language_dialog.cpp: In function 'void show_language_dialog()': src/language_dialog.cpp:85:6: warning: unused variable 'index' [-Wunused-variable] 85 | int index = 0; | ^~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: 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:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 79 | for(int n = 0; n != x_angles.size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~ src/light.cpp:103:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 103 | for(int n = 0; n != x_angles.size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: 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:75: 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:6: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: 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:6: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:2: 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:34: 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:44: 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:44: 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:54: 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:105: 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/editor.cpp: In member function 'void editor_menu_dialog::execute_menu_item(const std::vector&, int)': src/editor.cpp:101:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long 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:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long 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:6: warning: 'editor::cur_object_' will be initialized after [-Wreorder] 294 | int cur_object_; | ^~~~~~~~~~~ src/editor.hpp:292:6: 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:20: warning: 'editor::prev_mousey_' will be initialized after [-Wreorder] 343 | int prev_mousex_, prev_mousey_; | ^~~~~~~~~~~~ src/editor.hpp:275:6: 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:15: 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:6: 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:54: 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:74: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long 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:15: warning: unused variable 'keystate' [-Wunused-variable] 1158 | const Uint8* keystate = SDL_GetKeyState(NULL); | ^~~~~~~~ src/editor.cpp:1177:12: warning: unused variable 'selectx' [-Wunused-variable] 1177 | const int selectx = round_tile_size(xpos_ + mousex*zoom_); | ^~~~~~~ src/editor.cpp:1178:12: 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:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1875 | for(int n = 0; n != next.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~ src/editor.cpp:1900:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1900 | for(int n = 0; n != all_characters().size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/editor.cpp:1923:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long 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:73: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long 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:13: warning: unused variable 'ctrl_pressed' [-Wunused-variable] 2122 | const bool ctrl_pressed = (SDL_GetModState()&(KMOD_LCTRL|KMOD_RCTRL)) != 0; | ^~~~~~~~~~~~ src/editor.cpp:2123:13: warning: unused variable 'shift_pressed' [-Wunused-variable] 2123 | const bool shift_pressed = (SDL_GetModState()&(KMOD_LSHIFT|KMOD_RSHIFT)) != 0; | ^~~~~~~~~~~~~ src/editor.cpp:2125:21: 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:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long 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:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long 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:11: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 3487 | if(index >= undo_.size()) { | ~~~~~~^~~~~~~~~~~~~~~ src/editor.cpp:3493:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long 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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long 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:40: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long 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 -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 -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:36: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 128 | for(int n = 0; n <= cur_row_ && n < lines_.size(); ++n) { | ~~^~~~~~~~~~~~~~~ src/message_dialog.cpp:141:14: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 141 | if(cur_row_ >= lines_.size() && !options_.empty()) { | ~~~~~~~~~^~~~~~~~~~~~~~~~ src/message_dialog.cpp:147:17: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 147 | if(t.width() > width) { | ~~~~~~~~~~^~~~~~~ src/message_dialog.cpp:157:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long 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:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 183 | if(selected_option_ == options_.size()) { | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ src/message_dialog.cpp:196:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 196 | if(cur_row_ >= lines_.size()) { | ~~~~~~~~~^~~~~~~~~~~~~~~~ src/message_dialog.cpp:205:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 205 | if(cur_row_ < lines_.size()) { | ~~~~~~~~~^~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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:14: warning: 'http_client::host_' will be initialized after [-Wreorder] 64 | std::string host_; | ^~~~~ src/http_client.hpp:62:23: 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:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long 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:55: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string::size_type' {aka 'long 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:33: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long 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 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 58 | for(int n = 0; n != v.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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 -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 -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:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 60 | for(int n = 0; n != object_event_names().size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: 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:6: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:2: 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:34: 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:44: 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:44: 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:54: 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:105: 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 -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 -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 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: 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:6: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:2: 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:34: 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:44: 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:44: 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:54: 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:105: 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/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:75: 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:13: warning: unused variable 'argc' [-Wunused-variable] 285 | const int argc = argv.size(); | ^~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:23: warning: comparison of integer expressions of different signedness: '__gnu_cxx::__normal_iterator >::difference_type' {aka 'long int'} and 'std::__cxx11::basic_string::size_type' {aka 'long 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 -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 -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:34: 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:44: 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:44: 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:54: 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:105: 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:49: warning: comparison of integer expressions of different signedness: 'std::set::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 117 | if(zorder_with_alpha_channel.count(i->first) != use_alpha_channel) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/level_object.cpp:124:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 124 | for(; sheet != tiles_in_sheet.size(); ++sheet) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/level_object.cpp:132:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 132 | if(sheet == tiles_in_sheet.size()) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/level_object.cpp:263:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long 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:6: warning: 'level_object::traction_' will be initialized after [-Wreorder] 146 | int traction_; | ^~~~~~~~~ src/level_object.hpp:144:6: 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:45: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long 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:48: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 500 | assert(heights_index >= 0 && heights_index < heights.size()); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level_object.cpp:523:33: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector::size_type' {aka 'long 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:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 651 | for(int n = 0; n <= level_object_index.size()/64; ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/level_object.cpp:656:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:11: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector >::size_type' {aka 'long 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:19: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector >::size_type' {aka 'long 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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 714 | for(int n = 0; n != palettes.size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~ src/level_object.cpp:724:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long 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:29: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 777 | assert(index >= 0 && index < solid_.size()); | ~~~~~~^~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: 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:6: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:2: 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:34: 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:44: 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:44: 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:54: 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:105: 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/playable_custom_object.cpp: In member function 'virtual variant playable_custom_object::get_value(const string&) const': src/playable_custom_object.cpp:243:19: warning: comparison of integer expressions of different signedness: 'int' and 'long 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:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 273 | for(int n = 0; n != value.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: 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:6: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:2: 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:34: 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:44: 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:44: 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:54: 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:105: 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/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:75: 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:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long 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:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long 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:13: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 763 | if(editor_ && editor_->has_keyboard_focus() || | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/level_runner.cpp:1514:12: 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:13: 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 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: 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:6: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: 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:6: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:2: 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:34: 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:44: 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:44: 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:54: 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:105: 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 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: 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:6: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:2: 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:34: 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:44: 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:44: 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:54: 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:105: 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/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:4: warning: 'pathfinding::graph_node::src_' will be initialized after [-Wreorder] 83 | N src_; | ^~~~ src/pathfinding.hpp:82:4: warning: 'decimal pathfinding::graph_node::f_' [-Wreorder] 82 | T f_, g_, h_; | ^~ src/pathfinding.hpp:42:2: 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:4: warning: 'pathfinding::graph_node::src_' will be initialized after [-Wreorder] 83 | N src_; | ^~~~ src/pathfinding.hpp:82:4: warning: 'double pathfinding::graph_node::f_' [-Wreorder] 82 | T f_, g_, h_; | ^~ src/pathfinding.hpp:42:2: warning: when initialized here [-Wreorder] 42 | graph_node(const N& src) | ^~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:13: 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:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<{anonymous}::particle_animation::frame_area>::size_type' {aka 'long 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:94: 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:15: warning: '{anonymous}::point_particle_info::accel_y' will be initialized after [-Wreorder] 679 | int accel_x, accel_y; | ^~~~~~~ src/particle_system.cpp:678:30: 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:11: warning: when initialized here [-Wreorder] 610 | explicit point_particle_info(variant node) | ^~~~~~~~~~~~~~~~~~~ src/particle_system.cpp:685:7: warning: '{anonymous}::point_particle_info::dot_rounded' will be initialized after [-Wreorder] 685 | bool dot_rounded; | ^~~~~~~~~~~ src/particle_system.cpp:680:6: warning: 'int {anonymous}::point_particle_info::time_to_live' [-Wreorder] 680 | int time_to_live, time_to_live_max; | ^~~~~~~~~~~~ src/particle_system.cpp:610:11: warning: when initialized here [-Wreorder] 610 | explicit point_particle_info(variant node) | ^~~~~~~~~~~~~~~~~~~ src/particle_system.cpp:641:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 641 | for(int n = 0; n != v.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: 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:6: warning: 'gui::progress_bar::progress_' will be initialized after [-Wreorder] 40 | int progress_; | ^~~~~~~~~ src/progress_bar.hpp:38:6: 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:7: warning: 'gui::progress_bar::upscale_' will be initialized after [-Wreorder] 45 | bool upscale_; | ^~~~~~~~ src/progress_bar.hpp:35:18: 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:7: warning: 'gui::progress_bar::completion_called_' will be initialized after [-Wreorder] 41 | bool completion_called_; | ^~~~~~~~~~~~~~~~~~ src/progress_bar.hpp:40:6: 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:6: warning: 'gui::progress_bar::progress_' will be initialized after [-Wreorder] 40 | int progress_; | ^~~~~~~~~ src/progress_bar.hpp:38:6: 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:6: warning: 'gui::progress_bar::max_' will be initialized after [-Wreorder] 39 | int max_; | ^~~~ src/progress_bar.hpp:36:6: 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 -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 -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 -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 -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:34: 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:44: 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:44: 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:54: 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:105: 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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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 -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 -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:128: warning: comparison of integer expressions of different signedness: 'std::__iterator_traits<__gnu_cxx::__normal_iterator >, void>::difference_type' {aka 'long int'} and 'std::__cxx11::basic_string::size_type' {aka 'long 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 -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 -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:6: 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:6: warning: unused variable 'sh' [-Wunused-variable] 31 | int sh = graphics::screen_height(); | ^~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: 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:6: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: 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:6: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:2: 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:34: 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:44: 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:44: 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:54: 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:105: 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/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:75: 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:40: warning: comparison of integer expressions of different signedness: '__gnu_cxx::__normal_iterator >::difference_type' {aka 'long int'} and 'std::__cxx11::basic_string::size_type' {aka 'long 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:20: warning: comparison of integer expressions of different signedness: 'std::map::size_type' {aka 'long 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:9: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector >::size_type' {aka 'long 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:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long 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:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long 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:22: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long 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:7: 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:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long 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:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:36: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector::size_type' {aka 'long 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:20: 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:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long 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:4: warning: 'pathfinding::graph_node::src_' will be initialized after [-Wreorder] 83 | N src_; | ^~~~ src/pathfinding.hpp:82:4: warning: 'decimal pathfinding::graph_node::f_' [-Wreorder] 82 | T f_, g_, h_; | ^~ src/pathfinding.hpp:42:2: 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 -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 -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:29: 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:8: 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:8: note: in expansion of macro 'ASSERT_LT' 329 | ASSERT_LT(texture_y, tex.height()); | ^~~~~~~~~ src/raster.cpp: At global scope: src/raster.cpp:470:7: warning: 'graphics::{anonymous}::blit_texture_translate_y' defined but not used [-Wunused-variable] 470 | int blit_texture_translate_y = 0; | ^~~~~~~~~~~~~~~~~~~~~~~~ src/raster.cpp:469:7: warning: 'graphics::{anonymous}::blit_texture_translate_x' defined but not used [-Wunused-variable] 469 | int blit_texture_translate_x = 0; | ^~~~~~~~~~~~~~~~~~~~~~~~ src/raster.cpp:252:9: 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 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long 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:10: warning: comparison of integer expressions of different signedness: 'int' and 'const size_type' {aka 'const long unsigned int'} [-Wsign-compare] 147 | if(spos == std::string::npos) { | ~~~~~^~~~~~~~~~~~~~~~~~~~ src/module.cpp:150:10: warning: comparison of integer expressions of different signedness: 'int' and 'const size_type' {aka 'const long 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:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long 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:128: warning: comparison of integer expressions of different signedness: 'std::__iterator_traits<__gnu_cxx::__normal_iterator >, void>::difference_type' {aka 'long int'} and 'std::__cxx11::basic_string::size_type' {aka 'long 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:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] 519 | for(int n = 1; n < str.size(); ++n) { | ~~^~~~~~~~~~~~ src/module.cpp:526:108: warning: comparison of integer expressions of different signedness: 'std::__iterator_traits<__gnu_cxx::__normal_iterator >, void>::difference_type' {aka 'long int'} and 'std::__cxx11::basic_string::size_type' {aka 'long 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:48: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector::size_type' {aka 'long 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:70: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector::size_type' {aka 'long 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:46: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector::size_type' {aka 'long 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:68: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector::size_type' {aka 'long 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:128: warning: comparison of integer expressions of different signedness: 'std::__iterator_traits<__gnu_cxx::__normal_iterator >, void>::difference_type' {aka 'long int'} and 'std::__cxx11::basic_string::size_type' {aka 'long 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 -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 -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:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long 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:40: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long 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:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 511 | for(int n = 0; n != channels_to_sounds_playing.size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound.cpp:523:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long 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:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 534 | for(int n = 0; n != channels_to_sounds_playing.size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound.cpp:535:22: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 535 | if((object == NULL && channels_to_sounds_playing[n].object != NULL | ^ src/sound.cpp:552:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 552 | for(int n = 0; n != queued_sounds.size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ src/sound.cpp:553:22: 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:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 589 | for(int n = 0; n != channels_to_sounds_playing.size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: 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:7: warning: unused variable 'mouse_y' [-Wunused-variable] 140 | int mouse_y = e.y; | ^~~~~~~ src/slider.cpp:165:8: warning: unused variable 'mouse_y' [-Wunused-variable] 165 | int mouse_y = e.y; | ^~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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 'long 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:2: 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 'long 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:3: note: in expansion of macro 'ASSERT_LT' 242 | ASSERT_LT(segment, offsets.size()-1); | ^~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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:6: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: 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:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:13: 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:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 297 | for(int n = 0; n < text_.size(); ++n) { | ~~^~~~~~~~~~~~~~ src/speech_dialog.cpp:311:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 311 | for(int n = 0; n < 2 && n < text_.size() && nchars > 0; ++n) { | ~~^~~~~~~~~~~~~~ src/speech_dialog.cpp:321:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 321 | for(int m = 0; m != markup.size(); ++m) { | ~~^~~~~~~~~~~~~~~~ src/speech_dialog.cpp:323:56: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long 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:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:13: warning: 'last_mouse' defined but not used [-Wunused-variable] 96 | static int last_mouse = 0; | ^~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 226 | for(int n = 0; n != v.size(); ++n) { | ~~^~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: 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:6: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: 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:6: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:2: 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:34: 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:44: 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:44: 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:54: 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:105: 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 -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 -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 -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 -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:34: 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:44: 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:44: 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:54: 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:105: 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:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 99 | for(int n = 0; n != arrows.size()-1; ++n) { | ~~^~~~~~~~~~~~~~~~~~ src/multi_tile_pattern.cpp:76:12: 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:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<{anonymous}::raw_cell>::size_type' {aka 'long 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 'long 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:5: note: in expansion of macro 'ASSERT_LT' 184 | ASSERT_LT(index, cells.size()); | ^~~~~~~~~ src/multi_tile_pattern.cpp:220:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<{anonymous}::raw_cell>::size_type' {aka 'long 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 'long 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:2: note: in expansion of macro 'ASSERT_EQ' 275 | ASSERT_EQ(tiles_.size(), width_*height_); | ^~~~~~~~~ src/multi_tile_pattern.cpp:303:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 303 | for(int n = 0; n != try_order_.size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~ src/multi_tile_pattern.cpp:318:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long 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:11: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 359 | if(index == alternatives_.size()) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long 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:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 149 | for(int n = 0; n != v.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~ src/stats_server.cpp:156:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long 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:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long 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:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long 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:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 241 | for(int n = 0; n != doc.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~ src/stats_server.cpp:246:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long 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:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 325 | for(int n = 0; n != levels.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~ src/stats_server.cpp:336:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 336 | for(int m = 0; m != stats.num_elements(); ++m) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: 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:75: 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:6: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: 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:6: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:2: 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:34: 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:44: 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:44: 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:54: 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:105: 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/property_editor_dialog.cpp: In member function 'void editor_dialogs::property_editor_dialog::init()': src/property_editor_dialog.cpp:264:15: 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:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 593 | if(index < 0 || index >= labels.size()) { | ~~~~~~^~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long 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:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long 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:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 109 | if(palette < 0 || palette >= palettes.size() || palettes[palette].mapping.empty()) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:12: warning: unused variable 'ticks' [-Wunused-variable] 104 | const int ticks = SDL_GetTicks(); | ^~~~~ src/surface_formula.cpp:122:6: 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:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 286 | for(int n = 0; n != image.size(); ++n) { | ~~^~~~~~~~~~~~~~~ src/surface_formula.cpp:300:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 300 | for(int n = 0; n != image.size(); ++n) { | ~~^~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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 -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 -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:12: 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:6: note: add parentheses around left hand side expression to silence this warning 26 | if(!color==3){ | ^~~~~~ | ( ) src/surface_scaling.cpp:26:12: 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:12: 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:6: note: add parentheses around left hand side expression to silence this warning 52 | if(!color==3){ | ^~~~~~ | ( ) src/surface_scaling.cpp:52:12: 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:17: 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:18: warning: comparison of integer expressions of different signedness: 'int' and 'boost::array::size_type' {aka 'long 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:19: warning: comparison of integer expressions of different signedness: 'int' and 'boost::array::size_type' {aka 'long 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:19: warning: comparison of integer expressions of different signedness: 'int' and 'boost::array::size_type' {aka 'long 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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 23 | explicit tooltip_item(const std::string& s, int fs=18) | ^~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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 -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 -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:6: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: 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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: 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:6: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:2: 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:34: 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:44: 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:44: 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:54: 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:105: 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.cpp: In member function 'void level::set_as_current_level()': src/level.cpp:129:19: 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:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long 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:22: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 529 | if(players_.size() == multiplayer::slot()) { | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ src/level.cpp:540:12: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 540 | if(group >= groups_.size()) { | ~~~~~~^~~~~~~~~~~~~~~~~ src/level.cpp: In member function 'void level::finish_loading()': src/level.cpp:700:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1145 | for(int n = 0; n <= tiles_.size(); ++n) { | ~~^~~~~~~~~~~~~~~~ src/level.cpp:1146:9: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1146 | if(n != tiles_.size() && tiles_[n].draw_disabled && tiles_[n].object->has_solid() == false) { | ~~^~~~~~~~~~~~~~~~ src/level.cpp:1150:9: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1150 | if(n == tiles_.size() || tiles_[n].zorder != last_zorder) { | ~~^~~~~~~~~~~~~~~~ src/level.cpp:1160:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1160 | if(n == tiles_.size()) { | ~~^~~~~~~~~~~~~~~~ src/level.cpp:1169:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1169 | for(int m = n; m != tiles_.size() && tiles_[m].zorder == tiles_[n].zorder; ++m) { | ~~^~~~~~~~~~~~~~~~ src/level.cpp:1206:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long 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:56: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1612 | for(int n = 0; n < translucent_indexes.size(); n += 6) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/level.cpp:1526:20: warning: unused variable 't' [-Wunused-variable] 1526 | const level_tile* t = &*tile_itor; | ^ src/level.cpp:1527:20: 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:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1681 | for(int n = 0; n != tiles_.size(); ++n) { | ~~^~~~~~~~~~~~~~~~ src/level.cpp:1708:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1708 | for(int n = 0; n != tiles_.size(); ++n) { | ~~^~~~~~~~~~~~~~~~ src/level.cpp:1749:32: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long unsigned int'} and 'const int' [-Wsign-compare] 1749 | if(blit_info.indexes.size() <= ytile) { | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ src/level.cpp:1753:39: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'const int' [-Wsign-compare] 1753 | if(blit_info.indexes[ytile].size() <= xtile) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ src/level.cpp:1761:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long 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:6: warning: unused variable 'last_zorder' [-Wunused-variable] 1940 | int last_zorder = -1000000; | ^~~~~~~~~~~ src/level.cpp:1852:12: 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:12: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector >::size_type' {aka 'long 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:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2358 | return deptha < depthb || deptha == depthb && standa < standb || | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ src/level.cpp:2359:44: 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:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 2377 | assert(c->group() < groups_.size()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/level.cpp: In member function 'void level::do_processing()': src/level.cpp:2417:12: warning: unused variable 'ticks' [-Wunused-variable] 2417 | const int ticks = SDL_GetTicks(); | ^~~~~ src/level.cpp:2438:12: 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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector > >::size_type' {aka 'long 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:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:53: warning: comparison of integer expressions of different signedness: 'std::__iterator_traits<__gnu_cxx::__normal_iterator*, std::vector > >, void>::difference_type' {aka 'long int'} and 'std::vector >::size_type' {aka 'long 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:53: warning: comparison of integer expressions of different signedness: 'std::__iterator_traits<__gnu_cxx::__normal_iterator*, std::vector > >, void>::difference_type' {aka 'long int'} and 'std::vector >::size_type' {aka 'long 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:7: 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:7: 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:46: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 3073 | if(info == NULL || info->all_solid == false && info->bitmap.any() == false) { | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/level.cpp:3081:25: warning: comparison of integer expressions of different signedness: 'std::set >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 3081 | while(positions.size() != last_count) { | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ src/level.cpp:3098:48: 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:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 3323 | for(int n = 0; n != chars_.size(); ++n) { | ~~^~~~~~~~~~~~~~~~ src/level.cpp:3334:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector > >::size_type' {aka 'long 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:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 3755 | for(int n = 0; n != value.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ src/level.cpp:3769:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long 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 -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 -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:29, from /usr/include/boost/asio/basic_deadline_timer.hpp:25, from /usr/include/boost/asio.hpp:25, 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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: 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:6: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:2: 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:34: 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:44: 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:44: 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:54: 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:105: 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/stats.cpp: In function 'void stats::{anonymous}::send_stats_thread()': src/stats.cpp:124:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector, std::__cxx11::basic_string > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 124 | for(int n = 0; n != queue.size(); ++n) { | ~~^~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:13: warning: 'tbs::game::state_' will be initialized after [-Wreorder] 117 | GAME_STATE state_; | ^~~~~~ src/tbs_game.hpp:105:6: 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:13: warning: 'tbs::game::state_' will be initialized after [-Wreorder] 117 | GAME_STATE state_; | ^~~~~~ src/tbs_game.hpp:105:6: 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:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 268 | for(int n = 0; n != players_.size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~ src/tbs_game.cpp:271:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:52: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long 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:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 318 | for(int n = 0; n != players().size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~ src/tbs_game.cpp:327:36: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long 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:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 448 | for(int n = 0; n != cmd.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: 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:6: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:2: 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:34: 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:44: 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:44: 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:54: 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:105: 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/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:54: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 161 | if(nplayer == player_slot || nplayer < 0 || nplayer >= udp_endpoint_peers.size()) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/multiplayer.cpp:155:27: 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:55: warning: comparison of integer expressions of different signedness: 'std::set::size_type' {aka 'long 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:27: 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:38: warning: comparison of integer expressions of different signedness: 'char' and 'std::vector > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 296 | if(udp_msg[5] >= 0 && udp_msg[5] < udp_endpoint_peers.size()) { src/multiplayer.cpp:303:33: warning: comparison of integer expressions of different signedness: 'std::set::size_type' {aka 'long unsigned int'} and 'const int' [-Wsign-compare] 303 | if(confirmed_players.size() >= nplayers && m < confirmation_point) { | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ src/multiplayer.cpp:340:30: warning: comparison of integer expressions of different signedness: 'std::set::size_type' {aka 'long unsigned int'} and 'const int' [-Wsign-compare] 340 | if(confirmed_players.size() < nplayers) { | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ src/multiplayer.cpp:363:24: 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:23: 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:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector > >::size_type' {aka 'long 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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<{anonymous}::Peer>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 587 | for(int n = 0; n != peers.size(); ++n) { | ~~^~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 34 | for(int n = 0; n != value.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:30: warning: 'tbs::bot::timer_' will be initialized after [-Wreorder] 36 | boost::asio::deadline_timer timer_; | ^~~~~~ src/tbs_bot.hpp:30:14: 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:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 60 | for(int n = 0; n != validate.num_elements(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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:26: 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:61: 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:9: 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:23: 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:25: 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:32: 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:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector, int>, std::allocator, int> > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 443 | for(int n = 0; n != keys.size(); ++n) { | ~~^~~~~~~~~~~~~~ src/texture.cpp: At global scope: src/texture.cpp:184:14: 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:20: 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 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: 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:6: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: 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:6: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:2: 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:34: 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:44: 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:44: 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:54: 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:105: 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 /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:61: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 59 | assert(editor_.get_tileset() >= 0 && editor_.get_tileset() < editor_.all_tilesets().size()); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/tileset_editor_dialog.cpp:65:17: warning: unused variable 'first_index' [-Wunused-variable] 65 | int index = 0, first_index = -1; | ^~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: 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:6: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:2: 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:34: 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:44: 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:44: 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:54: 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:105: 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 -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 -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:19: warning: 'water_particle_system::velocity_y_' will be initialized after [-Wreorder] 66 | int velocity_x_, velocity_y_; | ^~~~~~~~~~~ src/water_particle_system.hpp:55:6: 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 -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 -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:28: 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 -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 -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 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: 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:6: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:2: 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:34: 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:44: 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:44: 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:54: 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:105: 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/shaders.cpp: In member function 'void gles2::program::set_uniform_or_defer(const string&, const variant&)': src/shaders.cpp:308:14: 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:10: warning: 'gles2::shader_program::parent_' will be initialized after [-Wreorder] 163 | entity* parent_; | ^~~~~~~ src/shaders.hpp:161:6: 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:10: warning: 'gles2::shader_program::parent_' will be initialized after [-Wreorder] 163 | entity* parent_; | ^~~~~~~ src/shaders.hpp:161:6: 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 -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 -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 -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 -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 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 31 | for(int n = 0; n != value_names_->size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: 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:75: 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:34: 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:44: 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:44: 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:54: 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:105: 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 -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 -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 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long 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:14: warning: unused variable 'game_started' [-Wunused-variable] 168 | const bool game_started = cli_info.game->game_state->started(); | ^~~~~~~~~~~~ src/tbs_server.cpp:155:21: 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:21: 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:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 405 | if(games_size != games_.size()) { | ~~~~~~~~~~~^~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: 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:6: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:2: 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:34: 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:44: 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:44: 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:54: 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:105: 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/water.cpp: In constructor 'water::water(variant)': src/water.cpp:42:9: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long 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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 141 | for(int n = 0; n != a.surface_segments_.size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: 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:32: warning: 'gui::widget::environ_' will be initialized after [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:86:6: 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:10: warning: 'gui::widget::h_' will be initialized after [-Wreorder] 86 | int w_, h_; | ^~ src/widget.hpp:85:6: 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:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:87:6: 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:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: 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 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: 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:27: 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 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: 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:75: 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:6: warning: 'gui::tree_view_widget::selected_row_' will be initialized after [-Wreorder] 76 | int selected_row_; | ^~~~~~~~~~~~~ src/tree_view_widget.hpp:68:6: 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:6: warning: 'gui::tree_view_widget::nrows_' will be initialized after [-Wreorder] 77 | int nrows_; | ^~~~~~ src/tree_view_widget.hpp:74:7: 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:6: warning: 'gui::tree_view_widget::max_height_' will be initialized after [-Wreorder] 78 | int max_height_; | ^~~~~~~~~~~ src/tree_view_widget.hpp:70:6: 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:6: warning: 'gui::tree_view_widget::max_col_size_' will be initialized after [-Wreorder] 71 | int max_col_size_; | ^~~~~~~~~~~~~ src/tree_view_widget.hpp:69:6: 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:6: warning: 'gui::tree_view_widget::nrows_' will be initialized after [-Wreorder] 77 | int nrows_; | ^~~~~~ src/tree_view_widget.hpp:70:6: 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:20: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 101 | if(str.length() > max_chars && max_chars > 3) { | ~~~~~~~~~~~~~^~~~~~~~~~~ src/tree_view_widget.cpp:137:19: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 137 | if(str.length() > max_chars && max_chars > 3) { | ~~~~~~~~~~~~~^~~~~~~~~~~ src/tree_view_widget.cpp:151:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long 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:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long 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:27: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long 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:26: 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:47: 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:85: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long 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:13: warning: unused variable 'v' [-Wunused-variable] 508 | variant* v = row_map_[selection].second; | ^ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long 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:17: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'const int' [-Wsign-compare] 632 | if(args.size() < min_args || args.size() > max_args) { | ~~~~~~~~~~~~^~~~~~~~~~ src/variant.cpp:632:43: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'const int' [-Wsign-compare] 632 | if(args.size() < min_args || args.size() > max_args) { | ~~~~~~~~~~~~^~~~~~~~~~ src/variant.cpp:640:32: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long 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:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long 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:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long 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:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long 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:26: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long 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:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long 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:21: 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:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long 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:25: warning: unused variable 'v' [-Wunused-variable] 1864 | foreach(const variant& v, variant().range()) { | ^ src/variant.cpp:1864:2: note: in expansion of macro 'foreach' 1864 | foreach(const variant& v, variant().range()) { | ^~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 242 | for(int n = 0; n != a.size(); ++n) { | ~~^~~~~~~~~~~ src/utility_query.cpp:256:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 256 | for(int n = a.size(); n < b.size(); ++n) { | ~~^~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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:14: warning: 'gui::vector_text::text_' will be initialized after [-Wreorder] 56 | std::string text_; | ^~~~~ src/vector_text.hpp:53:7: 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 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'screen_position::coins' will be initialized after [-Wreorder] 29 | int coins; | ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] 26 | int shake_x_offset,shake_y_offset; | ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: 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:6: warning: 'hex::hex_map::zorder_' will be initialized after [-Wreorder] 68 | int zorder_; | ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] 64 | size_t width_; | ^~~~~~ src/hex_map.hpp:26:2: 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:34: 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:44: 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:44: 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:54: 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:105: 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/utility_render_level.cpp: In function 'void UTILITY_render_level(const std::vector >&)': src/utility_render_level.cpp:36:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 36 | for(int n = 0; n != files.size(); ++n) { | ~~^~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:20: 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:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<{anonymous}::output_area>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 304 | for(int n = 0; n != output_areas.size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:34: 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:44: 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:44: 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:54: 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:105: 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/tile_map.cpp: In constructor 'tile_pattern::tile_pattern(variant, const string&)': src/tile_map.cpp:93:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long 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:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >*>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 455 | if(matches == re.size()) { | ~~~~~~~~^~~~~~~~~~~~ src/tile_map.cpp:461:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >*>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 461 | if(matches == re.size()) { | ~~~~~~~~^~~~~~~~~~~~ src/tile_map.cpp:466:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >*>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 466 | if(matches == re.size()) { | ~~~~~~~~^~~~~~~~~~~~ src/tile_map.cpp:490:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >*>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 490 | if(matches == re.size()) { | ~~~~~~~~^~~~~~~~~~~~ src/tile_map.cpp:496:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >*>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 496 | if(matches == re.size()) { | ~~~~~~~~^~~~~~~~~~~~ src/tile_map.cpp:501:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >*>::size_type' {aka 'long 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:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 576 | for(int n = 0; n != unique_tiles.size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~ src/tile_map.cpp:589:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long 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:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 615 | if(x < 0 || y < 0 || y >= map_.size() || x >= map_[y].size()) { | ~~^~~~~~~~~~~~~~ src/tile_map.cpp:615:45: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long 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:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 624 | if(x < 0 || y < 0 || y >= map_.size() || x >= map_[y].size()) { | ~~^~~~~~~~~~~~~~ src/tile_map.cpp:624:45: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long 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:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 661 | if(x < 0 || y < 0 || y >= variations_.size() || x >= variations_[y].size()) { | ~~^~~~~~~~~~~~~~~~~~~~~ src/tile_map.cpp:661:52: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long 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:7: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 678 | if(y >= variations_.size()) { | ~~^~~~~~~~~~~~~~~~~~~~~ src/tile_map.cpp:683:7: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long 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:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long 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:17: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 787 | if(row.size() > width) { | ~~~~~~~~~~~^~~~~~~ src/tile_map.cpp:800:9: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 800 | if(r && ypos < r->y() || r && ypos > r->y2()) { | ~~^~~~~~~~~~~~~~~~ src/tile_map.cpp:812:23: warning: unused variable 'obj' [-Wunused-variable] 812 | const level_object* obj = i->second; | ^~~ src/tile_map.cpp:836:8: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 836 | if(r && ypos < r->y() || r && ypos > r->y2()) { | ~~^~~~~~~~~~~~~~~~ src/tile_map.cpp:863:9: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 863 | if(r && xpos < r->x() || r && xpos > r->x2()) { | ~~^~~~~~~~~~~~~~~~ src/tile_map.cpp:876:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 876 | if(variation_num >= p->variations.size()) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ src/tile_map.cpp:783:12: 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:12: 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:17: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long unsigned int'} and 'const int' [-Wsign-compare] 1019 | if(map_.size() <= y) { | ~~~~~~~~~~~~^~~~ src/tile_map.cpp:1035:16: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'const int' [-Wsign-compare] 1035 | if(row.size() > x && row[x] == index) { | ~~~~~~~~~~~^~~ src/tile_map.cpp:1040:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'const int' [-Wsign-compare] 1040 | while(row.size() <= x) { | ~~~~~~~~~~~^~~~ src/tile_map.cpp:1047:8: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1047 | if (y < variations_.size() && x < variations_[y].size()) { | ~~^~~~~~~~~~~~~~~~~~~~ src/tile_map.cpp:1047:34: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector::size_type' {aka 'long 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:52: required from here src/point_map.hpp:29:13: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector::Row, std::allocator::Row> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 29 | if(index >= negative_rows_.size()) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/point_map.hpp:36:13: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector::Row, std::allocator::Row> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 36 | if(index >= positive_rows_.size()) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/point_map.hpp:45:13: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 45 | if(index >= row->negative_cells.size()) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/point_map.hpp:52:13: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector >::size_type' {aka 'long 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:97: required from here src/point_map.hpp:67:13: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector::Row, std::allocator::Row> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 67 | if(index >= negative_rows_.size()) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/point_map.hpp:74:13: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector::Row, std::allocator::Row> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 74 | if(index >= positive_rows_.size()) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/point_map.hpp:83:13: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 83 | if(index >= row->negative_cells.size()) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/point_map.hpp:90:13: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 90 | if(index >= row->positive_cells.size()) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:6: warning: 'gui::tooltip_item::font_size' will be initialized after [-Wreorder] 27 | int font_size; | ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::string gui::tooltip_item::text' [-Wreorder] 26 | std::string text; | ^~~~ src/tooltip.hpp:23:11: 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:19: warning: 'gui::widget::align_v_' will be initialized after [-Wreorder] 104 | VERTICAL_ALIGN align_v_; | ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] 87 | int true_x_; | ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] 101 | uint8_t disabled_opacity_; | ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] 90 | bool tooltip_displayed_; | ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 69 | widget() | ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] 98 | int zorder_; | ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] 93 | game_logic::formula_callable* environ_; | ^~~~~~~~ src/widget.hpp:69:2: 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:75: 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:6: 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:7: warning: 'gui::text_editor_widget::begin_enter_return_' will be initialized after [-Wreorder] 177 | bool begin_enter_return_; | ^~~~~~~~~~~~~~~~~~~ src/text_editor_widget.hpp:147:6: 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:7: warning: 'gui::text_editor_widget::begin_enter_return_' will be initialized after [-Wreorder] 177 | bool begin_enter_return_; | ^~~~~~~~~~~~~~~~~~~ src/text_editor_widget.hpp:147:6: 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:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 250 | if(select_.row >= text_.size()) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~ src/text_editor_widget.cpp:254:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 329 | for(int n = scroll_pos_; n < text_.size() && r < nrows_; ++n, ++r) { | ~~^~~~~~~~~~~~~~ src/text_editor_widget.cpp:337:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] 337 | for(int m = 0; m < text_[n].size(); ++m, ++c) { | ~~^~~~~~~~~~~~~~~~~ src/text_editor_widget.cpp:407:52: warning: comparison of integer expressions of different signedness: 'const int' and 'std::__cxx11::basic_string::size_type' {aka 'long 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:6: warning: unused variable 'begin_build' [-Wunused-variable] 323 | int begin_build = SDL_GetTicks(); | ^~~~~~~~~~~ src/text_editor_widget.cpp:413:12: 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:9: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 489 | if(row >= text_.size()) { | ~~~~^~~~~~~~~~~~~~~ src/text_editor_widget.cpp:493:9: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long 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:9: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long 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:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long 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:39: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 554 | if(text_.size() > 2 && cursor_.row < text_.size()-3) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/text_editor_widget.cpp:557:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] 705 | if(cursor_.col < text_[select_.row].size()) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/text_editor_widget.cpp:738:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] 738 | if(cursor_.col > text_[cursor_.row].size()) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/text_editor_widget.cpp:767:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] 767 | if(cursor_.col > text_[cursor_.row].size()) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/text_editor_widget.cpp:768:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 768 | if(cursor_.row == text_.size()-1) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ src/text_editor_widget.cpp:770:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 770 | } else if(cursor_.row < text_.size()-1) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/text_editor_widget.cpp:791:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 791 | if(cursor_.row < text_.size()-1) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/text_editor_widget.cpp:856:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] 856 | if(cursor_.col > text_[cursor_.row].size()) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/text_editor_widget.cpp:873:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] 873 | if(cursor_.col >= text_[cursor_.row].size()) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/text_editor_widget.cpp:874:21: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 874 | if(text_.size() > cursor_.row+1) { | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ src/text_editor_widget.cpp:952:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long 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:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1004 | if(begin.col > text_[begin.row].size()) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ src/text_editor_widget.cpp:1008:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long 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:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1038 | if(cursor_.col > text_[cursor_.row].size()) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/text_editor_widget.cpp:1042:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long 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:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:11: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1129 | if(row == n && col == m) { | ~~~~^~~~ src/text_editor_widget.cpp:1129:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1129 | if(row == n && col == m) { | ~~~~^~~~ src/text_editor_widget.cpp:1139:10: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long 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:8: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long 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:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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:77: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long 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:90: 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:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long 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:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long 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:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long 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:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1351 | if(cursor_.col > text_[cursor_.row].size()) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/text_editor_widget.cpp:1355:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long 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:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1400 | for(int n = 0; n != text_.size(); ++n) { | ~~^~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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.9756 + 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) Hardlinking identical .pyc and .pyo files 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.40051 + 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.HUBBox 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.9z5lKw 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, /lib64/ld-linux-x86-64.so.2, libGL.so.1()(64bit) >= set:pjdsnYMZlPIOXHH4ksAk5MYZ7fnZtSkQDmplWpqDCN3pdyrQiJiFBmkVl44NGEZnfJJ29TOZleHjsMBICBd8F44iD5QSeUNeBhdCwyWsDezZklo8EKpZcQc31amO4QUdKDHylTZiQMo0, libGLEW.so.2.2()(64bit) >= set:pjTPEI7u86tTfeffYoNS68uIPllI8Zztmw5I54zf2xm77xK4xK3uaeZ9I80z3bcVFQ8iDK7J4qIJ5oJrykOUb1oOQYwqSZcZy1FXXT049W6RQOtZd0D1PDimg4pf0CGE3dMdA66u7rxeQdjoDDy3s8, libGLU.so.1()(64bit) >= set:jiBA9, libSDL-1.2.so.0()(64bit) >= set:lfZpd6dfEWpAPmeDgMyjacWsMAFcnWUeCvzo7K8mF5S8DtYkuPNIQfayUZl5v4hYyNVCp7MnH3Kt99mnmLyefOsazBJIwXppPnlVUq9SA2z5DBZIwt6qHlY8TKf3fnWbl2o9qVFD9B2Cz2, libSDL_image-1.2.so.0()(64bit) >= set:jifK3, libSDL_mixer-1.2.so.0()(64bit) >= set:kfMSUHfEkJL3JrOfcrzhUEV4T87WpedToJE0yxIW2, libSDL_ttf-2.0.so.0()(64bit) >= set:jgUAJFwQRIkj0, libX11.so.6()(64bit) >= set:okJ5tfbmTzZlFTIE6owcFvpi3wI8S2wcwglWZjqG0, libc.so.6(GLIBC_2.11)(64bit), libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.15)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3.2)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.32)(64bit), libc.so.6(GLIBC_2.4)(64bit), libc.so.6(GLIBC_2.7)(64bit), libc.so.6(GLIBC_2.8)(64bit), libc.so.6(GLIBC_2.9)(64bit), libgcc_s.so.1(GCC_3.0)(64bit), libm.so.6(GLIBC_2.2.5)(64bit), libm.so.6(GLIBC_2.29)(64bit), libpng16.so.16()(64bit) >= set:lhHMiYgG4QJEYopg6hZuf7FmOWsszDn5nZ0bPUE0, libpng16.so.16(PNG16_0)(64bit), libpthread.so.0(GLIBC_2.2.5)(64bit), libpthread.so.0(GLIBC_2.3.2)(64bit), libpthread.so.0(GLIBC_2.3.3)(64bit), libstdc++.so.6(CXXABI_1.3)(64bit), libstdc++.so.6(CXXABI_1.3.11)(64bit), libstdc++.so.6(CXXABI_1.3.3)(64bit), libstdc++.so.6(CXXABI_1.3.9)(64bit), libstdc++.so.6(GLIBCXX_3.4)(64bit), libstdc++.so.6(GLIBCXX_3.4.11)(64bit), libstdc++.so.6(GLIBCXX_3.4.15)(64bit), libstdc++.so.6(GLIBCXX_3.4.20)(64bit), libstdc++.so.6(GLIBCXX_3.4.21)(64bit), libstdc++.so.6(GLIBCXX_3.4.26)(64bit), libstdc++.so.6(GLIBCXX_3.4.9)(64bit), libz.so.1()(64bit) >= set:kiuXOSqHAe1, libz.so.1(ZLIB_1.2.0)(64bit), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.vHCGaw Creating frogatto-debuginfo package Processing files: frogatto-gamedata-1.3.3-alt3_19 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.98855 + 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.ruxPLt 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.f38fEx 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.YNckJw find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.wQD3nv find-requires: running scripts (debuginfo) Requires: frogatto = 1.3.3-alt3_19, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libGL.so.1), debug64(libGLEW.so.2.2), debug64(libGLU.so.1), debug64(libSDL-1.2.so.0), debug64(libSDL_image-1.2.so.0), debug64(libSDL_mixer-1.2.so.0), debug64(libSDL_ttf-2.0.so.0), debug64(libX11.so.6), debug64(libc.so.6), debug64(libgcc_s.so.1), debug64(libm.so.6), debug64(libpng16.so.16), debug64(libpthread.so.0), debug64(libstdc++.so.6), debug64(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/x86_64/frogatto-1.3.3-alt3_19.x86_64.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/x86_64/frogatto-debuginfo-1.3.3-alt3_19.x86_64.rpm (w2T16.xzdio) 1065.15user 170.97system 4:26.72elapsed 463%CPU (0avgtext+0avgdata 873068maxresident)k 0inputs+0outputs (0major+20738294minor)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.x86_64.rpm: license not found in '/usr/share/license' directory: proprietary /.out/frogatto-debuginfo-1.3.3-alt3_19.x86_64.rpm: license not found in '/usr/share/license' directory: proprietary 5.11user 4.77system 5:05.69elapsed 3%CPU (0avgtext+0avgdata 128784maxresident)k 32inputs+0outputs (0major+337887minor)pagefaults 0swaps --- frogatto-1.3.3-alt3_19.x86_64.rpm.repo 2021-05-12 17:40:18.000000000 +0000 +++ frogatto-1.3.3-alt3_19.x86_64.rpm.hasher 2024-06-16 02:38:37.570535151 +0000 @@ -84,3 +84,3 @@ File: /usr/libexec/frogatto 40755 root:root -File: /usr/libexec/frogatto/game 100755 root:root 46d6a3f051ce96d4b4b39e0470b68c11 +File: /usr/libexec/frogatto/game 100755 root:root 1e674b57256265451420543d90107cd4 File: /usr/share/doc/frogatto-1.3.3 40755 root:root @@ -115,2 +115,2 @@ File: /usr/share/locale/zh_CN/LC_MESSAGES/frogatto.mo 100644 root:root a37f28674572b4748dd91716028e3635 -RPMIdentity: dbe4fd384b0fff0c90c87b0211bdef75c1756008818a6c4eaa836575e58a9d783248608e93cd665cbc53a65b72fa4eb9d39ee012328941961083836a79061d79 +RPMIdentity: 6e72398430d6969dcd776d99008e7b47bd9c62cdc74f5d01ff7fef0ece5bbd15f6f35c601252156e35ff23299bc0926a733f86faece909da42b189d6ea67bbbf --- frogatto-debuginfo-1.3.3-alt3_19.x86_64.rpm.repo 2021-05-12 17:40:18.000000000 +0000 +++ frogatto-debuginfo-1.3.3-alt3_19.x86_64.rpm.hasher 2024-06-16 02:38:38.109544370 +0000 @@ -1,4 +1,4 @@ -/usr/lib/debug/.build-id/ac 40755 root:root -/usr/lib/debug/.build-id/ac/a18a8b1d75ff85b7454dd62391ff377b850dc3 120777 root:root ../../../../libexec/frogatto/game -/usr/lib/debug/.build-id/ac/a18a8b1d75ff85b7454dd62391ff377b850dc3.debug 120777 root:root ../../usr/libexec/frogatto/game.debug +/usr/lib/debug/.build-id/f8 40755 root:root +/usr/lib/debug/.build-id/f8/4d07e8e50fb78fbf8732dad1c7e05c4d7654ee 120777 root:root ../../../../libexec/frogatto/game +/usr/lib/debug/.build-id/f8/4d07e8e50fb78fbf8732dad1c7e05c4d7654ee.debug 120777 root:root ../../usr/libexec/frogatto/game.debug /usr/lib/debug/usr/libexec/frogatto 40755 root:root @@ -383,7 +383,7 @@ Provides: frogatto-debuginfo = 1.3.3-alt3_19:sisyphus+271531.100.1.2 -File: /usr/lib/debug/.build-id/ac 40755 root:root -File: /usr/lib/debug/.build-id/ac/a18a8b1d75ff85b7454dd62391ff377b850dc3 120777 root:root ../../../../libexec/frogatto/game -File: /usr/lib/debug/.build-id/ac/a18a8b1d75ff85b7454dd62391ff377b850dc3.debug 120777 root:root ../../usr/libexec/frogatto/game.debug +File: /usr/lib/debug/.build-id/f8 40755 root:root +File: /usr/lib/debug/.build-id/f8/4d07e8e50fb78fbf8732dad1c7e05c4d7654ee 120777 root:root ../../../../libexec/frogatto/game +File: /usr/lib/debug/.build-id/f8/4d07e8e50fb78fbf8732dad1c7e05c4d7654ee.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 6ac607fba9cdfcfaf390956ad7d01653 +File: /usr/lib/debug/usr/libexec/frogatto/game.debug 100644 root:root 2fbf735a7142099275353c6a8014dc28 File: /usr/src/debug/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d 40755 root:root @@ -747,2 +747,2 @@ File: /usr/src/debug/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d/src/wml_formula_callable.hpp 100644 root:root d8f827a7b8d0d2b8b5a10e43ad3c0897 -RPMIdentity: 9bb15ed3af84882f47381f71adf258708387ea7700aa18b8812b5c1f93064042c6c5c69ab67b317d8512326bdaaa40eed90db0da8b0d8db2742ce92a1da19a83 +RPMIdentity: d8d9b3c11ba793e71adc3dc9130c951847b266c1018b4f6e54bf8e14ef7d3241e177c970167305676dfba9ddb761ff4fb7fe6eea56c31b061d9d64297eacba7f --- 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 2024-06-16 02:38:38.625553195 +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