<86>Jul 25 11:48:03 userdel[379478]: delete user 'rooter' <86>Jul 25 11:48:03 userdel[379478]: removed group 'rooter' owned by 'rooter' <86>Jul 25 11:48:03 userdel[379478]: removed shadow group 'rooter' owned by 'rooter' <86>Jul 25 11:48:03 groupadd[379486]: group added to /etc/group: name=rooter, GID=618 <86>Jul 25 11:48:03 groupadd[379486]: group added to /etc/gshadow: name=rooter <86>Jul 25 11:48:03 groupadd[379486]: new group: name=rooter, GID=618 <86>Jul 25 11:48:03 useradd[379493]: new user: name=rooter, UID=618, GID=618, home=/root, shell=/bin/bash <86>Jul 25 11:48:03 userdel[379504]: delete user 'builder' <86>Jul 25 11:48:03 userdel[379504]: removed group 'builder' owned by 'builder' <86>Jul 25 11:48:03 userdel[379504]: removed shadow group 'builder' owned by 'builder' <86>Jul 25 11:48:03 groupadd[379516]: group added to /etc/group: name=builder, GID=619 <86>Jul 25 11:48:03 groupadd[379516]: group added to /etc/gshadow: name=builder <86>Jul 25 11:48:03 groupadd[379516]: new group: name=builder, GID=619 <86>Jul 25 11:48:03 useradd[379524]: new user: name=builder, UID=619, GID=619, home=/usr/src, shell=/bin/bash <13>Jul 25 11:49:02 rpmi: libboost_system1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251275 installed <13>Jul 25 11:49:02 rpmi: libboost_thread1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251275 installed <13>Jul 25 11:49:02 rpmi: libpng16-1.6.36-alt1 sisyphus+219478.100.1.1 1547633314 installed <13>Jul 25 11:49:02 rpmi: libexpat-2.2.10-alt1 p9+261554.100.1.1 1605103337 installed <13>Jul 25 11:49:02 rpmi: libjpeg-2:2.0.2-alt1 sisyphus+226996.100.1.1 1554902907 installed <13>Jul 25 11:49:02 rpmi: libogg-1.3.4-alt1 p9+249556.100.1.1 1586300646 installed <13>Jul 25 11:49:02 rpmi: xorg-proto-devel-2021.4-alt1 p9+272150.100.1.1 1621427342 installed <13>Jul 25 11:49:02 rpmi: libglvnd-7:1.3.2-alt0.p9 p9+265957.240.8.1 1617618230 installed <13>Jul 25 11:49:02 rpmi: udev-rules-1:246.14-alt1 p9+279856.100.1.1 1626804740 installed <13>Jul 25 11:49:02 rpmi: libnl3-3.4.0-alt2 1507570088 installed <13>Jul 25 11:49:03 rpmi: libibverbs-30.0-alt3 p9+255465.100.1.1 1595874077 installed <13>Jul 25 11:49:03 rpmi: libopenblas-0.3.9-alt2 p9+274919.40.2.1 1624305327 installed <13>Jul 25 11:49:03 rpmi: librdmacm-30.0-alt3 p9+255465.100.1.1 1595874077 installed <13>Jul 25 11:49:03 rpmi: libflac8-1.3.3-alt1 p9+249557.100.1.1 1586302007 installed <13>Jul 25 11:49:03 rpmi: libvorbis-1.3.6-alt2 sisyphus+220072.200.2.2 1548744475 installed <13>Jul 25 11:49:03 rpmi: libboost_filesystem1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251275 installed <13>Jul 25 11:49:03 rpmi: libwayland-server-1.18.0-alt1 p9+260591.100.12.1 1606212861 installed <13>Jul 25 11:49:03 rpmi: libnuma-2.0.11-alt1 1450022594 installed <13>Jul 25 11:49:03 rpmi: libibumad-30.0-alt3 p9+255465.100.1.1 1595874077 installed <13>Jul 25 11:49:03 rpmi: libmnl-1.0.4-alt2 sisyphus+220683.100.1.1 1549335457 installed <13>Jul 25 11:49:03 rpmi: libiptables-1.8.3-alt2 p9+238412.300.6.1 1570110173 installed <13>Jul 25 11:49:03 rpmi: libidn2-2.2.0-alt1 p9+229971.100.2.1 1558696281 installed <13>Jul 25 11:49:03 rpmi: libdevmapper-1.02.173-alt1 p9+259866.100.1.1 1602632335 installed <13>Jul 25 11:49:03 rpmi: msulogin-1.0-alt1 1366288515 installed <13>Jul 25 11:49:03 rpmi: mount-2.33.2-alt2 p9+254003.100.1.1 1593108043 installed <13>Jul 25 11:49:03 rpmi: liblz4-1:1.9.2-alt1 p9+238696.500.1.1 1570228299 installed <13>Jul 25 11:49:03 rpmi: boost-python-headers-1:1.67.0-alt6 p9+247371.116100.170.1 1592251712 installed <13>Jul 25 11:49:03 rpmi: libboost_context1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251275 installed <13>Jul 25 11:49:03 rpmi: libboost_python1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251275 installed <13>Jul 25 11:49:03 rpmi: libquadmath0-8.4.1-alt0.p9.1 p9+247559.100.2.1 1585587912 installed <13>Jul 25 11:49:03 rpmi: libgfortran5-8.4.1-alt0.p9.1 p9+247559.100.2.1 1585587912 installed <13>Jul 25 11:49:03 rpmi: libboost_serialization1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251275 installed <13>Jul 25 11:49:04 rpmi: libicu65-1:6.5.1-alt2 p9+270410.100.1.1 1619007231 installed <13>Jul 25 11:49:04 rpmi: libboost_regex1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251275 installed <13>Jul 25 11:49:04 rpmi: libboost_graph1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251275 installed <13>Jul 25 11:49:04 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Jul 25 11:49:04 rpmi: libboost_log1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251275 installed <13>Jul 25 11:49:04 rpmi: libboost_locale1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251275 installed <13>Jul 25 11:49:04 rpmi: libquadmath8-devel-8.4.1-alt0.p9.1 p9+247559.100.2.1 1585587912 installed <13>Jul 25 11:49:04 rpmi: libboost_mpi_python1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251275 installed <13>Jul 25 11:49:04 rpmi: libboost_fiber1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251275 installed <13>Jul 25 11:49:04 rpmi: libboost_coroutine1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251275 installed <13>Jul 25 11:49:04 rpmi: sysvinit-2.88-alt5 1424350686 installed <13>Jul 25 11:49:04 rpmi: libnetlink-5.3.0-alt1 p9+238696.600.1.1 1570228364 installed <13>Jul 25 11:49:04 rpmi: libibmad-30.0-alt3 p9+255465.100.1.1 1595874077 installed <13>Jul 25 11:49:04 rpmi: libibnetdisc-30.0-alt3 p9+255465.100.1.1 1595874077 installed <13>Jul 25 11:49:04 rpmi: libnuma-devel-2.0.11-alt1 1450022594 installed <13>Jul 25 11:49:04 rpmi: libOpenGL-7:1.3.2-alt0.p9 p9+265957.240.8.1 1617618230 installed <13>Jul 25 11:49:04 rpmi: libjasper-2.0.22-alt1 p9+259398.100.5.1 1602695044 installed <13>Jul 25 11:49:04 rpmi: libicns-0.7.1-alt1.2 sisyphus+223351.100.1.1 1551468904 installed <13>Jul 25 11:49:04 rpmi: libboost_type_erasure1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251275 installed <13>Jul 25 11:49:05 rpmi: libboost_wave1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251275 installed <13>Jul 25 11:49:05 rpmi: libboost_atomic1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251275 installed <13>Jul 25 11:49:05 rpmi: libboost_contract1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251275 installed <13>Jul 25 11:49:05 rpmi: libboost_random1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251275 installed <13>Jul 25 11:49:05 rpmi: libboost_chrono1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251275 installed <13>Jul 25 11:49:05 rpmi: libboost_timer1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251275 installed <13>Jul 25 11:49:05 rpmi: perl-Term-Cap-1.17-alt1 1445018869 installed <13>Jul 25 11:49:05 rpmi: perl-Term-ANSIColor-4.06-alt1 1479407083 installed <13>Jul 25 11:49:05 rpmi: perl-Pod-Escapes-1.07-alt1 1418767892 installed <13>Jul 25 11:49:05 rpmi: perl-Filter-1.59-alt1.1 sisyphus+219907.400.1.1 1548343389 installed <13>Jul 25 11:49:05 rpmi: perl-Encode-3.01-alt1 sisyphus+224923.100.1.1 1552474122 installed <13>Jul 25 11:49:05 rpmi: perl-Pod-Simple-3.35-alt1 1482098090 installed <13>Jul 25 11:49:05 rpmi: perl-Pod-Usage-1.69-alt1 1464274721 installed <13>Jul 25 11:49:05 rpmi: perl-podlators-4.11-alt1 1525935408 installed <13>Jul 25 11:49:05 rpmi: zlib-devel-1.2.11-alt1 sisyphus+221902.6000.4.1 1550601058 installed <13>Jul 25 11:49:05 rpmi: libgraphite2-1.3.13-alt2 sisyphus+226799.100.1.1 1554648241 installed <13>Jul 25 11:49:05 rpmi: libharfbuzz-2.6.2-alt1 p9+277458.500.1.1 1625577176 installed <13>Jul 25 11:49:05 rpmi: libfreetype-2.10.1-alt1.1.p9.1 p9+260179.200.3.1 1603971407 installed <13>Jul 25 11:49:05 rpmi: libmad-0.15.1b-alt9 sisyphus+222614.100.1.1 1550890149 installed <13>Jul 25 11:49:05 rpmi: timidity-instruments-1:1.0-alt1 1166705614 installed <13>Jul 25 11:49:05 rpmi: libwebp7-1.0.3-alt1 p9+234901.200.1.1 1563552457 installed <13>Jul 25 11:49:05 rpmi: libjbig-2.1-alt1 1401380926 installed <13>Jul 25 11:49:05 rpmi: libtiff5-4.0.10.0.57.f9fc01c3-alt1 sisyphus+226958.100.1.1 1554850940 installed <13>Jul 25 11:49:05 rpmi: libopus-1.3.1-alt3 p9+247689.300.3.1 1584537501 installed <13>Jul 25 11:49:05 rpmi: libgsm-1.0.17-alt1 1523356165 installed <13>Jul 25 11:49:05 rpmi: libsndfile-1.0.30-alt2 p9+262916.200.2.1 1607353719 installed <13>Jul 25 11:49:05 rpmi: libasyncns-0.8-alt2.qa1 1365949820 installed <13>Jul 25 11:49:05 rpmi: libxshmfence-1.3-alt1 sisyphus+223149.1000.2.1 1551268571 installed <13>Jul 25 11:49:05 rpmi: libX11-locales-3:1.7.2-alt1 p9+273972.100.2.1 1623924318 installed <13>Jul 25 11:49:05 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949353 installed <13>Jul 25 11:49:05 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268152 installed <13>Jul 25 11:49:05 rpmi: libxcb-1.13.1-alt1 sisyphus+226527.100.2.2 1554593801 installed <13>Jul 25 11:49:05 rpmi: libX11-3:1.7.2-alt1 p9+273972.100.2.1 1623924397 installed <13>Jul 25 11:49:05 rpmi: libXext-1.3.4-alt1 sisyphus+225206.700.1.2 1552949429 installed <13>Jul 25 11:49:05 rpmi: libXxf86vm-1.1.4-alt2 1527672187 installed <13>Jul 25 11:49:05 rpmi: libXfixes-5.0.3-alt1 sisyphus+226736.100.2.2 1554614841 installed <13>Jul 25 11:49:05 rpmi: libXrender-0.9.10-alt1 p9+261891.200.2.1 1606149111 installed <13>Jul 25 11:49:05 rpmi: libXrandr-1.5.2-alt1 sisyphus+225206.1300.1.2 1552949710 installed <13>Jul 25 11:49:07 rpmi: libxcb-devel-1.13.1-alt1 sisyphus+226527.100.2.2 1554593801 installed <13>Jul 25 11:49:08 rpmi: libX11-devel-3:1.7.2-alt1 p9+273972.100.2.1 1623924397 installed <13>Jul 25 11:49:08 rpmi: libwayland-client-1.18.0-alt1 p9+260591.100.12.1 1606212861 installed <13>Jul 25 11:49:08 rpmi: libpciaccess-1:0.14-alt1 1528969252 installed <13>Jul 25 11:49:08 rpmi: libdrm-1:2.4.105-alt2 p9+271012.100.1.1 1619786697 installed <13>Jul 25 11:49:08 rpmi: libGLX-mesa-4:21.0.3-alt1 p9+271012.200.3.1 1621244977 installed <13>Jul 25 11:49:08 rpmi: libGLX-7:1.3.2-alt0.p9 p9+265957.240.8.1 1617618230 installed <13>Jul 25 11:49:08 rpmi: libGL-7:1.3.2-alt0.p9 p9+265957.240.8.1 1617618230 installed <13>Jul 25 11:49:08 rpmi: libGLU-4:9.0.1-alt1 p9+251991.3000.19.1 1590835916 installed <13>Jul 25 11:49:08 rpmi: libGLEW2.1-2.1.0-alt4 sisyphus+226787.100.1.1 1554586973 installed <13>Jul 25 11:49:08 rpmi: libgbm-4:21.0.3-alt1 p9+271012.200.3.1 1621244977 installed <13>Jul 25 11:49:08 rpmi: libEGL-mesa-4:21.0.3-alt1 p9+271012.200.3.1 1621244977 installed <13>Jul 25 11:49:08 rpmi: libEGL-7:1.3.2-alt0.p9 p9+265957.240.8.1 1617618230 installed <13>Jul 25 11:49:08 rpmi: libglvnd-devel-7:1.3.2-alt0.p9 p9+265957.240.8.1 1617618230 installed <13>Jul 25 11:49:08 rpmi: libGLU-devel-4:9.0.1-alt1 p9+251991.3000.19.1 1590835916 installed <13>Jul 25 11:49:08 rpmi: libEGL-devel-4:21.0.3-alt1 p9+271012.200.3.1 1621244977 installed <13>Jul 25 11:49:08 rpmi: libGL-devel-4:21.0.3-alt1 p9+271012.200.3.1 1621244977 installed <13>Jul 25 11:49:08 rpmi: libboost_signals1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251275 installed <13>Jul 25 11:49:08 rpmi: libboost_program_options1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251275 installed <13>Jul 25 11:49:08 rpmi: libboost_math_tr1l1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251275 installed <13>Jul 25 11:49:08 rpmi: libboost_math_tr1f1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251275 installed <13>Jul 25 11:49:08 rpmi: libboost_math_tr11.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251275 installed <13>Jul 25 11:49:08 rpmi: libboost_math_c99l1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251275 installed <13>Jul 25 11:49:08 rpmi: libboost_math_c99f1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251275 installed <13>Jul 25 11:49:08 rpmi: libboost_math_c991.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251275 installed <13>Jul 25 11:49:08 rpmi: tcsh-6.20.00-alt2 1503603381 installed <13>Jul 25 11:49:08 rpmi: rpm-macros-mpi-selector-1.0.3-alt3 1504498675 installed <13>Jul 25 11:49:08 rpmi: mpi-selector-1.0.3-alt3 1504498675 installed <13>Jul 25 11:49:08 rpmi: openmpi-2.0.1-alt7 sisyphus+223725.100.1.1 1551851585 installed <13>Jul 25 11:49:08 rpmi: libboost_mpi1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251275 installed <13>Jul 25 11:49:08 rpmi: libboost_graph_parallel1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251275 installed <13>Jul 25 11:49:08 rpmi: udev-hwdb-1:246.14-alt1 p9+279856.100.1.1 1626804740 installed <13>Jul 25 11:49:08 rpmi: hashalot-0.3-alt1.qa1 1366323553 installed <13>Jul 25 11:49:08 rpmi: losetup-2.33.2-alt2 p9+254003.100.1.1 1593108043 installed <13>Jul 25 11:49:08 rpmi: lsblk-2.33.2-alt2 p9+254003.100.1.1 1593108043 installed <13>Jul 25 11:49:08 rpmi: libpci-3.7.0-alt1 p9+253477.100.2.1 1592498099 installed <13>Jul 25 11:49:08 rpmi: pciids-20210705-alt1 p9+277420.100.1.1 1625548039 installed <13>Jul 25 11:49:08 rpmi: pciutils-3.7.0-alt1 p9+253477.100.2.1 1592498099 installed <13>Jul 25 11:49:08 rpmi: libatm-2.5.1-alt6 p9+263604.300.3.1 1608575714 installed <13>Jul 25 11:49:08 rpmi: chrooted-0.3.11-alt1 p9+249340.100.2.1 1586263298 installed <13>Jul 25 11:49:08 rpmi: chrooted-resolv-0.3.1-alt2 1176155250 installed <13>Jul 25 11:49:09 rpmi: libpcre2-10.33-alt1.1 sisyphus+227856.100.1.2 1555786378 installed <13>Jul 25 11:49:09 rpmi: libjson-c4-0.13.1-alt2 p9+254507.100.1.1 1593876142 installed <13>Jul 25 11:49:09 rpmi: libargon2-20190702-alt1 p9+235535.100.1.1 1565051987 installed <13>Jul 25 11:49:09 rpmi: hwclock-1:2.33.2-alt2 p9+254003.100.1.1 1593108043 installed <13>Jul 25 11:49:09 rpmi: libgpg-error-1.36-alt1 p9+261942.140.4.1 1606237675 installed <13>Jul 25 11:49:09 rpmi: libgcrypt20-1.8.5-alt3 p9+261942.200.4.1 1606237923 installed <13>Jul 25 11:49:09 rpmi: libsystemd-1:246.14-alt1 p9+279856.100.1.1 1626804758 installed <13>Jul 25 11:49:09 rpmi: libdbus-1.12.16-alt2 p9+240607.100.1.1 1573553687 installed <13>Jul 25 11:49:09 rpmi: libpulseaudio-14.2-alt5 p9+275574.200.4.1 1625043993 installed <13>Jul 25 11:49:09 rpmi: libmikmod-3.3.11.1-alt2 1502706814 installed <13>Jul 25 11:49:09 rpmi: gcc-fortran-common-1.4.23-alt1 sisyphus+221902.2500.4.1 1550596716 installed <13>Jul 25 11:49:09 rpmi: libgfortran8-devel-8.4.1-alt0.p9.1 p9+247559.100.2.1 1585587912 installed <13>Jul 25 11:49:10 rpmi: gcc8-fortran-8.4.1-alt0.p9.1 p9+247559.100.2.1 1585587912 installed <13>Jul 25 11:49:10 rpmi: gcc-fortran-8-alt2 p9+246536.100.3.1 1582643803 installed <13>Jul 25 11:49:10 rpmi: gcc-c++-common-1.4.23-alt1 sisyphus+221902.2500.4.1 1550596716 installed <13>Jul 25 11:49:11 rpmi: libstdc++8-devel-8.4.1-alt0.p9.1 p9+247559.100.2.1 1585587912 installed <13>Jul 25 11:49:12 rpmi: gcc8-c++-8.4.1-alt0.p9.1 p9+247559.100.2.1 1585587912 installed <13>Jul 25 11:49:12 rpmi: gcc-c++-8-alt2 p9+246536.100.3.1 1582643803 installed <13>Jul 25 11:49:12 rpmi: libboost_stacktrace1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251275 installed <13>Jul 25 11:49:12 rpmi: libnumpy-py3-1:1.15.4-alt5 p9+255957.40.47.1 1599835883 installed <13>Jul 25 11:49:12 rpmi: libnumpy-1:1.15.4-alt5 p9+255957.40.47.1 1599835883 installed <13>Jul 25 11:49:12 rpmi: libxblas-1.0.248-alt1.3 sisyphus+229150.100.1.1 1557388786 installed <13>Jul 25 11:49:12 rpmi: liblapack-1:3.8.0-alt3 sisyphus+221521.100.1.1 1550134903 installed <13>Jul 25 11:49:12 rpmi: libboost_test1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251275 installed <13>Jul 25 11:49:12 rpmi: libboost_iostreams1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251275 installed <13>Jul 25 11:49:12 rpmi: libboost_date_time1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251275 installed <13>Jul 25 11:49:12 rpmi: libboost_container1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251275 installed <13>Jul 25 11:49:12 rpmi: alsa-ucm-conf-1.2.4-alt1 p9+250722.2300.14.1 1614269485 installed <13>Jul 25 11:49:12 rpmi: alsa-topology-conf-1.2.4-alt1 p9+250722.2200.14.1 1614269467 installed <13>Jul 25 11:49:12 rpmi: libalsa-1:1.2.4-alt1 p9+250722.2400.14.1 1614269556 installed <13>Jul 25 11:49:12 rpmi: libSDL-1.2.14-alt8 p9+232634.100.1.1 1560964518 installed <13>Jul 25 11:49:13 rpmi: libSDL-devel-1.2.14-alt8 p9+232634.100.1.1 1560964518 installed <13>Jul 25 11:49:13 rpmi: libSDL_image-1.2.12-alt2 sisyphus+223384.100.1.1 1551514520 installed <13>Jul 25 11:49:13 rpmi: libSDL_mixer-1.2.12-alt1 1421435874 installed <13>Jul 25 11:49:13 rpmi: libSDL_ttf-2.0.10-alt2 1314052177 installed <13>Jul 25 11:49:13 rpmi: python-modules-curses-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Jul 25 11:49:13 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Jul 25 11:49:13 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Jul 25 11:49:13 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed <13>Jul 25 11:49:13 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512089 installed <13>Jul 25 11:49:13 rpmi: libp11-kit-0.23.15-alt2 p9+254920.2400.19.1 1601385903 installed <13>Jul 25 11:49:13 rpmi: libtasn1-4.14-alt1 p9+235792.100.2.1 1565425233 installed <13>Jul 25 11:49:13 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jul 25 11:49:13 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jul 25 11:49:13 rpmi: ca-certificates-2020.06.29-alt1 p9+258899.100.3.1 1601998604 installed <13>Jul 25 11:49:13 rpmi: ca-trust-0.1.2-alt1 p9+233349.100.1.1 1561655062 installed <13>Jul 25 11:49:13 rpmi: p11-kit-trust-0.23.15-alt2 p9+254920.2400.19.1 1601385903 installed <13>Jul 25 11:49:13 rpmi: libcrypto1.1-1.1.1k-alt1 p9+268376.100.3.1 1616721011 installed <13>Jul 25 11:49:13 rpmi: libssl1.1-1.1.1k-alt1 p9+268376.100.3.1 1616721011 installed <13>Jul 25 11:49:13 rpmi: libpython3-3.7.4-alt3 p9+249932.100.2.1 1587127349 installed <13>Jul 25 11:49:13 rpmi: python3-3.7.4-alt3 p9+249932.100.2.1 1587127349 installed <13>Jul 25 11:49:14 rpmi: python3-base-3.7.4-alt3 p9+249932.100.2.1 1587127349 installed <13>Jul 25 11:49:14 rpmi: libkmod-26-alt1 sisyphus+226359.100.1.1 1554129990 installed <13>Jul 25 11:49:14 rpmi: kmod-26-alt1 sisyphus+226359.100.1.1 1554129990 installed <13>Jul 25 11:49:15 rpmi: python3-module-numpy-1:1.15.4-alt5 p9+255957.40.47.1 1599835883 installed <13>Jul 25 11:49:15 rpmi: libboost_python3-1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251275 installed <13>Jul 25 11:49:15 rpmi: libboost_numpy3-1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251275 installed <13>Jul 25 11:49:15 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Jul 25 11:49:15 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Jul 25 11:49:15 rpmi: python3-dev-3.7.4-alt3 p9+249932.100.2.1 1587127349 installed <13>Jul 25 11:49:15 rpmi: libcryptsetup-2.3.3-alt1 p9+252585.100.1.1 1590914370 installed <13>Jul 25 11:49:15 rpmi: startup-0.9.9.10-alt1 p9+263519.100.1.1 1608121516 installed <13>Jul 25 11:49:15 rpmi: systemd-utils-1:246.14-alt1 p9+279856.100.1.1 1626804758 installed <13>Jul 25 11:49:15 rpmi: dmsetup-1.02.173-alt1 p9+259866.100.1.1 1602632335 installed <86>Jul 25 11:49:15 groupadd[432902]: group added to /etc/group: name=tape, GID=499 <86>Jul 25 11:49:15 groupadd[432902]: group added to /etc/gshadow: name=tape <86>Jul 25 11:49:15 groupadd[432902]: new group: name=tape, GID=499 <86>Jul 25 11:49:15 groupadd[432915]: group added to /etc/group: name=dialout, GID=498 <86>Jul 25 11:49:15 groupadd[432915]: group added to /etc/gshadow: name=dialout <86>Jul 25 11:49:15 groupadd[432915]: new group: name=dialout, GID=498 <86>Jul 25 11:49:15 groupadd[432931]: group added to /etc/group: name=input, GID=497 <86>Jul 25 11:49:15 groupadd[432931]: group added to /etc/gshadow: name=input <86>Jul 25 11:49:15 groupadd[432931]: new group: name=input, GID=497 <86>Jul 25 11:49:15 groupadd[432943]: group added to /etc/group: name=video, GID=496 <86>Jul 25 11:49:15 groupadd[432943]: group added to /etc/gshadow: name=video <86>Jul 25 11:49:15 groupadd[432943]: new group: name=video, GID=496 <86>Jul 25 11:49:15 groupadd[432958]: group added to /etc/group: name=render, GID=495 <86>Jul 25 11:49:15 groupadd[432958]: group added to /etc/gshadow: name=render <86>Jul 25 11:49:15 groupadd[432958]: new group: name=render, GID=495 <86>Jul 25 11:49:15 groupadd[432967]: group added to /etc/group: name=vmusers, GID=494 <86>Jul 25 11:49:15 groupadd[432967]: group added to /etc/gshadow: name=vmusers <86>Jul 25 11:49:15 groupadd[432967]: new group: name=vmusers, GID=494 <13>Jul 25 11:49:15 rpmi: udev-1:246.14-alt1 p9+279856.100.1.1 1626804758 installed <86>Jul 25 11:49:15 groupadd[433063]: group added to /etc/group: name=iputils, GID=493 <86>Jul 25 11:49:15 groupadd[433063]: group added to /etc/gshadow: name=iputils <86>Jul 25 11:49:15 groupadd[433063]: new group: name=iputils, GID=493 <86>Jul 25 11:49:15 useradd[433078]: new user: name=iputils, UID=499, GID=493, home=/dev/null, shell=/dev/null <86>Jul 25 11:49:15 groupadd[433095]: group added to /etc/group: name=netadmin, GID=492 <86>Jul 25 11:49:15 groupadd[433095]: group added to /etc/gshadow: name=netadmin <86>Jul 25 11:49:15 groupadd[433095]: new group: name=netadmin, GID=492 <13>Jul 25 11:49:15 rpmi: iputils-20190709-alt1.1.p9 p9+252615.100.1.1 1590951917 installed sysctl: cannot stat /proc/sys/net/ipv4/ping_group_range: No such file or directory <13>Jul 25 11:49:15 rpmi: iproute2-5.3.0-alt1 p9+238696.600.1.1 1570228364 installed <13>Jul 25 11:49:15 rpmi: rdma-core-30.0-alt3 p9+255465.100.1.1 1595874077 installed <13>Jul 25 11:49:15 rpmi: ibacm-30.0-alt3 p9+255465.100.1.1 1595874077 installed <13>Jul 25 11:49:15 rpmi: rdma-core-devel-30.0-alt3 p9+255465.100.1.1 1595874077 installed <13>Jul 25 11:49:16 rpmi: openmpi-devel-2.0.1-alt7 sisyphus+223725.100.1.1 1551851585 installed <13>Jul 25 11:49:16 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <86>Jul 25 11:49:16 groupadd[433679]: group added to /etc/group: name=_keytab, GID=491 <86>Jul 25 11:49:16 groupadd[433679]: group added to /etc/gshadow: name=_keytab <86>Jul 25 11:49:16 groupadd[433679]: new group: name=_keytab, GID=491 <13>Jul 25 11:49:16 rpmi: libkrb5-1.17.2-alt1 p9+262110.100.3.1 1606242416 installed <13>Jul 25 11:49:16 rpmi: libtirpc-1.0.3-alt1 1532008017 installed <13>Jul 25 11:49:16 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed <13>Jul 25 11:49:16 rpmi: python-modules-compiler-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Jul 25 11:49:16 rpmi: python-modules-email-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Jul 25 11:49:16 rpmi: python-modules-unittest-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Jul 25 11:49:16 rpmi: python-modules-encodings-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Jul 25 11:49:16 rpmi: python-modules-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Jul 25 11:49:16 rpmi: python-modules-nis-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Jul 25 11:49:16 rpmi: python-modules-xml-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Jul 25 11:49:16 rpmi: python-modules-hotshot-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Jul 25 11:49:16 rpmi: python-modules-bsddb-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Jul 25 11:49:16 rpmi: python-modules-ctypes-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Jul 25 11:49:16 rpmi: python-modules-multiprocessing-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Jul 25 11:49:16 rpmi: python-modules-logging-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Jul 25 11:49:16 rpmi: python-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Jul 25 11:49:16 rpmi: python-modules-distutils-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Jul 25 11:49:16 rpmi: python-strict-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Jul 25 11:49:17 rpmi: python-module-numpy-1:1.15.4-alt5 p9+255957.40.47.1 1599835883 installed <13>Jul 25 11:49:17 rpmi: libboost_numpy1.67.0-1:1.67.0-alt6 p9+247371.116100.170.1 1592251275 installed <13>Jul 25 11:49:19 rpmi: boost-devel-headers-1:1.67.0-alt6 p9+247371.116100.170.1 1592251712 installed <13>Jul 25 11:49:19 rpmi: boost-devel-1:1.67.0-alt6 p9+247371.116100.170.1 1592251275 installed <13>Jul 25 11:49:19 rpmi: boost-asio-devel-1:1.67.0-alt6 p9+247371.116100.170.1 1592251712 installed <13>Jul 25 11:49:19 rpmi: boost-context-devel-1:1.67.0-alt6 p9+247371.116100.170.1 1592251275 installed <13>Jul 25 11:49:19 rpmi: boost-coroutine-devel-1:1.67.0-alt6 p9+247371.116100.170.1 1592251275 installed <13>Jul 25 11:49:19 rpmi: boost-interprocess-devel-1:1.67.0-alt6 p9+247371.116100.170.1 1592251712 installed <13>Jul 25 11:49:19 rpmi: boost-flyweight-devel-1:1.67.0-alt6 p9+247371.116100.170.1 1592251712 installed <13>Jul 25 11:49:19 rpmi: boost-polygon-devel-1:1.67.0-alt6 p9+247371.116100.170.1 1592251712 installed <13>Jul 25 11:49:19 rpmi: boost-geometry-devel-1:1.67.0-alt6 p9+247371.116100.170.1 1592251712 installed <13>Jul 25 11:49:19 rpmi: boost-locale-devel-1:1.67.0-alt6 p9+247371.116100.170.1 1592251275 installed <13>Jul 25 11:49:19 rpmi: boost-lockfree-devel-1:1.67.0-alt6 p9+247371.116100.170.1 1592251712 installed <13>Jul 25 11:49:19 rpmi: boost-log-devel-1:1.67.0-alt6 p9+247371.116100.170.1 1592251275 installed <13>Jul 25 11:49:19 rpmi: boost-math-devel-1:1.67.0-alt6 p9+247371.116100.170.1 1592251275 installed <13>Jul 25 11:49:19 rpmi: boost-msm-devel-1:1.67.0-alt6 p9+247371.116100.170.1 1592251712 installed <13>Jul 25 11:49:19 rpmi: boost-multiprecision-devel-1:1.67.0-alt6 p9+247371.116100.170.1 1592251712 installed <13>Jul 25 11:49:19 rpmi: boost-program_options-devel-1:1.67.0-alt6 p9+247371.116100.170.1 1592251275 installed <13>Jul 25 11:49:19 rpmi: boost-python3-devel-1:1.67.0-alt6 p9+247371.116100.170.1 1592251275 installed <13>Jul 25 11:49:19 rpmi: boost-signals-devel-1:1.67.0-alt6 p9+247371.116100.170.1 1592251275 installed <13>Jul 25 11:49:19 rpmi: boost-filesystem-devel-1:1.67.0-alt6 p9+247371.116100.170.1 1592251275 installed <13>Jul 25 11:49:19 rpmi: boost-wave-devel-1:1.67.0-alt6 p9+247371.116100.170.1 1592251275 installed <13>Jul 25 11:49:19 rpmi: libnsl2-devel-1.1.0-alt1_1 1511548749 installed <13>Jul 25 11:49:19 rpmi: python-dev-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Jul 25 11:49:19 rpmi: boost-python-devel-1:1.67.0-alt6 p9+247371.116100.170.1 1592251275 installed <13>Jul 25 11:49:19 rpmi: boost-mpi-devel-1:1.67.0-alt6 p9+247371.116100.170.1 1592251275 installed <13>Jul 25 11:49:19 rpmi: boost-graph-parallel-devel-1:1.67.0-alt6 p9+247371.116100.170.1 1592251275 installed <13>Jul 25 11:49:19 rpmi: boost-complete-1:1.67.0-alt6 p9+247371.116100.170.1 1592251712 installed <13>Jul 25 11:49:19 rpmi: libSDL_ttf-devel-2.0.10-alt2 1314052177 installed <13>Jul 25 11:49:19 rpmi: libSDL_mixer-devel-1.2.12-alt1 1421435874 installed <13>Jul 25 11:49:19 rpmi: libSDL_image-devel-1.2.12-alt2 sisyphus+223384.100.1.1 1551514520 installed <13>Jul 25 11:49:19 rpmi: libGLEW-devel-2.1.0-alt4 sisyphus+226787.100.1.1 1554586973 installed <13>Jul 25 11:49:19 rpmi: libpng-devel-1.6.36-alt1 sisyphus+219478.100.1.1 1547633314 installed <13>Jul 25 11:49:19 rpmi: libicns-utils-0.7.1-alt1.2 sisyphus+223351.100.1.1 1551468904 installed <13>Jul 25 11:49:19 rpmi: desktop-file-utils-0.23-alt2 sisyphus+226879.100.1.1 1554744356 installed <13>Jul 25 11:49:19 rpmi: ccache-3.4.2-alt2 1534161052 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/frogatto-1.3.3-alt2_13.nosrc.rpm (w1.gzdio) Installing frogatto-1.3.3-alt2_13.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.64413 + 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 + sed -i 's!"./locale/"!"/usr/share/locale/"!' src/i18n.cpp + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.53449 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d + make -j8 'BASE_CXXFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing' make: Entering directory '/usr/src/RPM/BUILD/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d' ccache g++ \ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 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 'unsigned int'} [-Wsign-compare] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 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] threading::lock(*completed_tasks_mutex); ^ src/background_task_pool.cpp:31:19: warning: unused variable 'completed_tasks_mutex' [-Wunused-variable] 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] threading::lock(*completed_tasks_mutex); ^ src/background_task_pool.cpp:60:20: warning: unused variable 'completed_tasks_mutex' [-Wunused-variable] threading::lock(*completed_tasks_mutex); ^~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 'unsigned int'} [-Wsign-compare] 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] int coins; ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] int shake_x_offset,shake_y_offset; ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: warning: when initialized here [-Wreorder] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 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] int zorder_; ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] size_t width_; ^~~~~~ src/hex_map.hpp:26:2: warning: when initialized here [-Wreorder] 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] 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] 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] 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] 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] 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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 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] 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] 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] 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] for(i=0;ih;i++){ ~^~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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:41: warning: array subscript has type 'char' [-Wchar-subscripts] unsigned long nn = (_base64inv[in[0]] << 18) | (_base64inv[in[1]] << 12) ^ src/base64.cpp:105:69: warning: array subscript has type 'char' [-Wchar-subscripts] unsigned long nn = (_base64inv[in[0]] << 18) | (_base64inv[in[1]] << 12) ^ src/base64.cpp:106:28: warning: array subscript has type 'char' [-Wchar-subscripts] | (_base64inv[in[2]] << 6) | (_base64inv[in[3]]); ^ src/base64.cpp:106:55: warning: array subscript has type 'char' [-Wchar-subscripts] | (_base64inv[in[2]] << 6) | (_base64inv[in[3]]); ^ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 'unsigned int'} [-Wsign-compare] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 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 'unsigned int'} [-Wsign-compare] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 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] int coins; ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] int shake_x_offset,shake_y_offset; ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: warning: when initialized here [-Wreorder] 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] int zorder_; ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] size_t width_; ^~~~~~ src/hex_map.hpp:26:2: warning: when initialized here [-Wreorder] 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] 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] 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] 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] 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] 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] 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] 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] if(y2 > image_texture.height()) { ~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/animation_preview_widget.cpp:451:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 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] 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] 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] 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] N src_; ^~~~ src/pathfinding.hpp:82:4: warning: 'decimal pathfinding::graph_node::f_' [-Wreorder] T f_, g_, h_; ^~ src/pathfinding.hpp:42:2: warning: when initialized here [-Wreorder] 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] N src_; ^~~~ src/pathfinding.hpp:82:4: warning: 'int pathfinding::graph_node::f_' [-Wreorder] T f_, g_, h_; ^~ src/pathfinding.hpp:42:2: warning: when initialized here [-Wreorder] graph_node(const N& src) ^~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 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 'unsigned int'} [-Wsign-compare] 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] int coins; ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] int shake_x_offset,shake_y_offset; ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: warning: when initialized here [-Wreorder] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 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] int zorder_; ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] size_t width_; ^~~~~~ src/hex_map.hpp:26:2: warning: when initialized here [-Wreorder] 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] 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] 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] 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] 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] 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] const int scissor_scale = preferences::double_scale() ? 2 : 1; ^~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 'unsigned int'} [-Wsign-compare] for(int n = 0; n != keys.size(); ++n) { ~~^~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 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 'unsigned int'} [-Wsign-compare] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 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] bool checked_; ^~~~~~~~ src/checkbox.cpp:39:100: warning: base 'gui::button' [-Wreorder] 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] checkbox::checkbox(const variant& v, game_logic::formula_callable* e) : checked_(false), button(v,e) ^~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 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 'unsigned int'} [-Wsign-compare] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 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] boost::function onclick_; ^~~~~~~~ src/button.hpp:50:20: warning: 'gui::BUTTON_RESOLUTION gui::button::button_resolution_' [-Wreorder] BUTTON_RESOLUTION button_resolution_; ^~~~~~~~~~~~~~~~~~ src/button.cpp:28:1: warning: when initialized here [-Wreorder] 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] BUTTON_STYLE button_style_; ^~~~~~~~~~~~~ src/button.hpp:48:6: warning: 'int gui::button::hpadding_' [-Wreorder] int hpadding_; ^~~~~~~~~ src/button.cpp:28:1: warning: when initialized here [-Wreorder] 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] int hpadding_; ^~~~~~~~~ src/button.hpp:47:6: warning: 'int gui::button::vpadding_' [-Wreorder] int vpadding_; ^~~~~~~~~ src/button.cpp:28:1: warning: when initialized here [-Wreorder] 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] boost::function onclick_; ^~~~~~~~ src/button.hpp:50:20: warning: 'gui::BUTTON_RESOLUTION gui::button::button_resolution_' [-Wreorder] BUTTON_RESOLUTION button_resolution_; ^~~~~~~~~~~~~~~~~~ src/button.cpp:38:1: warning: when initialized here [-Wreorder] 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] bool down_; ^~~~~ src/button.hpp:48:6: warning: 'int gui::button::hpadding_' [-Wreorder] int hpadding_; ^~~~~~~~~ src/button.cpp:38:1: warning: when initialized here [-Wreorder] 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] int hpadding_; ^~~~~~~~~ src/button.hpp:47:6: warning: 'int gui::button::vpadding_' [-Wreorder] int vpadding_; ^~~~~~~~~ src/button.cpp:38:1: warning: when initialized here [-Wreorder] button::button(widget_ptr label, boost::function onclick, BUTTON_STYLE button_style, BUTTON_RESOLUTION button_resolution) ^~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 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 'unsigned int'} [-Wsign-compare] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 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] 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] int coins; ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] int shake_x_offset,shake_y_offset; ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: warning: when initialized here [-Wreorder] 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] int zorder_; ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] size_t width_; ^~~~~~ src/hex_map.hpp:26:2: warning: when initialized here [-Wreorder] 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] 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] 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] 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] 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] 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] bool dragging_slider_; ^~~~~~~~~~~~~~~~ src/animation_creator.hpp:61:7: warning: 'bool gui::animation_creator_dialog::changed_' [-Wreorder] bool changed_; // current animation modified? ^~~~~~~~ src/animation_creator.cpp:102:1: warning: when initialized here [-Wreorder] 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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 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 'unsigned int'} [-Wsign-compare] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 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] 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] int coins; ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] int shake_x_offset,shake_y_offset; ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: warning: when initialized here [-Wreorder] 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] int zorder_; ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] size_t width_; ^~~~~~ src/hex_map.hpp:26:2: warning: when initialized here [-Wreorder] 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] 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] 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] 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] 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] 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] 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] 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 'unsigned int'} [-Wsign-compare] for(int n = 0; n != borders.size(); ++n) { ~~^~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] for(int n = 0; n != data.size(); ++n) { ~~^~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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] 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] if(a.value() < 0 && b.value() > 0 || b.value() < 0 && a.value() > 0) { ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 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 'unsigned int'} [-Wsign-compare] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/editor_dialogs.cpp: In function 'void {anonymous}::do_select_level(gui::dialog*, const std::vector >&, int, std::__cxx11::string*)': src/editor_dialogs.cpp:15:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] if(index >= 0 && index < levels.size()) { ~~~~~~^~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 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 'unsigned int'} [-Wsign-compare] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 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] drag_direction dir_; ^~~~ src/drag_widget.hpp:39:34: warning: 'boost::function gui::drag_widget::drag_start_' [-Wreorder] boost::function drag_start_; ^~~~~~~~~~~ src/drag_widget.cpp:75:1: warning: when initialized here [-Wreorder] 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] 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] 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] int button_state = SDL_GetMouseState(&p.x, &p.y); ^~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 'unsigned int'} [-Wsign-compare] for(int i = 0; i < diff["difficulties"].num_elements(); i++) { ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 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 'unsigned int'} [-Wsign-compare] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 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] 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] int coins; ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] int shake_x_offset,shake_y_offset; ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: warning: when initialized here [-Wreorder] 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] int zorder_; ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] size_t width_; ^~~~~~ src/hex_map.hpp:26:2: warning: when initialized here [-Wreorder] 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] 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] 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] 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] 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] 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::__cxx11::string, bool)': src/code_editor_dialog.cpp:150:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] if(suggestions_prefix_ >= 0 && suggestions_prefix_ < str.size()) { ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 'unsigned int'} [-Wsign-compare] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ 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:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ 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:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ 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:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ 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:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ 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:69:2: warning: when initialized here [-Wreorder] 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] bool operator<(const Loc& o) const { return row < o.row || row == o.row && col < o.col; } ~~~~~~~~~~~~~^~~~~~~~~~~~~~ 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} and 'int' [-Wsign-compare] 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] 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 'unsigned int'} [-Wsign-compare] ASSERT_LOG(row >= 0 && row < colors_.size(), "Invalid row: " << row << " /" << colors_.size()); ~~~~^~~~~~~~~~~~~~~~ src/asserts.hpp:65:33: note: in definition of macro 'ASSERT_LOG' #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 'unsigned int'} [-Wsign-compare] 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' #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 'unsigned int'} [-Wsign-compare] 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' #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 'unsigned int'} [-Wsign-compare] 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' #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] int nbracket = 0; ^~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 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 'unsigned int'} [-Wsign-compare] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 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] 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] dropdown_type type_; ^~~~~ src/dropdown_widget.hpp:55:6: warning: 'int gui::dropdown_widget::current_selection_' [-Wreorder] int current_selection_; ^~~~~~~~~~~~~~~~~~ src/dropdown_widget.cpp:19:1: warning: when initialized here [-Wreorder] 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] int current_selection_; ^~~~~~~~~~~~~~~~~~ src/dropdown_widget.hpp:53:6: warning: 'int gui::dropdown_widget::dropdown_height_' [-Wreorder] int dropdown_height_; ^~~~~~~~~~~~~~~~ src/dropdown_widget.cpp:19:1: warning: when initialized here [-Wreorder] 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] int current_selection_; ^~~~~~~~~~~~~~~~~~ src/dropdown_widget.hpp:53:6: warning: 'int gui::dropdown_widget::dropdown_height_' [-Wreorder] int dropdown_height_; ^~~~~~~~~~~~~~~~ src/dropdown_widget.cpp:37:1: warning: when initialized here [-Wreorder] 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] int button_state = SDL_GetMouseState(&p.x, &p.y); ^~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 'unsigned int'} [-Wsign-compare] 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] int coins; ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] int shake_x_offset,shake_y_offset; ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: warning: when initialized here [-Wreorder] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 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] int zorder_; ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] size_t width_; ^~~~~~ src/hex_map.hpp:26:2: warning: when initialized here [-Wreorder] 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] 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] 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] 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] 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] 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] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] for(int n = 0; n != cmd.num_elements(); ++n) { ~~^~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 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 'unsigned int'} [-Wsign-compare] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 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] int coins; ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] int shake_x_offset,shake_y_offset; ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: warning: when initialized here [-Wreorder] 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] int zorder_; ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] size_t width_; ^~~~~~ src/hex_map.hpp:26:2: warning: when initialized here [-Wreorder] 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] 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] 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] 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] 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] 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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 'unsigned int'} [-Wsign-compare] for(int n = 0; n != value_names_->size(); ++n) { ~~^~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 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 'unsigned int'} [-Wsign-compare] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 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] int coins; ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] int shake_x_offset,shake_y_offset; ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: warning: when initialized here [-Wreorder] 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] int zorder_; ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] size_t width_; ^~~~~~ src/hex_map.hpp:26:2: warning: when initialized here [-Wreorder] 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] 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] 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] 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] 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] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] if(index < 0 || index >= all_classifications_.size()) { ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 'unsigned int'} [-Wsign-compare] for(int n = 0; n != value_names_->size(); ++n) { ~~^~~~~~~~~~~~~~~~~~~~~~~ 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] 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] const int result = system(command.c_str()); ^~~~~~ src/external_text_editor.cpp:225:13: warning: unused variable 'result' [-Wunused-variable] 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] const int begin = SDL_GetTicks(); ^~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] if(n < v.num_elements()) { ~~^~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 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 'unsigned int'} [-Wsign-compare] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 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] int coins; ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] int shake_x_offset,shake_y_offset; ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: warning: when initialized here [-Wreorder] 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] int zorder_; ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] size_t width_; ^~~~~~ src/hex_map.hpp:26:2: warning: when initialized here [-Wreorder] 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] 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] 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] 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] 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] 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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 'unsigned int'} [-Wsign-compare] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 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] int coins; ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] int shake_x_offset,shake_y_offset; ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: warning: when initialized here [-Wreorder] 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] int zorder_; ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] size_t width_; ^~~~~~ src/hex_map.hpp:26:2: warning: when initialized here [-Wreorder] 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] 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] 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] 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] 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] 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] 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 'unsigned int'} and 'int' [-Wsign-compare] while(controls[local_player].size() <= ncycle) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ src/controls.cpp:203:38: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 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] while(cycle > highest_confirmed[player] && SDL_GetTicks() < end_time) { ~~~~~~~~~~~~~~~^~~~~~~~~~ src/controls.cpp:311:13: warning: unused variable 'breathing_room' [-Wunused-variable] 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 'unsigned int'} [-Wsign-compare] if(cycle < controls[slot].size()) { ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ src/controls.cpp:435:32: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] for(int m = 0; m < controls[n].size() && m < highest_confirmed[n]; ++m) { ~~^~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 'unsigned int'} [-Wsign-compare] 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] int coins; ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] int shake_x_offset,shake_y_offset; ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: warning: when initialized here [-Wreorder] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 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] int zorder_; ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] size_t width_; ^~~~~~ src/hex_map.hpp:26:2: warning: when initialized here [-Wreorder] 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] 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] 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] 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] 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] 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] 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] 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] 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] fa.collision_areas_inside_frame() && fb.collision_areas_inside_frame() && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ !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] (a->weak_collide_dimensions()&b->collide_dimensions()) == 0 && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ (a->collide_dimensions()&b->weak_collide_dimensions()) == 0) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 'unsigned int'} [-Wsign-compare] 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] int coins; ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] int shake_x_offset,shake_y_offset; ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: warning: when initialized here [-Wreorder] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 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] int zorder_; ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] size_t width_; ^~~~~~ src/hex_map.hpp:26:2: warning: when initialized here [-Wreorder] 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] 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] 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] 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] 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] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] if(slot < 0 || slot >= entries_.size()) { ~~~~~^~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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] 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] 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] 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] 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] 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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 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 'unsigned int'} [-Wsign-compare] 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] int coins; ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] int shake_x_offset,shake_y_offset; ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: warning: when initialized here [-Wreorder] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 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] int zorder_; ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] size_t width_; ^~~~~~ src/hex_map.hpp:26:2: warning: when initialized here [-Wreorder] 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] 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] 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] 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] 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] 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] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] } 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 'unsigned int'} [-Wsign-compare] if(history_pos_ < history_.size()) { ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 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 'unsigned int'} [-Wsign-compare] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 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] int coins; ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] int shake_x_offset,shake_y_offset; ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: warning: when initialized here [-Wreorder] 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] int zorder_; ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] size_t width_; ^~~~~~ src/hex_map.hpp:26:2: warning: when initialized here [-Wreorder] 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] 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] 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] 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] 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] 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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 'unsigned int'} [-Wsign-compare] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 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] int coins; ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] int shake_x_offset,shake_y_offset; ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: warning: when initialized here [-Wreorder] 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] int zorder_; ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] size_t width_; ^~~~~~ src/hex_map.hpp:26:2: warning: when initialized here [-Wreorder] 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] 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] 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] 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] 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] 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] 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] 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] const SDL_Surface* fb = SDL_GetVideoSurface(); ^~ src/draw_scene.cpp:472:22: warning: unused variable 'fb' [-Wunused-variable] const SDL_Surface* fb = SDL_GetVideoSurface(); ^~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 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 'unsigned int'} [-Wsign-compare] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 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] 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] int coins; ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] int shake_x_offset,shake_y_offset; ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: warning: when initialized here [-Wreorder] 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] int zorder_; ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] size_t width_; ^~~~~~ src/hex_map.hpp:26:2: warning: when initialized here [-Wreorder] 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] 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] 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] 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] 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] 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] variant items_; ^~~~~~ src/custom_object_dialog.cpp:66:14: warning: 'std::__cxx11::string gui::item_edit_dialog::display_name_' [-Wreorder] std::string display_name_; ^~~~~~~~~~~~~ src/custom_object_dialog.cpp:41:2: warning: when initialized here [-Wreorder] 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] bool dragging_slider_; ^~~~~~~~~~~~~~~~ src/custom_object_dialog.hpp:47:6: warning: 'int editor_dialogs::custom_object_dialog::selected_template_' [-Wreorder] int selected_template_; ^~~~~~~~~~~~~~~~~~ src/custom_object_dialog.cpp:168:1: warning: when initialized here [-Wreorder] 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 'unsigned int'} and 'int' [-Wsign-compare] 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] void reset_dialog_paths() ^~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 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 'unsigned int'} [-Wsign-compare] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 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] int coins; ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] int shake_x_offset,shake_y_offset; ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: warning: when initialized here [-Wreorder] 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] int zorder_; ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] size_t width_; ^~~~~~ src/hex_map.hpp:26:2: warning: when initialized here [-Wreorder] 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] 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] 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] 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] 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] 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] 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 'unsigned int'} [-Wsign-compare] if(index < 0 || index >= choices.size()) { ~~~~~~^~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 'unsigned int'} [-Wsign-compare] 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] int coins; ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] int shake_x_offset,shake_y_offset; ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: warning: when initialized here [-Wreorder] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 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] int zorder_; ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] size_t width_; ^~~~~~ src/hex_map.hpp:26:2: warning: when initialized here [-Wreorder] 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] 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] 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] 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] 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] 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] int platform_motion_x_; ^~~~~~~~~~~~~~~~~~ src/entity.hpp:328:7: warning: 'bool entity::mouse_over_entity_' [-Wreorder] bool mouse_over_entity_; ^~~~~~~~~~~~~~~~~~ src/entity.cpp:14:1: warning: when initialized here [-Wreorder] 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] bool being_dragged_; ^~~~~~~~~~~~~~ src/entity.hpp:329:8: warning: 'Uint8 entity::mouse_button_state_' [-Wreorder] Uint8 mouse_button_state_; ^~~~~~~~~~~~~~~~~~~ src/entity.cpp:14:1: warning: when initialized here [-Wreorder] 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] int platform_motion_x_; ^~~~~~~~~~~~~~~~~~ src/entity.hpp:328:7: warning: 'bool entity::mouse_over_entity_' [-Wreorder] bool mouse_over_entity_; ^~~~~~~~~~~~~~~~~~ src/entity.cpp:33:1: warning: when initialized here [-Wreorder] 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] bool being_dragged_; ^~~~~~~~~~~~~~ src/entity.hpp:329:8: warning: 'Uint8 entity::mouse_button_state_' [-Wreorder] Uint8 mouse_button_state_; ^~~~~~~~~~~~~~~~~~~ src/entity.cpp:33:1: warning: when initialized here [-Wreorder] 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] a->zorder() == b->zorder() && a->zsub_order() < b->zsub_order() || ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/entity.cpp:374:69: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 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] 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] a->zorder() == b->zorder() && a->zsub_order() < b->zsub_order() || ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/entity.cpp:379:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 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] 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 above array bounds of 'const string [6]' {aka 'const std::__cxx11::basic_string [6]'} [-Warray-bounds] if(k == keys + controls::NUM_CONTROLS) { ~~~~~^~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 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 'unsigned int'} [-Wsign-compare] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 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] int coins; ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] int shake_x_offset,shake_y_offset; ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: warning: when initialized here [-Wreorder] 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] int zorder_; ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] size_t width_; ^~~~~~ src/hex_map.hpp:26:2: warning: when initialized here [-Wreorder] 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] 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] 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] 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] 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] 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] 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] editor& editor_; ^~~~~~~ src/editor_module_properties_dialog.hpp:35:7: warning: 'bool editor_dialogs::editor_module_properties_dialog::new_mod_' [-Wreorder] bool new_mod_; ^~~~~~~~ src/editor_module_properties_dialog.cpp:51:1: warning: when initialized here [-Wreorder] 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] editor& editor_; ^~~~~~~ src/editor_module_properties_dialog.hpp:35:7: warning: 'bool editor_dialogs::editor_module_properties_dialog::new_mod_' [-Wreorder] bool new_mod_; ^~~~~~~~ src/editor_module_properties_dialog.cpp:58:1: warning: when initialized here [-Wreorder] editor_module_properties_dialog::editor_module_properties_dialog(editor& e, const std::string& modname) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 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 'unsigned int'} [-Wsign-compare] 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] int coins; ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] int shake_x_offset,shake_y_offset; ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: warning: when initialized here [-Wreorder] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 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] int zorder_; ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] size_t width_; ^~~~~~ src/hex_map.hpp:26:2: warning: when initialized here [-Wreorder] 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] 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] 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] 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] 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] 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] 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 'unsigned int'} and 'const int' [-Wsign-compare] 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 'unsigned int'} and 'const int' [-Wsign-compare] 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] std::vector platform_offsets_; ^~~~~~~~~~~~~~~~~ src/custom_object_type.hpp:287:6: warning: 'int custom_object_type::slot_properties_base_' [-Wreorder] int slot_properties_base_; ^~~~~~~~~~~~~~~~~~~~~ src/custom_object_type.cpp:664:1: warning: when initialized here [-Wreorder] 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] int slot_properties_base_; ^~~~~~~~~~~~~~~~~~~~~ src/custom_object_type.hpp:277:7: warning: 'bool custom_object_type::use_absolute_screen_coordinates_' [-Wreorder] bool use_absolute_screen_coordinates_; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/custom_object_type.cpp:664:1: warning: when initialized here [-Wreorder] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] if(event >= event_handlers_.size()) { ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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] return text < k.text || text == k.text && color < k.color || ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ src/font.cpp:55:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] text == k.text && color == k.color && font_size < k.font_size; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] if(slot < 0 || slot >= entries_.size()) { ~~~~~^~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 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 'unsigned int'} [-Wsign-compare] 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] int coins; ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] int shake_x_offset,shake_y_offset; ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: warning: when initialized here [-Wreorder] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 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] int zorder_; ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] size_t width_; ^~~~~~ src/hex_map.hpp:26:2: warning: when initialized here [-Wreorder] 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] 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] 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] 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] 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] 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] 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] bool always_active_; ^~~~~~~~~~~~~~ src/custom_object.hpp:356:6: warning: 'int custom_object::activation_border_' [-Wreorder] int activation_border_; ^~~~~~~~~~~~~~~~~~ src/custom_object.cpp:79:1: warning: when initialized here [-Wreorder] 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] int currently_handling_die_event_; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/custom_object.hpp:321:7: warning: 'bool custom_object::use_absolute_screen_coordinates_' [-Wreorder] bool use_absolute_screen_coordinates_; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/custom_object.cpp:79:1: warning: when initialized here [-Wreorder] 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] bool always_active_; ^~~~~~~~~~~~~~ src/custom_object.hpp:356:6: warning: 'int custom_object::activation_border_' [-Wreorder] int activation_border_; ^~~~~~~~~~~~~~~~~~ src/custom_object.cpp:326:1: warning: when initialized here [-Wreorder] 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] int currently_handling_die_event_; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/custom_object.hpp:321:7: warning: 'bool custom_object::use_absolute_screen_coordinates_' [-Wreorder] bool use_absolute_screen_coordinates_; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/custom_object.cpp:326:1: warning: when initialized here [-Wreorder] 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] int zsub_order_; ^~~~~~~~~~~ src/custom_object.hpp:309:42: warning: 'boost::scoped_ptr > custom_object::parallax_scale_millis_' [-Wreorder] boost::scoped_ptr > parallax_scale_millis_; ^~~~~~~~~~~~~~~~~~~~~~ src/custom_object.cpp:390:1: warning: when initialized here [-Wreorder] 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] bool always_active_; ^~~~~~~~~~~~~~ src/custom_object.hpp:356:6: warning: 'int custom_object::activation_border_' [-Wreorder] int activation_border_; ^~~~~~~~~~~~~~~~~~ src/custom_object.cpp:390:1: warning: when initialized here [-Wreorder] 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] int currently_handling_die_event_; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/custom_object.hpp:321:7: warning: 'bool custom_object::use_absolute_screen_coordinates_' [-Wreorder] bool use_absolute_screen_coordinates_; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/custom_object.cpp:390:1: warning: when initialized here [-Wreorder] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] for(int n = 0; n != left.size(); ++n) { ~~^~~~~~~~~~~~~~ src/custom_object.cpp:976:89: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] if(next_fraction && pos+1 != position_schedule_->y_pos.size()) { ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/custom_object.cpp:1275:19: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(!standing_on_ && !started_standing || accel_y_ < 0) { ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/custom_object.cpp:1356:7: warning: unused variable 'damage' [-Wunused-variable] int damage = 0; ^~~~~~ src/custom_object.cpp:1358:13: warning: unused variable 'original_centi_y' [-Wunused-variable] const int original_centi_y = centi_y(); ^~~~~~~~~~~~~~~~ src/custom_object.cpp:1531:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(left_foot >= area.x() && left_foot < area.x() + area.w() || ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/custom_object.cpp:1649:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 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] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] for(int n = 0; n != var.num_elements(); ++n) { ~~^~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 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 'unsigned int'} [-Wsign-compare] 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] int coins; ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] int shake_x_offset,shake_y_offset; ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: warning: when initialized here [-Wreorder] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 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] int zorder_; ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] size_t width_; ^~~~~~ src/hex_map.hpp:26:2: warning: when initialized here [-Wreorder] 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] 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] 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] 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] 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] 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] 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] (delta.is_null() || delta.is_list() && delta.num_elements() == 4) && ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/asserts.hpp:65:33: note: in definition of macro 'ASSERT_LOG' #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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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] entity_ptr new_playable_; ^~~~~~~~~~~~~ src/custom_object_functions.cpp:1670:7: warning: 'bool {anonymous}::teleport_command::no_move_to_standing_' [-Wreorder] bool no_move_to_standing_; ^~~~~~~~~~~~~~~~~~~~ src/custom_object_functions.cpp:1654:2: warning: when initialized here [-Wreorder] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] for(int n = 0; n != v.num_elements(); ++n) { ~~^~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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] // on windows a path is absolute if it starts with \\, x:\, \ ^ 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 'unsigned int'} [-Wsign-compare] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 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] int coins; ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] int shake_x_offset,shake_y_offset; ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: warning: when initialized here [-Wreorder] 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] 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] bool file_open_dialog_; ^~~~~~~~~~~~~~~~~ src/file_chooser_dialog.hpp:50:6: warning: 'int gui::file_chooser_dialog::filter_selection_' [-Wreorder] int filter_selection_; ^~~~~~~~~~~~~~~~~ src/file_chooser_dialog.cpp:84:1: warning: when initialized here [-Wreorder] 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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 'unsigned int'} [-Wsign-compare] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 'unsigned int'} [-Wsign-compare] for(int n = 0; n != new_files.size(); ++n) { ~~^~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 'unsigned int'} [-Wsign-compare] for(int n = 0; n != value_names_->size(); ++n) { ~~^~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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:33: warning: array subscript has type 'char' [-Wchar-subscripts] 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 'unsigned int'} and '__gnu_cxx::__normal_iterator >::difference_type' {aka 'int'} [-Wsign-compare] 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 'unsigned int'} and '__gnu_cxx::__normal_iterator >::difference_type' {aka 'int'} [-Wsign-compare] if(str.size() == (t.end - t.begin) && std::equal(str.begin(), str.end(), t.begin)) { ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 'unsigned int'} [-Wsign-compare] 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] 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] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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] return type < f.type || type == f.type && event_id < f.event_id || ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/formula_profiler.cpp:309:50: warning: suggest parentheses around '&&' within '||' [-Wparentheses] type == f.type && event_id == f.event_id && executing_commands < f.executing_commands; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/formula_profiler.cpp: In function 'std::__cxx11::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 'unsigned int'} [-Wsign-compare] for(int n = 0; n != samples.size(); ++n) { ~~^~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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] return a.x < b.x || a.x == b.x && a.y < b.y; ~~~~~~~~~~~^~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 'unsigned int'} [-Wsign-compare] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 'unsigned int'} [-Wsign-compare] 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] int coins; ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] int shake_x_offset,shake_y_offset; ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: warning: when initialized here [-Wreorder] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 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] int zorder_; ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] size_t width_; ^~~~~~ src/hex_map.hpp:26:2: warning: when initialized here [-Wreorder] 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] 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] 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] 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] 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] 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] GLenum shade_model = GL_FLAT; ^~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 'unsigned int'} [-Wsign-compare] 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] const formula_callable* fallback_; ^~~~~~~~~ src/formula_callable.hpp:204:32: warning: 'std::map, variant> game_logic::map_formula_callable::values_' [-Wreorder] std::map values_; ^~~~~~~ src/formula.cpp:112:2: warning: when initialized here [-Wreorder] 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] foreach(const std::string& arg, generator_names_) { ^~~ src/formula.cpp:247:3: note: in expansion of macro 'foreach' 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] if(begin_index > left.num_elements()) { ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ src/formula.cpp:638:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} and 'int' [-Wsign-compare] 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] 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 'unsigned int'} [-Wsign-compare] 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] 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] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] ASSERT_LOG(erase_size <= error_line.size(), "ERROR WHILE PARSING ERROR MESSAGE"); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/asserts.hpp:65:33: note: in definition of macro 'ASSERT_LOG' #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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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] rect platform_rect_; ^~~~~~~~~~~~~~ src/frame.hpp:135:7: warning: 'rect frame::img_rect_' [-Wreorder] rect img_rect_; ^~~~~~~~~ src/frame.cpp:29:1: warning: when initialized here [-Wreorder] 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] bool no_remove_alpha_borders_; ^~~~~~~~~~~~~~~~~~~~~~~~ src/frame.hpp:162:7: warning: 'bool frame::collision_areas_inside_frame_' [-Wreorder] bool collision_areas_inside_frame_; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/frame.cpp:29:1: warning: when initialized here [-Wreorder] frame::frame(variant node) ^~~~~ In file included from src/frame.cpp:6: src/asserts.hpp:49:31: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] #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' 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] 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] #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' 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] #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' 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] #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' 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] 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] 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] 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] 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 'unsigned int'} [-Wsign-compare] if(time_in_frame >= s.points.size()) { ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 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 'unsigned int'} [-Wsign-compare] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 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] 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] int coins; ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] int shake_x_offset,shake_y_offset; ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: warning: when initialized here [-Wreorder] 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] int zorder_; ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] size_t width_; ^~~~~~ src/hex_map.hpp:26:2: warning: when initialized here [-Wreorder] 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] 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] 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] 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] 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] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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] int cur_object_; ^~~~~~~~~~~ src/editor.hpp:292:6: warning: 'int editor::cur_hex_tileset_' [-Wreorder] int cur_hex_tileset_; ^~~~~~~~~~~~~~~~ src/editor.cpp:751:1: warning: when initialized here [-Wreorder] 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] int prev_mousex_, prev_mousey_; ^~~~~~~~~~~~ src/editor.hpp:275:6: warning: 'int editor::xres_' [-Wreorder] int xres_, yres_; ^~~~~ src/editor.cpp:751:1: warning: when initialized here [-Wreorder] 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] 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] 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] 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 'unsigned int'} [-Wsign-compare] 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' #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] const Uint8* keystate = SDL_GetKeyState(NULL); ^~~~~~~~ src/editor.cpp:1177:12: warning: unused variable 'selectx' [-Wunused-variable] const int selectx = round_tile_size(xpos_ + mousex*zoom_); ^~~~~~~ src/editor.cpp:1178:12: warning: unused variable 'selecty' [-Wunused-variable] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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' #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] const bool ctrl_pressed = (SDL_GetModState()&(KMOD_LCTRL|KMOD_RCTRL)) != 0; ^~~~~~~~~~~~ src/editor.cpp:2123:13: warning: unused variable 'shift_pressed' [-Wunused-variable] const bool shift_pressed = (SDL_GetModState()&(KMOD_LSHIFT|KMOD_RSHIFT)) != 0; ^~~~~~~~~~~~~ src/editor.cpp:2125:21: warning: unused variable 'buttons' [-Wunused-variable] 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 'unsigned int'} [-Wsign-compare] } 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 'unsigned int'} [-Wsign-compare] } 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] if(index >= undo_.size()) { ~~~~~~^~~~~~~~~~~~~~~ src/editor.cpp:3493:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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] void do_draw_scene() { ^~~~~~~~~~~~~ src/editor.cpp:630:5: warning: '{anonymous}::selected_property' defined but not used [-Wunused-variable] int selected_property = 0; ^~~~~~~~~~~~~~~~~ src/editor.cpp:359:13: warning: '{anonymous}::ModeStrings' defined but not used [-Wunused-variable] const char* ModeStrings[] = {"Tiles", "Objects", "Properties",}; ^~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 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 'unsigned int'} [-Wsign-compare] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 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] int coins; ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] int shake_x_offset,shake_y_offset; ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: warning: when initialized here [-Wreorder] 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] int zorder_; ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] size_t width_; ^~~~~~ src/hex_map.hpp:26:2: warning: when initialized here [-Wreorder] 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] 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] 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] 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] 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] 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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 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 'unsigned int'} [-Wsign-compare] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 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] int max_height_; ^~~~~~~~~~~ src/grid_widget.hpp:94:7: warning: 'bool gui::grid::allow_highlight_' [-Wreorder] bool allow_highlight_; ^~~~~~~~~~~~~~~~ src/grid_widget.cpp:23:1: warning: when initialized here [-Wreorder] 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] int set_h_; ^~~~~~ src/grid_widget.hpp:97:6: warning: 'int gui::grid::set_w_' [-Wreorder] int set_w_; ^~~~~~ src/grid_widget.cpp:23:1: warning: when initialized here [-Wreorder] 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] int max_height_; ^~~~~~~~~~~ src/grid_widget.hpp:94:7: warning: 'bool gui::grid::allow_highlight_' [-Wreorder] bool allow_highlight_; ^~~~~~~~~~~~~~~~ src/grid_widget.cpp:34:1: warning: when initialized here [-Wreorder] 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] int set_h_; ^~~~~~ src/grid_widget.hpp:97:6: warning: 'int gui::grid::set_w_' [-Wreorder] int set_w_; ^~~~~~ src/grid_widget.cpp:34:1: warning: when initialized here [-Wreorder] 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 'unsigned int'} and 'int' [-Wsign-compare] 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 'unsigned int'} and 'int' [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] if(row_index >= 0 && row_index < row_callbacks_.size() && ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 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 'unsigned int'} [-Wsign-compare] 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] int zorder_; ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] size_t width_; ^~~~~~ src/hex_map.hpp:26:2: warning: when initialized here [-Wreorder] 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 'unsigned int'} [-Wsign-compare] 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] const hex_map* owner_map_; ^~~~~~~~~~ src/hex_object.hpp:55:6: warning: 'int hex::hex_object::x_' [-Wreorder] int x_; ^~ src/hex_object.cpp:193:1: warning: when initialized here [-Wreorder] hex_object::hex_object(const std::string& type, int x, int y, const hex_map* owner) ^~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 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 'unsigned int'} [-Wsign-compare] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 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] int coins; ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] int shake_x_offset,shake_y_offset; ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: warning: when initialized here [-Wreorder] 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] int zorder_; ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] size_t width_; ^~~~~~ src/hex_map.hpp:26:2: warning: when initialized here [-Wreorder] 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] 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] 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] 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] 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] 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] int index = 0, first_index = -1; ^~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 'unsigned int'} [-Wsign-compare] 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] int zorder_; ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] size_t width_; ^~~~~~ src/hex_map.hpp:26:2: warning: when initialized here [-Wreorder] 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] int coins; ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] int shake_x_offset,shake_y_offset; ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: warning: when initialized here [-Wreorder] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 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] 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] 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] 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] 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] 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] int zorder_; ^~~~~~~ src/hex_map.hpp:66:6: warning: 'int hex::hex_map::x_' [-Wreorder] int x_; ^~ src/hex_map.cpp:20:1: warning: when initialized here [-Wreorder] 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] int y_; ^~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] size_t width_; ^~~~~~ src/hex_map.cpp:20:1: warning: when initialized here [-Wreorder] 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] 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] 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] int oy = y; ^~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 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 'unsigned int'} [-Wsign-compare] 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] int coins; ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] int shake_x_offset,shake_y_offset; ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: warning: when initialized here [-Wreorder] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 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] int zorder_; ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] size_t width_; ^~~~~~ src/hex_map.hpp:26:2: warning: when initialized here [-Wreorder] 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] 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] 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] 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] 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] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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] bool loaded_; ^~~~~~~ src/gui_formula_functions.hpp:53:41: warning: 'game_logic::formula_ptr gui_algorithm::process_formula_' [-Wreorder] game_logic::formula_ptr draw_formula_, process_formula_, load_formula_; ^~~~~~~~~~~~~~~~ src/gui_formula_functions.cpp:408:1: warning: when initialized here [-Wreorder] gui_algorithm::gui_algorithm(variant node) ^~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 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 'unsigned int'} [-Wsign-compare] 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] int zorder_; ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] size_t width_; ^~~~~~ src/hex_map.hpp:26:2: warning: when initialized here [-Wreorder] 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] int chance_; ^~~~~~~ src/hex_tile.hpp:42:13: warning: 'hex::hex_tile* hex::basic_hex_tile::owner_' [-Wreorder] hex_tile* owner_; ^~~~~~ src/hex_tile.cpp:12:1: warning: when initialized here [-Wreorder] 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] int zorder_; ^~~~~~~ src/hex_tile.hpp:47:7: warning: 'int hex::basic_hex_tile::offset_x_' [-Wreorder] int offset_x_; ^~~~~~~~~ src/hex_tile.cpp:12:1: warning: when initialized here [-Wreorder] basic_hex_tile::basic_hex_tile(const variant node, hex_tile* owner) ^~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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] for (int i = 0; i < header->number; ++i) { ~~^~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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] int cnt = 0; ^~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 'unsigned int'} [-Wsign-compare] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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] 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] while(i1 != i2 && util::c_isspace(*i1) || *i1 == '#' || *i1 == '/' && i1+1 != i2 && (*(i1 + 1) == '/' || *(i1 + 1) == '*')) { ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 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] std::string host_; ^~~~~ src/http_client.hpp:62:23: warning: 'boost::asio::ip::basic_resolver::query http_client::resolver_query_' [-Wreorder] tcp::resolver::query resolver_query_; ^~~~~~~~~~~~~~~ src/http_client.cpp:7:1: warning: when initialized here [-Wreorder] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} and 'int' [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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' #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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 src/http_server.cpp:103:9: warning: 'http::{anonymous}::Request http::{anonymous}::parse_request(const string&)' defined but not used [-Wunused-function] Request parse_request(const std::string& str) { ^~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 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 'unsigned int'} [-Wsign-compare] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 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] int coins; ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] int shake_x_offset,shake_y_offset; ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: warning: when initialized here [-Wreorder] 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] int zorder_; ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] size_t width_; ^~~~~~ src/hex_map.hpp:26:2: warning: when initialized here [-Wreorder] 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] 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] 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] 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] 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] 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] bool operator<(const Loc& o) const { return row < o.row || row == o.row && col < o.col; } ~~~~~~~~~~~~~^~~~~~~~~~~~~~ src/formula_function.cpp: In function 'std::__cxx11::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: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} and 'const int' [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} and 'const int' [-Wsign-compare] 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] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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' #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] 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 'unsigned int'} [-Wsign-compare] 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] N src_; ^~~~ src/pathfinding.hpp:82:4: warning: 'decimal pathfinding::graph_node::f_' [-Wreorder] T f_, g_, h_; ^~ src/pathfinding.hpp:42:2: warning: when initialized here [-Wreorder] 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] bool point_in_triangle(point p, point t[3]) ^~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 'unsigned int'} [-Wsign-compare] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 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] int coins; ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] int shake_x_offset,shake_y_offset; ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: warning: when initialized here [-Wreorder] 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] int zorder_; ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] size_t width_; ^~~~~~ src/hex_map.hpp:26:2: warning: when initialized here [-Wreorder] 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] 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] 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] 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] 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] 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] bool operator<(const Loc& o) const { return row < o.row || row == o.row && col < o.col; } ~~~~~~~~~~~~~^~~~~~~~~~~~~~ src/input.cpp: In member function 'virtual void input::key_down_listener::bind_key(int, const SDL_keysym&, bool)': src/input.cpp:426:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] if(logical_key >= state_.size()) { ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/input.cpp: In member function 'virtual bool input::key_down_listener::unbind_key(const SDL_keysym&)': src/input.cpp:434:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] if(key >= 0 && key < state_.size()) { ~~~~^~~~~~~~~~~~~~~ src/input.cpp: In member function 'virtual bool input::key_down_listener::unbind_key(int)': src/input.cpp:441:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] if(logical_key < state_.size()) { ~~~~~~~~~~~~^~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 'unsigned int' [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] for(int n = 0; n != keys.size(); ++n) { ~~^~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 'unsigned int'} [-Wsign-compare] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 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] SDLKey key_; ^~~~ src/key_button.hpp:32:20: warning: 'gui::BUTTON_RESOLUTION gui::key_button::button_resolution_' [-Wreorder] BUTTON_RESOLUTION button_resolution_; ^~~~~~~~~~~~~~~~~~ src/key_button.cpp:150:1: warning: when initialized here [-Wreorder] 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] 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] bool grab_keys_; ^~~~~~~~~~ src/key_button.cpp:150:1: warning: when initialized here [-Wreorder] 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] 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] bool grab_keys_; ^~~~~~~~~~ src/key_button.cpp:163:1: warning: when initialized here [-Wreorder] key_button::key_button(const variant& v, game_logic::formula_callable* e) ^~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 'unsigned int'} [-Wsign-compare] 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] 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 'unsigned int'} [-Wsign-compare] for(int n = 0; n != v.num_elements(); ++n) { ~~^~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 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 'unsigned int'} [-Wsign-compare] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 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] bool down_; ^~~~~ src/label.hpp:75:7: warning: 'bool gui::label::fixed_width_' [-Wreorder] bool fixed_width_; ^~~~~~~~~~~~ src/label.cpp:22:1: warning: when initialized here [-Wreorder] 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] bool fixed_width_; ^~~~~~~~~~~~ src/label.hpp:73:12: warning: 'SDL_Color gui::label::highlight_color_' [-Wreorder] SDL_Color highlight_color_; ^~~~~~~~~~~~~~~~ src/label.cpp:22:1: warning: when initialized here [-Wreorder] 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] bool down_; ^~~~~ src/label.hpp:75:7: warning: 'bool gui::label::fixed_width_' [-Wreorder] bool fixed_width_; ^~~~~~~~~~~~ src/label.cpp:32:1: warning: when initialized here [-Wreorder] 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] bool fixed_width_; ^~~~~~~~~~~~ src/label.hpp:73:12: warning: 'SDL_Color gui::label::highlight_color_' [-Wreorder] SDL_Color highlight_color_; ^~~~~~~~~~~~~~~~ src/label.cpp:32:1: warning: when initialized here [-Wreorder] 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] bool down_; ^~~~~ src/label.hpp:73:12: warning: 'SDL_Color gui::label::highlight_color_' [-Wreorder] SDL_Color highlight_color_; ^~~~~~~~~~~~~~~~ src/label.cpp:41:1: warning: when initialized here [-Wreorder] label::label(const variant& v, game_logic::formula_callable* e) ^~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 'unsigned int'} and 'const int' [-Wsign-compare] 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 'unsigned int'} and 'const int' [-Wsign-compare] 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 'unsigned int'} and 'const int' [-Wsign-compare] 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 'unsigned int'} and 'const int' [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] for(int m = 0; m != map.positive_rows_[n].positive_cells.size(); ++m) { ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 'unsigned int'} [-Wsign-compare] 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] int coins; ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] int shake_x_offset,shake_y_offset; ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: warning: when initialized here [-Wreorder] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 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] int zorder_; ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] size_t width_; ^~~~~~ src/hex_map.hpp:26:2: warning: when initialized here [-Wreorder] 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] 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] 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] 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] 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] 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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 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 'unsigned int'} [-Wsign-compare] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 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] int coins; ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] int shake_x_offset,shake_y_offset; ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: warning: when initialized here [-Wreorder] 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] int zorder_; ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] size_t width_; ^~~~~~ src/hex_map.hpp:26:2: warning: when initialized here [-Wreorder] 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] 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] 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] 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] 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] 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] int index = 0; ^~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 'unsigned int'} [-Wsign-compare] 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] int coins; ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] int shake_x_offset,shake_y_offset; ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: warning: when initialized here [-Wreorder] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] for(int n = 0; n != x_angles.size(); ++n) { ~~^~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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] std::memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ ^~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] if(cur_row_ < lines_.size()) { ~~~~~~~~~^~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 'unsigned int'} [-Wsign-compare] 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] int coins; ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] int shake_x_offset,shake_y_offset; ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: warning: when initialized here [-Wreorder] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 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] int zorder_; ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] size_t width_; ^~~~~~ src/hex_map.hpp:26:2: warning: when initialized here [-Wreorder] 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] 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] 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] 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] 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] 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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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] 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] 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] 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] 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] 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 'unsigned int'} and 'int' [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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] int traction_; ^~~~~~~~~ src/level_object.hpp:144:6: warning: 'int level_object::damage_' [-Wreorder] int damage_; ^~~~~~~ src/level_object.cpp:305:1: warning: when initialized here [-Wreorder] 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 'unsigned int'} [-Wsign-compare] 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/math/special_functions/detail/fp_traits.hpp:25, from /usr/include/boost/math/special_functions/sign.hpp:18, from /usr/include/boost/lexical_cast/detail/inf_nan.hpp:34, from /usr/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:63, from /usr/include/boost/lexical_cast/detail/converter_lexical.hpp:54, from /usr/include/boost/lexical_cast/try_lexical_convert.hpp:42, 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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' #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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] for(int n = 0; n != palettes.size(); ++n) { ~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/boost/assert.hpp:58, from /usr/include/boost/math/special_functions/detail/fp_traits.hpp:25, from /usr/include/boost/math/special_functions/sign.hpp:18, from /usr/include/boost/lexical_cast/detail/inf_nan.hpp:34, from /usr/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:63, from /usr/include/boost/lexical_cast/detail/converter_lexical.hpp:54, from /usr/include/boost/lexical_cast/try_lexical_convert.hpp:42, 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 'unsigned int'} [-Wsign-compare] assert(index >= 0 && index < solid_.size()); ~~~~~~^~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 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 'unsigned int'} [-Wsign-compare] 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] int coins; ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] int shake_x_offset,shake_y_offset; ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: warning: when initialized here [-Wreorder] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 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] int zorder_; ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] size_t width_; ^~~~~~ src/hex_map.hpp:26:2: warning: when initialized here [-Wreorder] 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] 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] 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] 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] 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] 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] 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] const int argc = argv.size(); ^~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] for(int n = 0; n != v.num_elements(); ++n) { ~~^~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 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 'unsigned int'} [-Wsign-compare] 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] int coins; ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] int shake_x_offset,shake_y_offset; ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: warning: when initialized here [-Wreorder] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 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] int zorder_; ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] size_t width_; ^~~~~~ src/hex_map.hpp:26:2: warning: when initialized here [-Wreorder] 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] 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] 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] 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] 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] 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] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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] if(editor_ && editor_->has_keyboard_focus() || ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/level_runner.cpp:1514:12: warning: unused variable 'raw_wait_time' [-Wunused-variable] 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] 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] 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] bool calculate_stencil_buffer_available() { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 'unsigned int'} [-Wsign-compare] for(int n = 0; n != object_event_names().size(); ++n) { ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 'unsigned int'} [-Wsign-compare] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 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 'int'} and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] 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' #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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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] 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] 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] 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] 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] 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 'unsigned int'} [-Wsign-compare] 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' #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 'unsigned int'} [-Wsign-compare] for(int n = 0; n != arrows.size()-1; ++n) { ~~^~~~~~~~~~~~~~~~~~ src/multi_tile_pattern.cpp:76:12: warning: unused variable 'height' [-Wunused-variable] 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 'unsigned int'} [-Wsign-compare] for(int n = 0; n != cells.size(); ++n) { ~~^~~~~~~~~~~~~~~ In file included from src/multi_tile_pattern.cpp:3: src/asserts.hpp:59:31: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector<{anonymous}::raw_cell>::size_type' {aka 'unsigned int'} [-Wsign-compare] #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' 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 'unsigned int'} [-Wsign-compare] for(int n = 0; n != cells.size(); ++n) { ~~^~~~~~~~~~~~~~~ In file included from src/multi_tile_pattern.cpp:3: src/asserts.hpp:49:31: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] #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' 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] if(index == alternatives_.size()) { ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 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 'unsigned int'} [-Wsign-compare] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 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] int coins; ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] int shake_x_offset,shake_y_offset; ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: warning: when initialized here [-Wreorder] 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] int zorder_; ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] size_t width_; ^~~~~~ src/hex_map.hpp:26:2: warning: when initialized here [-Wreorder] 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] 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] 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] 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] 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] 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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 src/module.cpp: In function 'std::__cxx11::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 'unsigned int'} [-Wsign-compare] for(int n = 1; n < v.size(); ++n) { ~~^~~~~~~~~~ src/module.cpp: In function 'std::__cxx11::string module::make_module_id(const string&)': src/module.cpp:147:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] if(spos == std::string::npos) { ~~~~~^~~~~~ src/module.cpp:150:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'int'} and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] 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' #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 'unsigned int'} [-Wsign-compare] 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 'int'} and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] 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::__cxx11::string)': src/module.cpp:648:48: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 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' #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 'unsigned int'} [-Wsign-compare] 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' #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 'unsigned int'} [-Wsign-compare] 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' #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 'unsigned int'} [-Wsign-compare] 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' #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 'int'} and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] 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' #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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 'unsigned int'} [-Wsign-compare] 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] 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 'unsigned int'} [-Wsign-compare] } 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] 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] int accel_x, accel_y; ^~~~~~~ src/particle_system.cpp:678:30: warning: 'int {anonymous}::point_particle_info::velocity_x_rand' [-Wreorder] int velocity_x, velocity_y, velocity_x_rand, velocity_y_rand; ^~~~~~~~~~~~~~~ src/particle_system.cpp:610:11: warning: when initialized here [-Wreorder] explicit point_particle_info(variant node) ^~~~~~~~~~~~~~~~~~~ src/particle_system.cpp:685:7: warning: '{anonymous}::point_particle_info::dot_rounded' will be initialized after [-Wreorder] bool dot_rounded; ^~~~~~~~~~~ src/particle_system.cpp:680:6: warning: 'int {anonymous}::point_particle_info::time_to_live' [-Wreorder] int time_to_live, time_to_live_max; ^~~~~~~~~~~~ src/particle_system.cpp:610:11: warning: when initialized here [-Wreorder] 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 'unsigned int'} [-Wsign-compare] for(int n = 0; n != v.num_elements(); ++n) { ~~^~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 'unsigned int'} [-Wsign-compare] 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] int coins; ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] int shake_x_offset,shake_y_offset; ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: warning: when initialized here [-Wreorder] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 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] int zorder_; ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] size_t width_; ^~~~~~ src/hex_map.hpp:26:2: warning: when initialized here [-Wreorder] 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] 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] 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] 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] 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] 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] N src_; ^~~~ src/pathfinding.hpp:82:4: warning: 'decimal pathfinding::graph_node::f_' [-Wreorder] T f_, g_, h_; ^~ src/pathfinding.hpp:42:2: warning: when initialized here [-Wreorder] 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] N src_; ^~~~ src/pathfinding.hpp:82:4: warning: 'double pathfinding::graph_node::f_' [-Wreorder] T f_, g_, h_; ^~ src/pathfinding.hpp:42:2: warning: when initialized here [-Wreorder] graph_node(const N& src) ^~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 'unsigned int'} [-Wsign-compare] 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] int coins; ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] int shake_x_offset,shake_y_offset; ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: warning: when initialized here [-Wreorder] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 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] int zorder_; ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] size_t width_; ^~~~~~ src/hex_map.hpp:26:2: warning: when initialized here [-Wreorder] 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] 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] 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] 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] 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] 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 'unsigned int' [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] for(int n = 0; n != value.num_elements(); ++n) { ~~^~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 'unsigned int'} [-Wsign-compare] for(int n = 0; n != value_names_->size(); ++n) { ~~^~~~~~~~~~~~~~~~~~~~~~~ src/preprocessor.cpp: In function 'std::__cxx11::string preprocess(const string&)': src/preprocessor.cpp:29:23: warning: comparison of integer expressions of different signedness: '__gnu_cxx::__normal_iterator >::difference_type' {aka 'int'} and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] if(input.end() - i > IncludeString.size() && std::equal(IncludeString.begin(), IncludeString.end(), i)) { ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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] 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] 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] 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] 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] 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 'unsigned int'} [-Wsign-compare] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 'unsigned int'} [-Wsign-compare] 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] int coins; ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] int shake_x_offset,shake_y_offset; ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: warning: when initialized here [-Wreorder] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 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] int zorder_; ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] size_t width_; ^~~~~~ src/hex_map.hpp:26:2: warning: when initialized here [-Wreorder] 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] 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] 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] 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] 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] 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] 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 'unsigned int'} [-Wsign-compare] if(nplayer == player_slot || nplayer < 0 || nplayer >= udp_endpoint_peers.size()) { ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/multiplayer.cpp:155:27: warning: unused variable 'udp_msg' [-Wunused-variable] 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 'unsigned int'} and 'const int' [-Wsign-compare] 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] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} and 'const int' [-Wsign-compare] 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 'unsigned int'} and 'const int' [-Wsign-compare] 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] 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] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] for(int n = 0; n != peers.size(); ++n) { ~~^~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 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 'unsigned int'} [-Wsign-compare] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 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] int progress_; ^~~~~~~~~ src/progress_bar.hpp:38:6: warning: 'int gui::progress_bar::min_' [-Wreorder] int min_; ^~~~ src/progress_bar.cpp:8:1: warning: when initialized here [-Wreorder] 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] bool upscale_; ^~~~~~~~ src/progress_bar.hpp:35:18: warning: 'graphics::color gui::progress_bar::color_' [-Wreorder] graphics::color color_; ^~~~~~ src/progress_bar.cpp:8:1: warning: when initialized here [-Wreorder] 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] bool completion_called_; ^~~~~~~~~~~~~~~~~~ src/progress_bar.hpp:40:6: warning: 'int gui::progress_bar::progress_' [-Wreorder] int progress_; ^~~~~~~~~ src/progress_bar.cpp:17:1: warning: when initialized here [-Wreorder] 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] int progress_; ^~~~~~~~~ src/progress_bar.hpp:38:6: warning: 'int gui::progress_bar::min_' [-Wreorder] int min_; ^~~~ src/progress_bar.cpp:17:1: warning: when initialized here [-Wreorder] 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] int max_; ^~~~ src/progress_bar.hpp:36:6: warning: 'int gui::progress_bar::hpad_' [-Wreorder] int hpad_; ^~~~~ src/progress_bar.cpp:17:1: warning: when initialized here [-Wreorder] progress_bar::progress_bar(const variant& v, game_logic::formula_callable* e) ^~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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] 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' #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] #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' 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] #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' 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] int blit_texture_translate_y = 0; ^~~~~~~~~~~~~~~~~~~~~~~~ src/raster.cpp:469:7: warning: 'graphics::{anonymous}::blit_texture_translate_x' defined but not used [-Wunused-variable] int blit_texture_translate_x = 0; ^~~~~~~~~~~~~~~~~~~~~~~~ src/raster.cpp:252:9: warning: 'graphics::{anonymous}::draw_detection_buf_' defined but not used [-Wunused-variable] char* draw_detection_buf_; ^~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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] 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] int sh = graphics::screen_height(); ^~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 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 'unsigned int'} [-Wsign-compare] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 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 'unsigned int'} [-Wsign-compare] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 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 'unsigned int'} [-Wsign-compare] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 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] int coins; ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] int shake_x_offset,shake_y_offset; ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: warning: when initialized here [-Wreorder] 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] int zorder_; ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] size_t width_; ^~~~~~ src/hex_map.hpp:26:2: warning: when initialized here [-Wreorder] 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] 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] 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] 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] 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] 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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 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] int coins; ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] int shake_x_offset,shake_y_offset; ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: warning: when initialized here [-Wreorder] 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 'unsigned int'} [-Wsign-compare] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 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] int zorder_; ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] size_t width_; ^~~~~~ src/hex_map.hpp:26:2: warning: when initialized here [-Wreorder] 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] 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] 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] 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] 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] 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] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} and 'int' [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] if(n == tiles_.size()) { ~~^~~~~~~~~~~~~~~~ src/level.cpp:1169:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] for(int n = 0; n < translucent_indexes.size(); n += 6) { ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/level.cpp:1526:20: warning: unused variable 't' [-Wunused-variable] const level_tile* t = &*tile_itor; ^ src/level.cpp:1527:20: warning: unused variable 'end_tiles' [-Wunused-variable] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} and 'const int' [-Wsign-compare] if(blit_info.indexes.size() <= ytile) { ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ src/level.cpp:1753:39: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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] int last_zorder = -1000000; ^~~~~~~~~~~ src/level.cpp:1852:12: warning: unused variable 'ticks' [-Wunused-variable] 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 'unsigned int'} [-Wsign-compare] 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] return deptha < depthb || deptha == depthb && standa < standb || ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ src/level.cpp:2359:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] deptha == depthb && standa == standb && a->is_human() < b->is_human(); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/boost/assert.hpp:58, from /usr/include/boost/math/special_functions/detail/fp_traits.hpp:25, from /usr/include/boost/math/special_functions/sign.hpp:18, from /usr/include/boost/lexical_cast/detail/inf_nan.hpp:34, from /usr/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:63, from /usr/include/boost/lexical_cast/detail/converter_lexical.hpp:54, from /usr/include/boost/lexical_cast/try_lexical_convert.hpp:42, from /usr/include/boost/lexical_cast.hpp:32, 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 'unsigned int'} [-Wsign-compare] 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] const int ticks = SDL_GetTicks(); ^~~~~ src/level.cpp:2438:12: warning: unused variable 'ActivationDistance' [-Wunused-variable] const int ActivationDistance = 700; ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/boost/assert.hpp:58, from /usr/include/boost/math/special_functions/detail/fp_traits.hpp:25, from /usr/include/boost/math/special_functions/sign.hpp:18, from /usr/include/boost/lexical_cast/detail/inf_nan.hpp:34, from /usr/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:63, from /usr/include/boost/lexical_cast/detail/converter_lexical.hpp:54, from /usr/include/boost/lexical_cast/try_lexical_convert.hpp:42, from /usr/include/boost/lexical_cast.hpp:32, 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'int'} and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 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 'int'} and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 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] 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] 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] 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 'unsigned int'} and 'int' [-Wsign-compare] while(positions.size() != last_count) { ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ src/level.cpp:3098:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] for(int n = 0; n != chars_.size(); ++n) { ~~^~~~~~~~~~~~~~~~ In file included from /usr/include/boost/assert.hpp:58, from /usr/include/boost/math/special_functions/detail/fp_traits.hpp:25, from /usr/include/boost/math/special_functions/sign.hpp:18, from /usr/include/boost/lexical_cast/detail/inf_nan.hpp:34, from /usr/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:63, from /usr/include/boost/lexical_cast/detail/converter_lexical.hpp:54, from /usr/include/boost/lexical_cast/try_lexical_convert.hpp:42, from /usr/include/boost/lexical_cast.hpp:32, 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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] const level* level_building = NULL; ^~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 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 'unsigned int'} [-Wsign-compare] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 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] int mouse_y = e.y; ^~~~~~~ src/slider.cpp:165:8: warning: unused variable 'mouse_y' [-Wunused-variable] int mouse_y = e.y; ^~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 -DIMPLEMENT_SAVE_PNG \ -c src/solid_map.cpp In file included from src/solid_map.cpp:1: src/solid_map.cpp: In member function 'void solid_map::set_solid(int, int, bool)': src/asserts.hpp:49:31: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] #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' ASSERT_EQ(solid_.size(), area_.w()*area_.h()); ^~~~~~~~~ In file included from src/solid_map.cpp:1: src/solid_map.cpp: In member function 'void solid_map::apply_offsets(const std::vector&)': src/asserts.hpp:59:31: warning: comparison of integer expressions of different signedness: 'const int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] #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' ASSERT_LT(segment, offsets.size()-1); ^~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} and 'int' [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] for(int n = 0; n != channels_to_sounds_playing.size(); ++n) { ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sound.cpp:535:22: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 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 'unsigned int'} [-Wsign-compare] for(int n = 0; n != queued_sounds.size(); ++n) { ~~^~~~~~~~~~~~~~~~~~~~~~~ src/sound.cpp:553:22: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 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 'unsigned int'} [-Wsign-compare] for(int n = 0; n != channels_to_sounds_playing.size(); ++n) { ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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] int coins; ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] int shake_x_offset,shake_y_offset; ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: warning: when initialized here [-Wreorder] 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 'unsigned int'} [-Wsign-compare] 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] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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] static int last_mouse = 0; ^~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 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 'unsigned int'} [-Wsign-compare] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 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] 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] int coins; ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] int shake_x_offset,shake_y_offset; ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: warning: when initialized here [-Wreorder] 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] int zorder_; ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] size_t width_; ^~~~~~ src/hex_map.hpp:26:2: warning: when initialized here [-Wreorder] 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] 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] 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] 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] 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] 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] 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 'unsigned int'} [-Wsign-compare] if(index < 0 || index >= labels.size()) { ~~~~~~^~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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::__cxx11::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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] for(int n = 0; n != v.size(); ++n) { ~~^~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] for(int m = 0; m != stats.num_elements(); ++m) { ~~^~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 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 'unsigned int'} [-Wsign-compare] 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] int coins; ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] int shake_x_offset,shake_y_offset; ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: warning: when initialized here [-Wreorder] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 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] int zorder_; ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] size_t width_; ^~~~~~ src/hex_map.hpp:26:2: warning: when initialized here [-Wreorder] 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] 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] 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] 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] 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] 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 'unsigned int'} [-Wsign-compare] for(int n = 0; n != queue.size(); ++n) { ~~^~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] if(palette < 0 || palette >= palettes.size() || palettes[palette].mapping.empty()) { ~~~~~~~~^~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 'unsigned int'} [-Wsign-compare] 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] int coins; ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] int shake_x_offset,shake_y_offset; ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: warning: when initialized here [-Wreorder] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 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] int zorder_; ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] size_t width_; ^~~~~~ src/hex_map.hpp:26:2: warning: when initialized here [-Wreorder] 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] 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] 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] 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] 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] 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] 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] entity* parent_; ^~~~~~~ src/shaders.hpp:161:6: warning: 'int gles2::shader_program::zorder_' [-Wreorder] int zorder_; ^~~~~~~ src/shaders.cpp:945:1: warning: when initialized here [-Wreorder] 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] entity* parent_; ^~~~~~~ src/shaders.hpp:161:6: warning: 'int gles2::shader_program::zorder_' [-Wreorder] int zorder_; ^~~~~~~ src/shaders.cpp:950:1: warning: when initialized here [-Wreorder] shader_program::shader_program(const variant& node, entity* obj) ^~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 'unsigned int'} [-Wsign-compare] 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] const int ticks = SDL_GetTicks(); ^~~~~ src/surface_formula.cpp:122:6: warning: unused variable 'skip' [-Wunused-variable] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] for(int n = 0; n != image.size(); ++n) { ~~^~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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] if(!color==3){ ^~ src/surface_scaling.cpp:26:6: note: add parentheses around left hand side expression to silence this warning if(!color==3){ ^~~~~~ ( ) src/surface_scaling.cpp:26:12: warning: comparison of constant '3' with boolean expression is always false [-Wbool-compare] 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] if(!color==3){ ^~ src/surface_scaling.cpp:52:6: note: add parentheses around left hand side expression to silence this warning if(!color==3){ ^~~~~~ ( ) src/surface_scaling.cpp:52:12: warning: comparison of constant '3' with boolean expression is always false [-Wbool-compare] 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] 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 'unsigned int' [-Wsign-compare] 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' #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 'unsigned int' [-Wsign-compare] 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' #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 'unsigned int' [-Wsign-compare] 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' #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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 'unsigned int'} [-Wsign-compare] for(int n = 0; n != value_names_->size(); ++n) { ~~^~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 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 'unsigned int'} [-Wsign-compare] 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] boost::asio::deadline_timer timer_; ^~~~~~ src/tbs_bot.hpp:30:14: warning: 'std::__cxx11::string tbs::bot::host_' [-Wreorder] std::string host_, port_; ^~~~~ src/tbs_bot.cpp:11:1: warning: when initialized here [-Wreorder] 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 'unsigned int'} [-Wsign-compare] for(int n = 0; n != validate.num_elements(); ++n) { ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 'unsigned int'} [-Wsign-compare] 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] GAME_STATE state_; ^~~~~~ src/tbs_game.hpp:105:6: warning: 'int tbs::game::state_id_' [-Wreorder] int state_id_; //upward counting integer keeping track of the game state. ^~~~~~~~~ src/tbs_game.cpp:123:1: warning: when initialized here [-Wreorder] 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] GAME_STATE state_; ^~~~~~ src/tbs_game.hpp:105:6: warning: 'int tbs::game::state_id_' [-Wreorder] int state_id_; //upward counting integer keeping track of the game state. ^~~~~~~~~ src/tbs_game.cpp:129:1: warning: when initialized here [-Wreorder] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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' #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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] } 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] for(int n = 0; n != cmd.num_elements(); ++n) { ~~^~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] explicit tooltip_item(const std::string& s, int fs=18) ^~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 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] 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] 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] 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] 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] 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] 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' #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 'unsigned int'} [-Wsign-compare] for(int n = 0; n != keys.size(); ++n) { ~~^~~~~~~~~~~~~~ src/texture.cpp: At global scope: src/texture.cpp:184:14: warning: 'std::__cxx11::string graphics::{anonymous}::mipmap_type_to_string(GLenum)' defined but not used [-Wunused-function] 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] threading::mutex& texture_registry_mutex() { ^~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 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 'unsigned int'} [-Wsign-compare] 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] const bool game_started = cli_info.game->game_state->started(); ^~~~~~~~~~~~ src/tbs_server.cpp:155:21: warning: unused variable 'user' [-Wunused-variable] 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] 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 'unsigned int'} [-Wsign-compare] if(games_size != games_.size()) { ~~~~~~~~~~~^~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 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 'unsigned int'} [-Wsign-compare] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 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] int coins; ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] int shake_x_offset,shake_y_offset; ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: warning: when initialized here [-Wreorder] 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] int zorder_; ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] size_t width_; ^~~~~~ src/hex_map.hpp:26:2: warning: when initialized here [-Wreorder] 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] 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] 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] 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] 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] 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 'unsigned int'} [-Wsign-compare] 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] int index = 0, first_index = -1; ^~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 'unsigned int'} [-Wsign-compare] 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] int coins; ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] int shake_x_offset,shake_y_offset; ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: warning: when initialized here [-Wreorder] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 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] int zorder_; ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] size_t width_; ^~~~~~ src/hex_map.hpp:26:2: warning: when initialized here [-Wreorder] 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] 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] 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] 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] 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] 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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 'unsigned int'} [-Wsign-compare] for(int n = 0; n != value.num_elements(); ++n) { ~~^~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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] int velocity_x_, velocity_y_; ^~~~~~~~~~~ src/water_particle_system.hpp:55:6: warning: 'int water_particle_system::cycle_' [-Wreorder] int cycle_; ^~~~~~ src/water_particle_system.cpp:38:1: warning: when initialized here [-Wreorder] water_particle_system::water_particle_system(const entity& e, const water_particle_system_factory& factory) ^~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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] if(b.num_elements() > 0 && (b[0].is_numeric() || b[0].is_string()) || ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 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 'unsigned int'} [-Wsign-compare] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 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] 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] 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] bool begin_enter_return_; ^~~~~~~~~~~~~~~~~~~ src/text_editor_widget.hpp:147:6: warning: 'int gui::text_editor_widget::last_click_at_' [-Wreorder] int last_click_at_, consecutive_clicks_; ^~~~~~~~~~~~~~ src/text_editor_widget.cpp:106:1: warning: when initialized here [-Wreorder] 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] bool begin_enter_return_; ^~~~~~~~~~~~~~~~~~~ src/text_editor_widget.hpp:147:6: warning: 'int gui::text_editor_widget::last_click_at_' [-Wreorder] int last_click_at_, consecutive_clicks_; ^~~~~~~~~~~~~~ src/text_editor_widget.cpp:138:1: warning: when initialized here [-Wreorder] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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] int begin_build = SDL_GetTicks(); ^~~~~~~~~~~ src/text_editor_widget.cpp:413:12: warning: unused variable 'begin_draw' [-Wunused-variable] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] } 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} and 'int' [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] } 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] for(int n = 0; n != text_.size(); ++n) { ~~^~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 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 'unsigned int'} [-Wsign-compare] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 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] 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] int selected_row_; ^~~~~~~~~~~~~ src/tree_view_widget.hpp:68:6: warning: 'int gui::tree_view_widget::char_height_' [-Wreorder] int char_height_; ^~~~~~~~~~~~ src/tree_view_widget.cpp:24:1: warning: when initialized here [-Wreorder] 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] int nrows_; ^~~~~~ src/tree_view_widget.hpp:74:7: warning: 'bool gui::tree_view_widget::swallow_clicks_' [-Wreorder] bool swallow_clicks_; ^~~~~~~~~~~~~~~ src/tree_view_widget.cpp:24:1: warning: when initialized here [-Wreorder] 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] int max_height_; ^~~~~~~~~~~ src/tree_view_widget.hpp:70:6: warning: 'int gui::tree_view_widget::min_col_size_' [-Wreorder] int min_col_size_; ^~~~~~~~~~~~~ src/tree_view_widget.cpp:24:1: warning: when initialized here [-Wreorder] 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] int max_col_size_; ^~~~~~~~~~~~~ src/tree_view_widget.hpp:69:6: warning: 'int gui::tree_view_widget::char_width_' [-Wreorder] int char_width_; ^~~~~~~~~~~ src/tree_view_widget.cpp:24:1: warning: when initialized here [-Wreorder] 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] int nrows_; ^~~~~~ src/tree_view_widget.hpp:70:6: warning: 'int gui::tree_view_widget::min_col_size_' [-Wreorder] int min_col_size_; ^~~~~~~~~~~~~ src/tree_view_widget.cpp:38:1: warning: when initialized here [-Wreorder] 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 'unsigned int'} and 'int' [-Wsign-compare] 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 'unsigned int'} and 'int' [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} and 'int' [-Wsign-compare] 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] 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] 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 'unsigned int'} and 'int' [-Wsign-compare] 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] variant* v = row_map_[selection].second; ^ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 'unsigned int'} [-Wsign-compare] 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] int coins; ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] int shake_x_offset,shake_y_offset; ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: warning: when initialized here [-Wreorder] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 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] int zorder_; ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] size_t width_; ^~~~~~ src/hex_map.hpp:26:2: warning: when initialized here [-Wreorder] 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] 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] 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] 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] 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] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] for(int n = 0; n != a.surface_segments_.size(); ++n) { ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} and 'const int' [-Wsign-compare] 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 'unsigned int'} and 'const int' [-Wsign-compare] 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 'unsigned int'} and 'const int' [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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] 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 'unsigned int'} [-Wsign-compare] 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] foreach(const variant& v, variant().range()) { ^ src/variant.cpp:1864:2: note: in expansion of macro 'foreach' foreach(const variant& v, variant().range()) { ^~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 'unsigned int'} [-Wsign-compare] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ 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] 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] 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] 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] 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] 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] 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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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 'unsigned int'} [-Wsign-compare] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 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] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:86:6: warning: 'int gui::widget::w_' [-Wreorder] int w_, h_; ^~ src/widget.cpp:28:1: warning: when initialized here [-Wreorder] 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] int w_, h_; ^~ src/widget.hpp:85:6: warning: 'int gui::widget::x_' [-Wreorder] int x_, y_; ^~ src/widget.cpp:28:1: warning: when initialized here [-Wreorder] 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] int zorder_; ^~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.cpp:28:1: warning: when initialized here [-Wreorder] 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] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.cpp:28:1: warning: when initialized here [-Wreorder] widget::widget(const variant& v, game_logic::formula_callable* e) ^~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 'unsigned int'} [-Wsign-compare] 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] 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] 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] 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] 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] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} and 'int' [-Wsign-compare] if(row.size() > width) { ~~~~~~~~~~~^~~~~~~ src/tile_map.cpp:800:9: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(r && ypos < r->y() || r && ypos > r->y2()) { ~~^~~~~~~~~~~~~~~~ src/tile_map.cpp:812:23: warning: unused variable 'obj' [-Wunused-variable] const level_object* obj = i->second; ^~~ src/tile_map.cpp:836:8: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(r && ypos < r->y() || r && ypos > r->y2()) { ~~^~~~~~~~~~~~~~~~ src/tile_map.cpp:863:9: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 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 'unsigned int'} [-Wsign-compare] if(variation_num >= p->variations.size()) { ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ src/tile_map.cpp:783:12: warning: unused variable 'begin_time' [-Wunused-variable] 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] 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 'unsigned int'} and 'const int' [-Wsign-compare] if(map_.size() <= y) { ~~~~~~~~~~~~^~~~ src/tile_map.cpp:1035:16: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 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 'unsigned int'} and 'const int' [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] if(index >= row->positive_cells.size()) { g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 'unsigned int'} [-Wsign-compare] 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] 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] while(started_at_ + 3000 > SDL_GetTicks()) { ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 'unsigned int'} [-Wsign-compare] for(int n = 0; n != value_names_->size(); ++n) { ~~^~~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 'unsigned int'} [-Wsign-compare] 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] int coins; ^~~~~ src/draw_scene.hpp:26:6: warning: 'int screen_position::shake_x_offset' [-Wreorder] int shake_x_offset,shake_y_offset; ^~~~~~~~~~~~~~ src/draw_scene.hpp:19:2: warning: when initialized here [-Wreorder] 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] int font_size; ^~~~~~~~~ src/tooltip.hpp:26:14: warning: 'std::__cxx11::string gui::tooltip_item::text' [-Wreorder] std::string text; ^~~~ src/tooltip.hpp:23:11: warning: when initialized here [-Wreorder] 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] VERTICAL_ALIGN align_v_; ^~~~~~~~ src/widget.hpp:87:6: warning: 'int gui::widget::true_x_' [-Wreorder] int true_x_; ^~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:101:10: warning: 'gui::widget::disabled_opacity_' will be initialized after [-Wreorder] uint8_t disabled_opacity_; ^~~~~~~~~~~~~~~~~ src/widget.hpp:90:7: warning: 'bool gui::widget::tooltip_displayed_' [-Wreorder] bool tooltip_displayed_; ^~~~~~~~~~~~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] widget() ^~~~~~ src/widget.hpp:98:6: warning: 'gui::widget::zorder_' will be initialized after [-Wreorder] int zorder_; ^~~~~~~ src/widget.hpp:93:32: warning: 'game_logic::formula_callable* gui::widget::environ_' [-Wreorder] game_logic::formula_callable* environ_; ^~~~~~~~ src/widget.hpp:69:2: warning: when initialized here [-Wreorder] 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] int zorder_; ^~~~~~~ src/hex_map.hpp:64:9: warning: 'size_t hex::hex_map::width_' [-Wreorder] size_t width_; ^~~~~~ src/hex_map.hpp:26:2: warning: when initialized here [-Wreorder] 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] 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] 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] 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] 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] 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 'unsigned int'} [-Wsign-compare] for(int n = 0; n != files.size(); ++n) { ~~^~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 'unsigned int'} [-Wsign-compare] for(int n = 0; n != value_names_->size(); ++n) { ~~^~~~~~~~~~~~~~~~~~~~~~~ src/utility_query.cpp: In function 'std::__cxx11::string modify_variant_text(const string&, variant, variant, int, int, std::__cxx11::string)': src/utility_query.cpp:242:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 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 'unsigned int'} [-Wsign-compare] for(int n = a.size(); n < b.size(); ++n) { ~~^~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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] std::string text_; ^~~~~ src/vector_text.hpp:53:7: warning: 'bool gui::vector_text::visible_' [-Wreorder] bool visible_; ^~~~~~~~ src/vector_text.cpp:12:1: warning: when initialized here [-Wreorder] vector_text::vector_text(const variant& node) ^~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-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 'unsigned int'} [-Wsign-compare] 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] 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 'unsigned int'} [-Wsign-compare] for(int n = 0; n != output_areas.size(); ++n) { ~~^~~~~~~~~~~~~~~~~~~~~~ g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fno-inline-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 -march=i586 -mtune=generic -fno-inline-functions -fthreadsafe-statics -Wno-narrowing -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libpng16 \ IMG_savepng.o achievements.o animation_creator.o animation_preview_widget.o animation_widget.o asserts.o background.o background_task_pool.o base64.o blur.o border_widget.o button.o character_editor_dialog.o checkbox.o checksum.o code_editor_dialog.o code_editor_widget.o color_chart.o compress.o current_generator.o decimal.o difficulty.o drag_widget.o dropdown_widget.o editor_dialogs.o editor_formula_functions.o editor_layers_dialog.o editor_stats_dialog.o editor_variable_info.o external_text_editor.o clipboard.o collision_utils.o color_utils.o controls.o controls_dialog.o custom_object.o custom_object_callable.o custom_object_dialog.o custom_object_functions.o custom_object_type.o debug_console.o dialog.o draw_number.o draw_scene.o draw_tile.o editor.o editor_level_properties_dialog.o editor_module_properties_dialog.o entity.o file_chooser_dialog.o filesystem.o font.o formula.o formula_callable_definition.o formula_constants.o formula_function.o formula_function_registry.o formula_profiler.o formula_tokenizer.o formula_variable_storage.o frame.o framed_gui_element.o game_registry.o geometry.o gles2.o globals.o graphical_font.o graphical_font_label.o grid_widget.o group_property_editor_dialog.o gui_formula_functions.o gui_section.o hex_map.o hex_object.o hex_tile.o hex_tileset_editor_dialog.o http_client.o http_server.o i18n.o image_widget.o input.o iphone_controls.o joystick.o json_parser.o json_tokenizer.o key.o key_button.o label.o language_dialog.o level.o level_logic.o level_object.o level_runner.o level_solid_map.o light.o load_level_nothread.o main.o md5.o message_dialog.o module.o module_web_server.o movement_script.o multi_tile_pattern.o multiplayer.o object_events.o options_dialog.o particle_system.o pathfinding.o pause_game_dialog.o playable_custom_object.o player_info.o preferences.o preprocessor.o preview_tileset_widget.o progress_bar.o property_editor_dialog.o random.o raster.o raster_distortion.o rectangle_rotator.o scrollbar_widget.o scrollable_widget.o segment_editor_dialog.o settings_dialog.o shaders.o sys.o slider.o solid_map.o sound.o speech_dialog.o stats.o stats_server.o stats_server_main.o stats_web_server.o string_utils.o surface_cache.o surface_formula.o surface_palette.o surface_scaling.o surface.o tbs_ai_player.o tbs_bot.o tbs_client.o tbs_functions.o tbs_game.o tbs_server.o tbs_web_server.o texture.o texture_frame_buffer.o text_editor_widget.o thread.o tile_map.o tileset_editor_dialog.o tooltip.o translate.o tree_view_widget.o utils.o variant.o variant_callable.o variant_utils.o water.o water_particle_system.o weather_particle_system.o widget.o widget_factory.o wml_formula_callable.o unit_test.o formula_test.o loading_screen.o utility_object_compiler.o utility_query.o utility_render_level.o vector_text.o wm.o -o game \ -lX11 -lGLEW -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.71971 + 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 + /usr/lib/rpm/find-lang frogatto + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/frogatto-buildroot (auto) Verifying and fixing files in /usr/src/tmp/frogatto-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/frogatto-buildroot/ (default) Compressing files in /usr/src/tmp/frogatto-buildroot (auto) Verifying ELF objects in /usr/src/tmp/frogatto-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) verify-elf: WARNING: ./usr/libexec/frogatto/game: uses non-LFS functions: __xstat readdir Hardlinking identical .pyc and .opt-?.pyc files Hardlinking identical .pyc and .pyo files Processing files: frogatto-1.3.3-alt2_13 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.D1bDbu 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.RvtACu 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-alt2_13, /bin/sh, /lib/ld-linux.so.2, libGL.so.1 >= set:pjdsnYMZlPIOXHH4ksAk5MYZ7fnZtSkQDmplWpqDCN3pdyrQiJiFBmkVl44NGEZnfJJ29TOZleHjsMBICBd8F44iD5QSeUNeBhdCwyWsDezZklo8EKpZcQc31amO4QUdKDHylTZiQMo0, libGLEW.so.2.1 >= set:pjTPEI7u86tTfeffYoNS68uIPllI8Zztmw5I54zf2xm77xK4xK3uaeZ9I80z3bcVFYBxr9QorbIyE8EaxkOUb1oOQYwqSZcZy1FXXT049W6RQOtZd0D1PDimg4pf0CGE3dMdA66u7rxeQdjoDDy3s8, libGLU.so.1 >= set:jiBA9, libSDL-1.2.so.0 >= set:lfZpd6dfEWpAPmeDgMyjacWsMAFcnWUeCvzo7K8mF5S8DtYkuPNIQfayUZl5v4hYyNVCp7MnH3Kt99mnmLyefOsazBJIwXppPnlVUq9SA2z5DBZIwt6qHlY8TKf3fnWbl2o9qVFD9B2Cz2, libSDL_image-1.2.so.0 >= set:jifK3, libSDL_mixer-1.2.so.0 >= set:kfMSUHfEkJL3JrOfcrzhUEV4T87WpedToJE0yxIW2, libSDL_ttf-2.0.so.0 >= set:jgUAJFwQRIkj0, libX11.so.6 >= set:okJ5tfbmTzZlFTIE6owcFvpi3wI8S2wcwglWZjqG0, libboost_regex.so.1.67.0 >= set:okZeWeIwp0bGidrsifh3ZjYV3IafL2pDGazYjmFkZLvJr8, libboost_system.so.1.67.0 >= set:jh9iwjC2, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.11), libc.so.6(GLIBC_2.15), libc.so.6(GLIBC_2.3.2), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), libc.so.6(GLIBC_2.7), libc.so.6(GLIBC_2.8), libc.so.6(GLIBC_2.9), libgcc_s.so.1(GCC_3.0), libgcc_s.so.1(GLIBC_2.0), libm.so.6(GLIBC_2.0), libm.so.6(GLIBC_2.1), libpng16.so.16 >= set:lhHMiYgG4QJEYopg6hZuf7FmOWsszDn5nZ0bPUE0, libpng16.so.16(PNG16_0), libpthread.so.0(GLIBC_2.0), libpthread.so.0(GLIBC_2.1), libpthread.so.0(GLIBC_2.3.2), libpthread.so.0(GLIBC_2.3.3), libstdc++.so.6(CXXABI_1.3), libstdc++.so.6(CXXABI_1.3.9), libstdc++.so.6(GLIBCXX_3.4), libstdc++.so.6(GLIBCXX_3.4.11), libstdc++.so.6(GLIBCXX_3.4.15), libstdc++.so.6(GLIBCXX_3.4.20), libstdc++.so.6(GLIBCXX_3.4.21), libstdc++.so.6(GLIBCXX_3.4.9), libz.so.1 >= set:kiuXOSqHAe1, libz.so.1(ZLIB_1.2.0), rtld(GNU_HASH), rtld(GNU_UNIQUE) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.LlMDE2 Creating frogatto-debuginfo package Processing files: frogatto-gamedata-1.3.3-alt2_13 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.68669 + 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 modules/frogatto/CHANGELOG 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.c2CKwa 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.Vlhsxl 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-alt2_13 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.CNg7ux find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.mBawQp find-requires: running scripts (debuginfo) Requires: frogatto = 1.3.3-alt2_13, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libGL.so.1), debug(libGLEW.so.2.1), debug(libGLU.so.1), debug(libSDL-1.2.so.0), debug(libSDL_image-1.2.so.0), debug(libSDL_mixer-1.2.so.0), debug(libSDL_ttf-2.0.so.0), debug(libX11.so.6), debug(libboost_regex.so.1.67.0), debug(libboost_system.so.1.67.0), debug(libc.so.6), debug(libgcc_s.so.1), debug(libm.so.6), debug(libpng16.so.16), debug(libpthread.so.0), debug(libstdc++.so.6), debug(libz.so.1) Adding to frogatto a strict dependency on frogatto-gamedata Adding to frogatto-debuginfo a strict dependency on frogatto Wrote: /usr/src/RPM/RPMS/i586/frogatto-1.3.3-alt2_13.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/noarch/frogatto-gamedata-1.3.3-alt2_13.noarch.rpm (w2T8.xzdio) Wrote: /usr/src/RPM/RPMS/i586/frogatto-debuginfo-1.3.3-alt2_13.i586.rpm (w2T8.xzdio) 2145.11user 143.32system 6:38.67elapsed 574%CPU (0avgtext+0avgdata 567012maxresident)k 0inputs+0outputs (0major+20476023minor)pagefaults 0swaps 2223.09user 155.86system 8:07.82elapsed 487%CPU (0avgtext+0avgdata 567012maxresident)k 6152inputs+0outputs (0major+21026412minor)pagefaults 0swaps --- frogatto-1.3.3-alt2_13.i586.rpm.repo 2019-03-05 14:45:50.000000000 +0000 +++ frogatto-1.3.3-alt2_13.i586.rpm.hasher 2021-07-25 11:56:07.969325286 +0000 @@ -84,3 +84,3 @@ File: /usr/libexec/frogatto 40755 root:root -File: /usr/libexec/frogatto/game 100755 root:root 770ce6410863bd64fae778796d8210b6 +File: /usr/libexec/frogatto/game 100755 root:root e00361616a8c323d7816b5239122a95a File: /usr/share/locale/ar/LC_MESSAGES/frogatto.mo 100644 root:root 9afbfb20613df8c11f2748dfc2dc0c95 @@ -113,2 +113,2 @@ File: /usr/share/locale/zh_CN/LC_MESSAGES/frogatto.mo 100644 root:root a37f28674572b4748dd91716028e3635 -RPMIdentity: b719d8a75cede90eed4942eb5ec81bb2 +RPMIdentity: ec5237e69640f4ee7ec70bac05d91187 --- frogatto-debuginfo-1.3.3-alt2_13.i586.rpm.repo 2019-03-05 14:45:51.000000000 +0000 +++ frogatto-debuginfo-1.3.3-alt2_13.i586.rpm.hasher 2021-07-25 11:56:08.118320018 +0000 @@ -1,4 +1,4 @@ -/usr/lib/debug/.build-id/3f 40755 root:root -/usr/lib/debug/.build-id/3f/f855eafdcc4836cd1394f34856b727592ec4d7 120777 root:root ../../../../libexec/frogatto/game -/usr/lib/debug/.build-id/3f/f855eafdcc4836cd1394f34856b727592ec4d7.debug 120777 root:root ../../usr/libexec/frogatto/game.debug +/usr/lib/debug/.build-id/09 40755 root:root +/usr/lib/debug/.build-id/09/d28deb943f08ff429d1c9d1c8d0aa59e2d2211 120777 root:root ../../../../libexec/frogatto/game +/usr/lib/debug/.build-id/09/d28deb943f08ff429d1c9d1c8d0aa59e2d2211.debug 120777 root:root ../../usr/libexec/frogatto/game.debug /usr/lib/debug/usr/libexec/frogatto 40755 root:root @@ -385,7 +385,7 @@ Provides: frogatto-debuginfo = 1.3.3-alt2_13:sisyphus+223694.100.1.2 -File: /usr/lib/debug/.build-id/3f 40755 root:root -File: /usr/lib/debug/.build-id/3f/f855eafdcc4836cd1394f34856b727592ec4d7 120777 root:root ../../../../libexec/frogatto/game -File: /usr/lib/debug/.build-id/3f/f855eafdcc4836cd1394f34856b727592ec4d7.debug 120777 root:root ../../usr/libexec/frogatto/game.debug +File: /usr/lib/debug/.build-id/09 40755 root:root +File: /usr/lib/debug/.build-id/09/d28deb943f08ff429d1c9d1c8d0aa59e2d2211 120777 root:root ../../../../libexec/frogatto/game +File: /usr/lib/debug/.build-id/09/d28deb943f08ff429d1c9d1c8d0aa59e2d2211.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 4487f5534e284c30732fcd9b1c1456ff +File: /usr/lib/debug/usr/libexec/frogatto/game.debug 100644 root:root c8fd1eec168f28f46135c99ec88e20f2 File: /usr/src/debug/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d 40755 root:root @@ -749,2 +749,2 @@ File: /usr/src/debug/frogatto-a7ef3bfa0c32df4852bf057fab969c1a080edf4d/src/wml_formula_callable.hpp 100644 root:root d8f827a7b8d0d2b8b5a10e43ad3c0897 -RPMIdentity: 45b61edc968a1fc46eff5345a58d1d4f +RPMIdentity: 1f425e555f02d8250301404397abfe54