<86>Dec 4 18:19:04 userdel[1437818]: delete user 'rooter' <86>Dec 4 18:19:04 groupadd[1437887]: group added to /etc/group: name=rooter, GID=639 <86>Dec 4 18:19:04 groupadd[1437887]: group added to /etc/gshadow: name=rooter <86>Dec 4 18:19:04 groupadd[1437887]: new group: name=rooter, GID=639 <86>Dec 4 18:19:04 useradd[1437964]: new user: name=rooter, UID=639, GID=639, home=/root, shell=/bin/bash <86>Dec 4 18:19:04 userdel[1438009]: delete user 'builder' <86>Dec 4 18:19:04 groupadd[1438077]: group added to /etc/group: name=builder, GID=640 <86>Dec 4 18:19:04 groupadd[1438077]: group added to /etc/gshadow: name=builder <86>Dec 4 18:19:04 groupadd[1438077]: new group: name=builder, GID=640 <86>Dec 4 18:19:04 useradd[1438122]: new user: name=builder, UID=640, GID=640, home=/usr/src, shell=/bin/bash <13>Dec 4 18:19:13 rpmi: libxkbcommon-1.0.3-alt1 sisyphus+262369.100.1.1 1606206980 installed <13>Dec 4 18:19:13 rpmi: libglvnd-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124268 installed <13>Dec 4 18:19:13 rpmi: libexpat-2.2.10-alt1 sisyphus+259966.100.1.1 1602824518 installed <13>Dec 4 18:19:13 rpmi: xorg-proto-devel-2020.1-alt1 sisyphus+250406.100.1.1 1587554810 installed <13>Dec 4 18:19:13 rpmi: libts0-1.22-alt3 sisyphus+259302.100.1.1 1601981878 installed <13>Dec 4 18:19:13 rpmi: qt5-base-common-5.15.1-alt3 sisyphus+262098.100.1.1 1605773495 installed <13>Dec 4 18:19:13 rpmi: libmtdev-1.1.6-alt1 sisyphus+250141.100.1.1 1587131316 installed <13>Dec 4 18:19:13 rpmi: udev-rules-1:247-alt1 sisyphus+262610.100.3.1 1606868507 installed <13>Dec 4 18:19:13 rpmi: libpng16-1.6.37-alt1 sisyphus+236677.100.2.1 1566917998 installed <13>Dec 4 18:19:13 rpmi: libICE-1.0.10-alt1 sisyphus+247690.100.1.1 1584000387 installed <13>Dec 4 18:19:13 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268152 installed <13>Dec 4 18:19:13 rpmi: libwayland-server-1.18.0-alt1 sisyphus+255795.100.1.1 1596475648 installed <13>Dec 4 18:19:13 rpmi: libXau-devel-1.0.9-alt1 sisyphus+223149.200.2.1 1551268152 installed <13>Dec 4 18:19:13 rpmi: libSM-1.2.3-alt1 sisyphus+226734.100.2.1 1554586158 installed <13>Dec 4 18:19:13 rpmi: rpm-macros-qt5-5.15.1-alt3 sisyphus+262098.100.1.1 1605772699 installed <13>Dec 4 18:19:13 rpmi: libGLES-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124268 installed <13>Dec 4 18:19:13 rpmi: libOpenGL-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124268 installed <13>Dec 4 18:19:13 rpmi: xxd-4:8.2.0011-alt2 sisyphus+258375.2100.14.3 1600986704 installed <13>Dec 4 18:19:13 rpmi: vulkan-filesystem-1.2.152-alt1 sisyphus+257666.300.3.1 1599632436 installed <13>Dec 4 18:19:13 rpmi: libvulkan1-1.2.152-alt1 sisyphus+257666.300.3.1 1599632437 installed <13>Dec 4 18:19:13 rpmi: libsqlite3-3.33.0-alt1 sisyphus+256344.100.1.1 1597522272 installed <13>Dec 4 18:19:13 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed <13>Dec 4 18:19:13 rpmi: libproxy-0.4.15-alt5 sisyphus+261556.100.1.1 1605106716 installed <13>Dec 4 18:19:13 rpmi: libpcre2-10.35-alt1 sisyphus+251510.100.1.1 1589115526 installed <13>Dec 4 18:19:13 rpmi: liblmdb-0.9.23-alt1 sisyphus+225277.100.2.1 1553001679 installed <13>Dec 4 18:19:13 rpmi: libkeyutils-1.6.1-alt1 sisyphus+256015.100.1.1 1596820124 installed <13>Dec 4 18:19:13 rpmi: libjpeg-2:2.0.2-alt1 sisyphus+226996.100.1.1 1554902907 installed <13>Dec 4 18:19:13 rpmi: libwacom-data-1.6-alt1 sisyphus+260872.100.1.1 1604391467 installed <13>Dec 4 18:19:15 rpmi: libicu67-1:6.7.1-alt2 sisyphus+252432.100.2.2 1590796126 installed <13>Dec 4 18:19:15 rpmi: libqt5-core-5.15.1-alt3 sisyphus+262098.100.1.1 1605773495 installed <13>Dec 4 18:19:15 rpmi: libqt5-concurrent-5.15.1-alt3 sisyphus+262098.100.1.1 1605773495 installed <13>Dec 4 18:19:15 rpmi: libqt5-sql-5.15.1-alt3 sisyphus+262098.100.1.1 1605773495 installed <13>Dec 4 18:19:15 rpmi: libqt5-test-5.15.1-alt3 sisyphus+262098.100.1.1 1605773495 installed <13>Dec 4 18:19:15 rpmi: libqt5-xml-5.15.1-alt3 sisyphus+262098.100.1.1 1605773495 installed <13>Dec 4 18:19:15 rpmi: libgudev-1:234-alt1 sisyphus+258314.700.14.2 1600844807 installed <13>Dec 4 18:19:15 rpmi: libwacom-1.6-alt1 sisyphus+260872.100.1.1 1604391471 installed <13>Dec 4 18:19:15 rpmi: libgraphite2-1.3.14-alt2 sisyphus+250009.100.1.1 1586943065 installed <13>Dec 4 18:19:15 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Dec 4 18:19:15 rpmi: libevdev-1.10.0-alt1 sisyphus+260476.100.1.1 1603764233 installed <13>Dec 4 18:19:15 rpmi: libinput-1.16.4-alt1 sisyphus+262618.100.1.1 1606464527 installed <13>Dec 4 18:19:15 rpmi: libcom_err-1.45.6.0.24.af1a-alt1 sisyphus+262279.100.1.1 1606088229 installed <13>Dec 4 18:19:15 rpmi: libbrotlicommon-1.0.9-alt2 sisyphus+257777.100.1.1 1599688017 installed <13>Dec 4 18:19:15 rpmi: libbrotlidec-1.0.9-alt2 sisyphus+257777.100.1.1 1599688017 installed <13>Dec 4 18:19:15 rpmi: libharfbuzz-2.6.8-alt1 sisyphus+254028.100.1.1 1593106819 installed <13>Dec 4 18:19:15 rpmi: libfreetype-2.10.4-alt2 sisyphus+260293.100.2.1 1604479496 installed <13>Dec 4 18:19:16 rpmi: fontconfig-2.13.1-alt1 sisyphus+257555.100.1.1 1599475160 installed Updating fonts cache: <29>Dec 4 18:19:17 fontconfig: Updating fonts cache: succeeded [ DONE ] <13>Dec 4 18:19:17 rpmi: liblz4-1:1.9.3-alt1 sisyphus+262305.100.1.1 1606099167 installed <13>Dec 4 18:19:17 rpmi: libgpg-error-1.36-alt1 sisyphus+225621.300.1.1 1553521082 installed <13>Dec 4 18:19:17 rpmi: libgcrypt20-1.8.5-alt3 sisyphus+239622.100.1.1 1571746654 installed <13>Dec 4 18:19:17 rpmi: libsystemd-1:247-alt1 sisyphus+262610.100.3.1 1606868459 installed <13>Dec 4 18:19:17 rpmi: libdbus-1.12.18-alt1 sisyphus+252758.100.1.1 1591203693 installed <13>Dec 4 18:19:17 rpmi: libavahi-0.8-alt1 sisyphus+255349.240.4.1 1595604514 installed <13>Dec 4 18:19:17 rpmi: libcups-2.3.1-alt2 sisyphus+255816.100.2.1 1596533556 installed <13>Dec 4 18:19:17 rpmi: libqt5-dbus-5.15.1-alt3 sisyphus+262098.100.1.1 1605773495 installed <13>Dec 4 18:19:17 rpmi: libSDL2-2.0.12-alt4 sisyphus+261827.100.1.1 1605520031 installed <13>Dec 4 18:19:17 rpmi: tslib-1.22-alt3 sisyphus+259302.100.1.1 1601981878 installed <13>Dec 4 18:19:17 rpmi: libxshmfence-1.3-alt1 sisyphus+223149.1000.2.1 1551268571 installed <13>Dec 4 18:19:18 rpmi: libX11-locales-3:1.6.12-alt1 sisyphus+256796.100.1.1 1598422159 installed <13>Dec 4 18:19:18 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949353 installed <13>Dec 4 18:19:18 rpmi: libxcb-1.14-alt1 sisyphus+247358.200.1.3 1583854228 installed <13>Dec 4 18:19:18 rpmi: libX11-3:1.6.12-alt1 sisyphus+256796.100.1.1 1598422166 installed <13>Dec 4 18:19:18 rpmi: libXext-1.3.4-alt1 sisyphus+225206.700.1.2 1552949429 installed <13>Dec 4 18:19:22 rpmi: libxcb-devel-1.14-alt1 sisyphus+247358.200.1.3 1583854228 installed <13>Dec 4 18:19:22 rpmi: libX11-devel-3:1.6.12-alt1 sisyphus+256796.100.1.1 1598422166 installed <13>Dec 4 18:19:22 rpmi: libXxf86vm-1.1.4-alt2 1527672187 installed <13>Dec 4 18:19:22 rpmi: libXdamage-1.1.5-alt1 sisyphus+225206.500.1.2 1552949286 installed <13>Dec 4 18:19:22 rpmi: libXfixes-5.0.3-alt1 sisyphus+226736.100.2.2 1554614841 installed <13>Dec 4 18:19:22 rpmi: libxcbutil-icccm-0.4.1-alt2 sisyphus+229000.100.1.1 1557152221 installed <13>Dec 4 18:19:22 rpmi: libxcbutil-1:0.4.0-alt1 1413392888 installed <13>Dec 4 18:19:22 rpmi: libxcbutil-image-0.4.0-alt1 1446204182 installed <13>Dec 4 18:19:22 rpmi: libxcbutil-keysyms-0.4.0-alt1 1446204124 installed <13>Dec 4 18:19:22 rpmi: libxcb-render-util-0.3.9-alt3 sisyphus+222674.100.1.1 1550989886 installed <13>Dec 4 18:19:22 rpmi: libxkbcommon-x11-1.0.3-alt1 sisyphus+262369.100.1.1 1606206980 installed <13>Dec 4 18:19:22 rpmi: libwayland-client-1.18.0-alt1 sisyphus+255795.100.1.1 1596475648 installed <13>Dec 4 18:19:22 rpmi: libpciaccess-1:0.16-alt1 sisyphus+234814.100.1.1 1563438291 installed <13>Dec 4 18:19:22 rpmi: libdrm-1:2.4.103-alt1 sisyphus+261080.100.1.1 1604598368 installed <13>Dec 4 18:19:22 rpmi: libGLX-mesa-4:20.2.3-alt1 sisyphus+262368.100.1.1 1606200337 installed <13>Dec 4 18:19:22 rpmi: libgbm-4:20.2.3-alt1 sisyphus+262368.100.1.1 1606200337 installed <13>Dec 4 18:19:22 rpmi: libEGL-mesa-4:20.2.3-alt1 sisyphus+262368.100.1.1 1606200337 installed <13>Dec 4 18:19:22 rpmi: libEGL-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124268 installed <13>Dec 4 18:19:22 rpmi: libGLX-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124268 installed <13>Dec 4 18:19:22 rpmi: libGL-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124268 installed <13>Dec 4 18:19:22 rpmi: libglvnd-devel-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124268 installed <13>Dec 4 18:19:22 rpmi: gcc-c++-common-1.4.26-alt1 icarus+262780.400.2.1 1606887104 installed <13>Dec 4 18:19:23 rpmi: libstdc++10-devel-10.2.1-alt2 icarus+262842.100.1.1 1606948274 installed <13>Dec 4 18:19:24 rpmi: gcc10-c++-10.2.1-alt2 icarus+262842.100.1.1 1606948274 installed <13>Dec 4 18:19:24 rpmi: gcc-c++-10-alt1 icarus+262780.300.2.1 1606888886 installed <13>Dec 4 18:19:24 rpmi: libp11-kit-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Dec 4 18:19:24 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825062 installed <13>Dec 4 18:19:24 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Dec 4 18:19:24 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Dec 4 18:19:25 rpmi: ca-certificates-2020.10.22-alt1 sisyphus+260224.300.2.1 1603549301 installed <13>Dec 4 18:19:25 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Dec 4 18:19:25 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Dec 4 18:19:25 rpmi: libcrypto1.1-1.1.1g-alt1 sisyphus+249982.60.8.1 1587743711 installed <13>Dec 4 18:19:25 rpmi: libssl1.1-1.1.1g-alt1 sisyphus+249982.60.8.1 1587743711 installed <13>Dec 4 18:19:25 rpmi: python3-3.8.6-alt1 sisyphus+259085.100.2.1 1601904174 installed <13>Dec 4 18:19:26 rpmi: python3-base-3.8.6-alt1 sisyphus+259085.100.2.1 1601904174 installed <13>Dec 4 18:19:27 rpmi: libpython3-3.8.6-alt1 sisyphus+259085.100.2.1 1601904174 installed <13>Dec 4 18:19:27 rpmi: libvulkan-devel-1.2.152-alt1 sisyphus+257666.300.3.1 1599632437 installed <86>Dec 4 18:19:27 groupadd[1466113]: group added to /etc/group: name=_keytab, GID=499 <86>Dec 4 18:19:27 groupadd[1466113]: group added to /etc/gshadow: name=_keytab <86>Dec 4 18:19:27 groupadd[1466113]: new group: name=_keytab, GID=499 <13>Dec 4 18:19:27 rpmi: libkrb5-1.18.3-alt1 sisyphus+262109.100.1.1 1605777180 installed <13>Dec 4 18:19:27 rpmi: libqt5-network-5.15.1-alt3 sisyphus+262098.100.1.1 1605773495 installed <13>Dec 4 18:19:27 rpmi: libqt5-xcbqpa-5.15.1-alt3 sisyphus+262098.100.1.1 1605773495 installed <13>Dec 4 18:19:27 rpmi: libqt5-eglfskmssupport-5.15.1-alt3 sisyphus+262098.100.1.1 1605773495 installed <13>Dec 4 18:19:27 rpmi: libqt5-eglfsdeviceintegration-5.15.1-alt3 sisyphus+262098.100.1.1 1605773495 installed <13>Dec 4 18:19:28 rpmi: libqt5-gui-5.15.1-alt3 sisyphus+262098.100.1.1 1605773495 installed <13>Dec 4 18:19:28 rpmi: libqt5-widgets-5.15.1-alt3 sisyphus+262098.100.1.1 1605773495 installed <13>Dec 4 18:19:28 rpmi: libqt5-opengl-5.15.1-alt3 sisyphus+262098.100.1.1 1605773495 installed <13>Dec 4 18:19:28 rpmi: libqt5-printsupport-5.15.1-alt3 sisyphus+262098.100.1.1 1605773495 installed <13>Dec 4 18:19:28 rpmi: libssl-devel-1.1.1g-alt1 sisyphus+249982.60.8.1 1587743711 installed <13>Dec 4 18:19:29 rpmi: qt5-base-devel-5.15.1-alt3 sisyphus+262098.100.1.1 1605773495 installed <13>Dec 4 18:19:29 rpmi: libXext-devel-1.3.4-alt1 sisyphus+225206.700.1.2 1552949429 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/qgit-2.9-alt2.git8b3b822.nosrc.rpm Installing qgit-2.9-alt2.git8b3b822.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.99888 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf qgit-2.9 + echo 'Source #0 (qgit-2.9.tar):' Source #0 (qgit-2.9.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/qgit-2.9.tar + cd qgit-2.9 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (qgit-2.9-alt2.git8b3b822.patch):' Patch #0 (qgit-2.9-alt2.git8b3b822.patch): + /usr/bin/patch -p1 patching file .gear-rules patching file .gear/tags/list patching file .gear/upstream/remotes patching file qgit.appdata.xml patching file qgit.geany patching file qgit4.spec patching file src/common.h patching file src/filelist.cpp patching file src/listview.cpp patching file src/listview.h patching file src/mainimpl.cpp patching file src/mainview.ui patching file src/myprocess.cpp patching file src/revsview.cpp patching file src/revsview.h patching file src/revsview.ui patching file src/settings.ui patching file src/settingsimpl.cpp patching file src/settingsimpl.h + sed -i s,debug_and_release,release, qgit.pro + sed -i s,debug_and_release,release, src/src.pro + sed -i '/QMAKE_CXXFLAGS_RELEASE/s,-O2 ,-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic ,g' src/src.pro + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.77888 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd qgit-2.9 + qmake-qt5 qgit.pro Info: creating stash file /usr/src/RPM/BUILD/qgit-2.9/.qmake.stash + make -j8 cd src/ && ( test -e Makefile || /usr/bin/qmake-qt5 -o Makefile /usr/src/RPM/BUILD/qgit-2.9/src/src.pro ) && make -f Makefile make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' /usr/share/qt5/bin/uic commit.ui -o ui_commit.h make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' /usr/share/qt5/bin/uic console.ui -o ui_console.h make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' /usr/share/qt5/bin/uic customaction.ui -o ui_customaction.h make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' /usr/share/qt5/bin/uic help.ui -o ui_help.h make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' /usr/share/qt5/bin/uic fileview.ui -o ui_fileview.h make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' /usr/share/qt5/bin/uic patchview.ui -o ui_patchview.h make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' /usr/share/qt5/bin/uic revsview.ui -o ui_revsview.h make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' /usr/share/qt5/bin/uic rangeselect.ui -o ui_rangeselect.h make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' /usr/share/qt5/bin/uic mainview.ui -o ui_mainview.h make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' /usr/share/qt5/bin/uic settings.ui -o ui_settings.h make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../src -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o dataloader.o dataloader.cpp In file included from /usr/include/qt5/QtCore/qabstractitemmodel.h:43, from /usr/include/qt5/QtCore/QAbstractItemModel:1, from FileHistory.h:13, from dataloader.cpp:11: /usr/include/qt5/QtCore/qvariant.h: In constructor 'QVariant::Private::Private(uint)': /usr/include/qt5/QtCore/qvariant.h:401:20: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 401 | : type(variantType), is_shared(false), is_null(false) | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qcolor.h:47, from /usr/include/qt5/QtGui/QColor:1, from common.h:10, from FileHistory.h:14, from dataloader.cpp:11: /usr/include/qt5/QtGui/qrgba64.h: In member function 'constexpr uint QRgba64::toArgb32() const': /usr/include/qt5/QtGui/qrgba64.h:137:14: warning: conversion from 'quint64' {aka 'long long unsigned int'} to 'uint' {aka 'unsigned int'} may change value [-Wconversion] 134 | return ((ag >> 16) & 0xff000000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | | ((br << 16) & 0xff0000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | | (ag & 0xff00) | ~~~~~~~~~~~~~~~~~~~~~~~ 137 | | ((br >> 32) & 0xff); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QTimer:1, from dataloader.h:12, from dataloader.cpp:13: /usr/include/qt5/QtCore/qtimer.h: In member function 'void QTimer::setTimerType(Qt::TimerType)': /usr/include/qt5/QtCore/qtimer.h:77:59: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:2' may change value [-Wconversion] 77 | void setTimerType(Qt::TimerType atype) { this->type = atype; } | ^~~~~ dataloader.cpp: In member function 'bool DataLoader::start(SCList, SCRef, SCRef)': dataloader.cpp:74:17: warning: 'void QTime::start()' is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] 74 | loadTime.start(); | ^ In file included from /usr/include/qt5/QtCore/QTime:1, from dataloader.h:11, from dataloader.cpp:13: /usr/include/qt5/QtCore/qdatetime.h:235:55: note: declared here 235 | QT_DEPRECATED_X("Use QElapsedTimer instead") void start(); | ^~~~~ dataloader.cpp: In member function 'void DataLoader::on_timeout()': dataloader.cpp:107:49: warning: 'int QTime::elapsed() const' is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] 107 | emit loaded(fh, loadedBytes, loadTime.elapsed(), true, "", ""); | ^ In file included from /usr/include/qt5/QtCore/QTime:1, from dataloader.h:11, from dataloader.cpp:13: /usr/include/qt5/QtCore/qdatetime.h:237:54: note: declared here 237 | QT_DEPRECATED_X("Use QElapsedTimer instead") int elapsed() const; | ^~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../src -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o cache.o cache.cpp In file included from /usr/include/qt5/QtGui/qcolor.h:47, from /usr/include/qt5/QtGui/QColor:1, from common.h:10, from git.h:11, from cache.h:10, from cache.cpp:12: /usr/include/qt5/QtGui/qrgba64.h: In member function 'constexpr uint QRgba64::toArgb32() const': /usr/include/qt5/QtGui/qrgba64.h:137:14: warning: conversion from 'quint64' {aka 'long long unsigned int'} to 'uint' {aka 'unsigned int'} may change value [-Wconversion] 134 | return ((ag >> 16) & 0xff000000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | | ((br << 16) & 0xff0000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | | (ag & 0xff00) | ~~~~~~~~~~~~~~~~~~~~~~~ 137 | | ((br >> 32) & 0xff); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QVariant:1, from common.h:16, from git.h:11, from cache.h:10, from cache.cpp:12: /usr/include/qt5/QtCore/qvariant.h: In constructor 'QVariant::Private::Private(uint)': /usr/include/qt5/QtCore/qvariant.h:401:20: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 401 | : type(variantType), is_shared(false), is_null(false) | ^~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../src -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o exceptionmanager.o exceptionmanager.cpp make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../src -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o filelist.o filelist.cpp In file included from /usr/include/qt5/QtWidgets/qapplication.h:46, from /usr/include/qt5/QtWidgets/QApplication:1, from filelist.cpp:7: /usr/include/qt5/QtCore/qpoint.h: In member function 'constexpr QPoint& QPoint::operator*=(float)': /usr/include/qt5/QtCore/qpoint.h:157:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h:157:39: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(const QPoint&, float)': /usr/include/qt5/QtCore/qpoint.h:178:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:178:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(float, const QPoint&)': /usr/include/qt5/QtCore/qpoint.h:187:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:187:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ In file included from /usr/include/qt5/QtCore/qlocale.h:43, from /usr/include/qt5/QtGui/qguiapplication.h:47, from /usr/include/qt5/QtWidgets/qapplication.h:52, from /usr/include/qt5/QtWidgets/QApplication:1, from filelist.cpp:7: /usr/include/qt5/QtCore/qvariant.h: In constructor 'QVariant::Private::Private(uint)': /usr/include/qt5/QtCore/qvariant.h:401:20: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 401 | : type(variantType), is_shared(false), is_null(false) | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qcolor.h:47, from /usr/include/qt5/QtGui/qpalette.h:45, from /usr/include/qt5/QtGui/QPalette:1, from filelist.cpp:9: /usr/include/qt5/QtGui/qrgba64.h: In member function 'constexpr uint QRgba64::toArgb32() const': /usr/include/qt5/QtGui/qrgba64.h:137:14: warning: conversion from 'quint64' {aka 'long long unsigned int'} to 'uint' {aka 'unsigned int'} may change value [-Wconversion] 134 | return ((ag >> 16) & 0xff000000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | | ((br << 16) & 0xff0000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | | (ag & 0xff00) | ~~~~~~~~~~~~~~~~~~~~~~~ 137 | | ((br >> 32) & 0xff); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qimage.h:47, from /usr/include/qt5/QtGui/qbrush.h:51, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtGui/QPalette:1, from filelist.cpp:9: /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::channelCount() const': /usr/include/qt5/QtGui/qpixelformat.h:183:121: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 179 | Q_DECL_CONSTEXPR inline uchar channelCount() const noexcept { return (get(FirstField, FirstFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 180 | (get(SecondField, SecondFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 181 | (get(ThirdField, ThirdFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 182 | (get(FourthField, FourthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 183 | (get(FifthField, FifthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 184 | (get(AlphaField, AlphaFieldWidth) > 0); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::bitsPerPixel() const': /usr/include/qt5/QtGui/qpixelformat.h:206:115: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 202 | Q_DECL_CONSTEXPR inline uchar bitsPerPixel() const noexcept { return get(FirstField, FirstFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 203 | get(SecondField, SecondFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 204 | get(ThirdField, ThirdFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 205 | get(FourthField, FourthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 206 | get(FifthField, FifthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 207 | get(AlphaField, AlphaFieldWidth); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QPalette:1, from filelist.cpp:9: /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt5/QtGui/qpalette.h:107:76: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 107 | inline void setCurrentColorGroup(ColorGroup cg) { data.current_group = cg; } | ^~ /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt5/QtGui/qpalette.h:163:58: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] 163 | inline void resolve(uint mask) { data.resolve_mask = mask; } | ^~~~ In file included from /usr/include/qt5/QtGui/qpainter.h:50, from /usr/include/qt5/QtGui/QPainter:1, from filelist.cpp:12: /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setTextDirection(Qt::LayoutDirection)': /usr/include/qt5/QtGui/qtextoption.h:95:86: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:2' may change value [-Wconversion] 95 | inline void setTextDirection(Qt::LayoutDirection aDirection) { this->direction = aDirection; } | ^~~~~~~~~~ /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setWrapMode(QTextOption::WrapMode)': /usr/include/qt5/QtGui/qtextoption.h:105:57: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 105 | inline void setWrapMode(WrapMode wrap) { wordWrap = wrap; } | ^~~~ /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setAlignment(Qt::Alignment)': /usr/include/qt5/QtGui/qtextoption.h:152:11: warning: conversion from 'QFlags::Int' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 152 | { align = aalignment; } | ^~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/qabstractscrollarea.h:44, from /usr/include/qt5/QtWidgets/qabstractitemview.h:44, from /usr/include/qt5/QtWidgets/qlistview.h:44, from /usr/include/qt5/QtWidgets/qlistwidget.h:44, from /usr/include/qt5/QtWidgets/QListWidget:1, from filelist.h:9, from filelist.cpp:15: /usr/include/qt5/QtWidgets/qsizepolicy.h: In constructor 'constexpr QSizePolicy::QSizePolicy(QSizePolicy::Policy, QSizePolicy::Policy, QSizePolicy::ControlType)': /usr/include/qt5/QtWidgets/qsizepolicy.h:117:22: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:117:43: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:118:36: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:5' may change value [-Wconversion] 118 | type == DefaultType ? 0 : toControlTypeFieldValue(type), 0, 0, 0} | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:132:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 132 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalPolicy(Policy d) noexcept { bits.horPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:133:91: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 133 | Q_DECL_RELAXED_CONSTEXPR void setVerticalPolicy(Policy d) noexcept { bits.verPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:155:95: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 155 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalStretch(int stretchFactor) { bits.horStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/qabstractscrollarea.h:44, from /usr/include/qt5/QtWidgets/qabstractitemview.h:44, from /usr/include/qt5/QtWidgets/qlistview.h:44, from /usr/include/qt5/QtWidgets/qlistwidget.h:44, from /usr/include/qt5/QtWidgets/QListWidget:1, from filelist.h:9, from filelist.cpp:15: /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:156:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 156 | Q_DECL_RELAXED_CONSTEXPR void setVerticalStretch(int stretchFactor) { bits.verStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../src -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o fileview.o fileview.cpp In file included from /usr/include/qt5/QtCore/qrect.h:45, from /usr/include/qt5/QtGui/qregion.h:45, from /usr/include/qt5/QtGui/qevent.h:45, from /usr/include/qt5/QtGui/QHelpEvent:1, from fileview.cpp:9: /usr/include/qt5/QtCore/qpoint.h: In member function 'constexpr QPoint& QPoint::operator*=(float)': /usr/include/qt5/QtCore/qpoint.h:157:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h:157:39: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(const QPoint&, float)': /usr/include/qt5/QtCore/qpoint.h:178:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:178:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(float, const QPoint&)': /usr/include/qt5/QtCore/qpoint.h:187:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:187:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ In file included from /usr/include/qt5/QtGui/qevent.h:50, from /usr/include/qt5/QtGui/QHelpEvent:1, from fileview.cpp:9: /usr/include/qt5/QtCore/qvariant.h: In constructor 'QVariant::Private::Private(uint)': /usr/include/qt5/QtCore/qvariant.h:401:20: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 401 | : type(variantType), is_shared(false), is_null(false) | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qcolor.h:47, from /usr/include/qt5/QtGui/QColor:1, from common.h:10, from FileHistory.h:14, from fileview.cpp:10: /usr/include/qt5/QtGui/qrgba64.h: In member function 'constexpr uint QRgba64::toArgb32() const': /usr/include/qt5/QtGui/qrgba64.h:137:14: warning: conversion from 'quint64' {aka 'long long unsigned int'} to 'uint' {aka 'unsigned int'} may change value [-Wconversion] 134 | return ((ag >> 16) & 0xff000000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | | ((br << 16) & 0xff0000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | | (ag & 0xff00) | ~~~~~~~~~~~~~~~~~~~~~~~ 137 | | ((br >> 32) & 0xff); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qimage.h:47, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from ui_mainview.h:13, from mainimpl.h:15, from fileview.cpp:11: /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::channelCount() const': /usr/include/qt5/QtGui/qpixelformat.h:183:121: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 179 | Q_DECL_CONSTEXPR inline uchar channelCount() const noexcept { return (get(FirstField, FirstFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 180 | (get(SecondField, SecondFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 181 | (get(ThirdField, ThirdFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 182 | (get(FourthField, FourthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 183 | (get(FifthField, FifthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 184 | (get(AlphaField, AlphaFieldWidth) > 0); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::bitsPerPixel() const': /usr/include/qt5/QtGui/qpixelformat.h:206:115: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 202 | Q_DECL_CONSTEXPR inline uchar bitsPerPixel() const noexcept { return get(FirstField, FirstFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 203 | get(SecondField, SecondFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 204 | get(ThirdField, ThirdFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 205 | get(FourthField, FourthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 206 | get(FifthField, FifthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 207 | get(AlphaField, AlphaFieldWidth); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qaction.h:46, from /usr/include/qt5/QtWidgets/QAction:1, from ui_mainview.h:14, from mainimpl.h:15, from fileview.cpp:11: /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt5/QtGui/qpalette.h:107:76: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 107 | inline void setCurrentColorGroup(ColorGroup cg) { data.current_group = cg; } | ^~ /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt5/QtGui/qpalette.h:163:58: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] 163 | inline void resolve(uint mask) { data.resolve_mask = mask; } | ^~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qaction.h:46, from /usr/include/qt5/QtWidgets/QAction:1, from ui_mainview.h:14, from mainimpl.h:15, from fileview.cpp:11: /usr/include/qt5/QtWidgets/qsizepolicy.h: In constructor 'constexpr QSizePolicy::QSizePolicy(QSizePolicy::Policy, QSizePolicy::Policy, QSizePolicy::ControlType)': /usr/include/qt5/QtWidgets/qsizepolicy.h:117:22: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:117:43: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:118:36: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:5' may change value [-Wconversion] 118 | type == DefaultType ? 0 : toControlTypeFieldValue(type), 0, 0, 0} | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:132:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 132 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalPolicy(Policy d) noexcept { bits.horPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:133:91: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 133 | Q_DECL_RELAXED_CONSTEXPR void setVerticalPolicy(Policy d) noexcept { bits.verPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:155:95: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 155 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalStretch(int stretchFactor) { bits.horStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qaction.h:46, from /usr/include/qt5/QtWidgets/QAction:1, from ui_mainview.h:14, from mainimpl.h:15, from fileview.cpp:11: /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:156:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 156 | Q_DECL_RELAXED_CONSTEXPR void setVerticalStretch(int stretchFactor) { bits.verStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qtextedit.h:46, from /usr/include/qt5/QtWidgets/QTextEdit:1, from filecontent.h:11, from fileview.cpp:15: /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setTextDirection(Qt::LayoutDirection)': /usr/include/qt5/QtGui/qtextoption.h:95:86: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:2' may change value [-Wconversion] 95 | inline void setTextDirection(Qt::LayoutDirection aDirection) { this->direction = aDirection; } | ^~~~~~~~~~ /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setWrapMode(QTextOption::WrapMode)': /usr/include/qt5/QtGui/qtextoption.h:105:57: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 105 | inline void setWrapMode(WrapMode wrap) { wordWrap = wrap; } | ^~~~ /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setAlignment(Qt::Alignment)': /usr/include/qt5/QtGui/qtextoption.h:152:11: warning: conversion from 'QFlags::Int' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 152 | { align = aalignment; } | ^~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../src -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o domain.o domain.cpp In file included from /usr/include/qt5/QtWidgets/qapplication.h:46, from /usr/include/qt5/QtWidgets/QApplication:1, from domain.cpp:7: /usr/include/qt5/QtCore/qpoint.h: In member function 'constexpr QPoint& QPoint::operator*=(float)': /usr/include/qt5/QtCore/qpoint.h:157:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h:157:39: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(const QPoint&, float)': /usr/include/qt5/QtCore/qpoint.h:178:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:178:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(float, const QPoint&)': /usr/include/qt5/QtCore/qpoint.h:187:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:187:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ In file included from /usr/include/qt5/QtCore/qlocale.h:43, from /usr/include/qt5/QtGui/qguiapplication.h:47, from /usr/include/qt5/QtWidgets/qapplication.h:52, from /usr/include/qt5/QtWidgets/QApplication:1, from domain.cpp:7: /usr/include/qt5/QtCore/qvariant.h: In constructor 'QVariant::Private::Private(uint)': /usr/include/qt5/QtCore/qvariant.h:401:20: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 401 | : type(variantType), is_shared(false), is_null(false) | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qcolor.h:47, from /usr/include/qt5/QtGui/qpalette.h:45, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qstatusbar.h:44, from /usr/include/qt5/QtWidgets/QStatusBar:1, from domain.cpp:8: /usr/include/qt5/QtGui/qrgba64.h: In member function 'constexpr uint QRgba64::toArgb32() const': /usr/include/qt5/QtGui/qrgba64.h:137:14: warning: conversion from 'quint64' {aka 'long long unsigned int'} to 'uint' {aka 'unsigned int'} may change value [-Wconversion] 134 | return ((ag >> 16) & 0xff000000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | | ((br << 16) & 0xff0000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | | (ag & 0xff00) | ~~~~~~~~~~~~~~~~~~~~~~~ 137 | | ((br >> 32) & 0xff); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qimage.h:47, from /usr/include/qt5/QtGui/qbrush.h:51, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qstatusbar.h:44, from /usr/include/qt5/QtWidgets/QStatusBar:1, from domain.cpp:8: /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::channelCount() const': /usr/include/qt5/QtGui/qpixelformat.h:183:121: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 179 | Q_DECL_CONSTEXPR inline uchar channelCount() const noexcept { return (get(FirstField, FirstFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 180 | (get(SecondField, SecondFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 181 | (get(ThirdField, ThirdFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 182 | (get(FourthField, FourthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 183 | (get(FifthField, FifthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 184 | (get(AlphaField, AlphaFieldWidth) > 0); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::bitsPerPixel() const': /usr/include/qt5/QtGui/qpixelformat.h:206:115: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 202 | Q_DECL_CONSTEXPR inline uchar bitsPerPixel() const noexcept { return get(FirstField, FirstFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 203 | get(SecondField, SecondFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 204 | get(ThirdField, ThirdFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 205 | get(FourthField, FourthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 206 | get(FifthField, FifthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 207 | get(AlphaField, AlphaFieldWidth); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qstatusbar.h:44, from /usr/include/qt5/QtWidgets/QStatusBar:1, from domain.cpp:8: /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt5/QtGui/qpalette.h:107:76: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 107 | inline void setCurrentColorGroup(ColorGroup cg) { data.current_group = cg; } | ^~ /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt5/QtGui/qpalette.h:163:58: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] 163 | inline void resolve(uint mask) { data.resolve_mask = mask; } | ^~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qstatusbar.h:44, from /usr/include/qt5/QtWidgets/QStatusBar:1, from domain.cpp:8: /usr/include/qt5/QtWidgets/qsizepolicy.h: In constructor 'constexpr QSizePolicy::QSizePolicy(QSizePolicy::Policy, QSizePolicy::Policy, QSizePolicy::ControlType)': /usr/include/qt5/QtWidgets/qsizepolicy.h:117:22: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:117:43: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:118:36: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:5' may change value [-Wconversion] 118 | type == DefaultType ? 0 : toControlTypeFieldValue(type), 0, 0, 0} | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:132:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 132 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalPolicy(Policy d) noexcept { bits.horPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:133:91: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 133 | Q_DECL_RELAXED_CONSTEXPR void setVerticalPolicy(Policy d) noexcept { bits.verPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:155:95: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 155 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalStretch(int stretchFactor) { bits.horStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qstatusbar.h:44, from /usr/include/qt5/QtWidgets/QStatusBar:1, from domain.cpp:8: /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:156:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 156 | Q_DECL_RELAXED_CONSTEXPR void setVerticalStretch(int stretchFactor) { bits.verStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QTimer:1, from domain.cpp:9: /usr/include/qt5/QtCore/qtimer.h: In member function 'void QTimer::setTimerType(Qt::TimerType)': /usr/include/qt5/QtCore/qtimer.h:77:59: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:2' may change value [-Wconversion] 77 | void setTimerType(Qt::TimerType atype) { this->type = atype; } | ^~~~~ domain.cpp: In member function 'void Domain::update(bool, bool)': domain.cpp:255:19: warning: implicitly-declared 'StateInfo::StateInfo(const StateInfo&)' is deprecated [-Wdeprecated-copy] 255 | StateInfo tmp(st); | ^ domain.cpp:51:12: note: because 'StateInfo' has user-provided 'StateInfo& StateInfo::operator=(const StateInfo&)' 51 | StateInfo& StateInfo::operator=(const StateInfo& newState) { | ^~~~~~~~~ domain.cpp:257:27: warning: implicitly-declared 'StateInfo::StateInfo(const StateInfo&)' is deprecated [-Wdeprecated-copy] 257 | emit updateRequested(tmp); | ^ domain.cpp:51:12: note: because 'StateInfo' has user-provided 'StateInfo& StateInfo::operator=(const StateInfo&)' 51 | StateInfo& StateInfo::operator=(const StateInfo& newState) { | ^~~~~~~~~ In file included from domain.cpp:14: domain.h:121:33: note: initializing argument 1 of 'void Domain::updateRequested(StateInfo)' 121 | void updateRequested(StateInfo newSt); | ~~~~~~~~~~^~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../src -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o lanes.o lanes.cpp In file included from /usr/include/qt5/QtGui/qcolor.h:47, from /usr/include/qt5/QtGui/QColor:1, from common.h:10, from lanes.cpp:10: /usr/include/qt5/QtGui/qrgba64.h: In member function 'constexpr uint QRgba64::toArgb32() const': /usr/include/qt5/QtGui/qrgba64.h:137:14: warning: conversion from 'quint64' {aka 'long long unsigned int'} to 'uint' {aka 'unsigned int'} may change value [-Wconversion] 134 | return ((ag >> 16) & 0xff000000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | | ((br << 16) & 0xff0000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | | (ag & 0xff00) | ~~~~~~~~~~~~~~~~~~~~~~~ 137 | | ((br >> 32) & 0xff); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QVariant:1, from common.h:16, from lanes.cpp:10: /usr/include/qt5/QtCore/qvariant.h: In constructor 'QVariant::Private::Private(uint)': /usr/include/qt5/QtCore/qvariant.h:401:20: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 401 | : type(variantType), is_shared(false), is_null(false) | ^~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../src -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o inputdialog.o inputdialog.cpp In file included from /usr/include/qt5/QtCore/qrect.h:45, from /usr/include/qt5/QtGui/qpaintdevice.h:45, from /usr/include/qt5/QtWidgets/qwidget.h:47, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from inputdialog.h:2, from inputdialog.cpp:1: /usr/include/qt5/QtCore/qpoint.h: In member function 'constexpr QPoint& QPoint::operator*=(float)': /usr/include/qt5/QtCore/qpoint.h:157:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h:157:39: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(const QPoint&, float)': /usr/include/qt5/QtCore/qpoint.h:178:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:178:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(float, const QPoint&)': /usr/include/qt5/QtCore/qpoint.h:187:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:187:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ In file included from /usr/include/qt5/QtGui/qcolor.h:47, from /usr/include/qt5/QtGui/qpalette.h:45, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from inputdialog.h:2, from inputdialog.cpp:1: /usr/include/qt5/QtGui/qrgba64.h: In member function 'constexpr uint QRgba64::toArgb32() const': /usr/include/qt5/QtGui/qrgba64.h:137:14: warning: conversion from 'quint64' {aka 'long long unsigned int'} to 'uint' {aka 'unsigned int'} may change value [-Wconversion] 134 | return ((ag >> 16) & 0xff000000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | | ((br << 16) & 0xff0000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | | (ag & 0xff00) | ~~~~~~~~~~~~~~~~~~~~~~~ 137 | | ((br >> 32) & 0xff); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qimage.h:47, from /usr/include/qt5/QtGui/qbrush.h:51, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from inputdialog.h:2, from inputdialog.cpp:1: /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::channelCount() const': /usr/include/qt5/QtGui/qpixelformat.h:183:121: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 179 | Q_DECL_CONSTEXPR inline uchar channelCount() const noexcept { return (get(FirstField, FirstFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 180 | (get(SecondField, SecondFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 181 | (get(ThirdField, ThirdFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 182 | (get(FourthField, FourthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 183 | (get(FifthField, FifthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 184 | (get(AlphaField, AlphaFieldWidth) > 0); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::bitsPerPixel() const': /usr/include/qt5/QtGui/qpixelformat.h:206:115: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 202 | Q_DECL_CONSTEXPR inline uchar bitsPerPixel() const noexcept { return get(FirstField, FirstFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 203 | get(SecondField, SecondFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 204 | get(ThirdField, ThirdFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 205 | get(FourthField, FourthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 206 | get(FifthField, FifthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 207 | get(AlphaField, AlphaFieldWidth); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from inputdialog.h:2, from inputdialog.cpp:1: /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt5/QtGui/qpalette.h:107:76: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 107 | inline void setCurrentColorGroup(ColorGroup cg) { data.current_group = cg; } | ^~ /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt5/QtGui/qpalette.h:163:58: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] 163 | inline void resolve(uint mask) { data.resolve_mask = mask; } | ^~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from inputdialog.h:2, from inputdialog.cpp:1: /usr/include/qt5/QtWidgets/qsizepolicy.h: In constructor 'constexpr QSizePolicy::QSizePolicy(QSizePolicy::Policy, QSizePolicy::Policy, QSizePolicy::ControlType)': /usr/include/qt5/QtWidgets/qsizepolicy.h:117:22: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:117:43: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:118:36: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:5' may change value [-Wconversion] 118 | type == DefaultType ? 0 : toControlTypeFieldValue(type), 0, 0, 0} | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:132:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 132 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalPolicy(Policy d) noexcept { bits.horPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:133:91: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 133 | Q_DECL_RELAXED_CONSTEXPR void setVerticalPolicy(Policy d) noexcept { bits.verPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:155:95: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 155 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalStretch(int stretchFactor) { bits.horStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from inputdialog.h:2, from inputdialog.cpp:1: /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:156:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 156 | Q_DECL_RELAXED_CONSTEXPR void setVerticalStretch(int stretchFactor) { bits.verStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from inputdialog.cpp:1: inputdialog.h: At global scope: inputdialog.h:41:64: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 41 | QWidget *parent = 0, Qt::WindowFlags f = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from inputdialog.h:2, from inputdialog.cpp:1: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from /usr/include/qt5/QtCore/QVariant:1, from common.h:16, from inputdialog.cpp:2: /usr/include/qt5/QtCore/qvariant.h: In constructor 'QVariant::Private::Private(uint)': /usr/include/qt5/QtCore/qvariant.h:401:20: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 401 | : type(variantType), is_shared(false), is_null(false) | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qtextformat.h:51, from /usr/include/qt5/QtGui/qtextcursor.h:46, from /usr/include/qt5/QtWidgets/qlineedit.h:45, from /usr/include/qt5/QtWidgets/QLineEdit:1, from inputdialog.cpp:3: /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setTextDirection(Qt::LayoutDirection)': /usr/include/qt5/QtGui/qtextoption.h:95:86: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:2' may change value [-Wconversion] 95 | inline void setTextDirection(Qt::LayoutDirection aDirection) { this->direction = aDirection; } | ^~~~~~~~~~ /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setWrapMode(QTextOption::WrapMode)': /usr/include/qt5/QtGui/qtextoption.h:105:57: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 105 | inline void setWrapMode(WrapMode wrap) { wordWrap = wrap; } | ^~~~ /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setAlignment(Qt::Alignment)': /usr/include/qt5/QtGui/qtextoption.h:152:11: warning: conversion from 'QFlags::Int' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 152 | { align = aalignment; } | ^~~~~~~~~~ inputdialog.cpp: In constructor 'QGit::InputDialog::InputDialog(const QString&, const VariableMap&, const QString&, QWidget*, Qt::WindowFlags)': inputdialog.cpp:97:72: warning: 'QStringList QString::split(QChar, QString::SplitBehavior, Qt::CaseSensitivity) const' is deprecated: Use Qt::SplitBehavior variant instead [-Wdeprecated-declarations] 97 | const QStringList opts = re.cap(4).split(',', QString::SkipEmptyParts); | ^ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from inputdialog.h:2, from inputdialog.cpp:1: /usr/include/qt5/QtCore/qstring.h:610:17: note: declared here 610 | QStringList split(QChar sep, SplitBehavior behavior, | ^~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../src -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o myprocess.o myprocess.cpp In file included from /usr/include/qt5/QtWidgets/qapplication.h:46, from /usr/include/qt5/QtWidgets/QApplication:1, from myprocess.cpp:9: /usr/include/qt5/QtCore/qpoint.h: In member function 'constexpr QPoint& QPoint::operator*=(float)': /usr/include/qt5/QtCore/qpoint.h:157:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h:157:39: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(const QPoint&, float)': /usr/include/qt5/QtCore/qpoint.h:178:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:178:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(float, const QPoint&)': /usr/include/qt5/QtCore/qpoint.h:187:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:187:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ In file included from /usr/include/qt5/QtCore/qlocale.h:43, from /usr/include/qt5/QtGui/qguiapplication.h:47, from /usr/include/qt5/QtWidgets/qapplication.h:52, from /usr/include/qt5/QtWidgets/QApplication:1, from myprocess.cpp:9: /usr/include/qt5/QtCore/qvariant.h: In constructor 'QVariant::Private::Private(uint)': /usr/include/qt5/QtCore/qvariant.h:401:20: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 401 | : type(variantType), is_shared(false), is_null(false) | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qcolor.h:47, from /usr/include/qt5/QtGui/QColor:1, from common.h:10, from myprocess.cpp:12: /usr/include/qt5/QtGui/qrgba64.h: In member function 'constexpr uint QRgba64::toArgb32() const': /usr/include/qt5/QtGui/qrgba64.h:137:14: warning: conversion from 'quint64' {aka 'long long unsigned int'} to 'uint' {aka 'unsigned int'} may change value [-Wconversion] 134 | return ((ag >> 16) & 0xff000000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | | ((br << 16) & 0xff0000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | | (ag & 0xff00) | ~~~~~~~~~~~~~~~~~~~~~~~ 137 | | ((br >> 32) & 0xff); | ^~~~~~~~~~~~~~~~~~~~~ myprocess.cpp: In member function 'bool MyProcess::runSync(SCRef, QByteArray*, QObject*, SCRef)': myprocess.cpp:53:10: warning: 'void QTime::start()' is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] 53 | t.start(); | ^ In file included from /usr/include/qt5/QtCore/QTime:1, from myprocess.cpp:10: /usr/include/qt5/QtCore/qdatetime.h:235:55: note: declared here 235 | QT_DEPRECATED_X("Use QElapsedTimer instead") void start(); | ^~~~~ myprocess.cpp:60:17: warning: 'int QTime::elapsed() const' is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] 60 | if (t.elapsed() > 200) { | ^ In file included from /usr/include/qt5/QtCore/QTime:1, from myprocess.cpp:10: /usr/include/qt5/QtCore/qdatetime.h:237:54: note: declared here 237 | QT_DEPRECATED_X("Use QElapsedTimer instead") int elapsed() const; | ^~~~~~~ myprocess.cpp:62:14: warning: 'int QTime::restart()' is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] 62 | t.restart(); | ^ In file included from /usr/include/qt5/QtCore/QTime:1, from myprocess.cpp:10: /usr/include/qt5/QtCore/qdatetime.h:236:54: note: declared here 236 | QT_DEPRECATED_X("Use QElapsedTimer instead") int restart(); | ^~~~~~~ myprocess.cpp: In static member function 'static const QStringList MyProcess::splitArgList(SCRef)': myprocess.cpp:211:48: warning: 'QStringList QString::split(QChar, QString::SplitBehavior, Qt::CaseSensitivity) const' is deprecated: Use Qt::SplitBehavior variant instead [-Wdeprecated-declarations] 211 | return cmd.split(' ', QString::SkipEmptyParts); | ^ In file included from /usr/include/qt5/QtCore/qcoreapplication.h:44, from /usr/include/qt5/QtWidgets/qapplication.h:44, from /usr/include/qt5/QtWidgets/QApplication:1, from myprocess.cpp:9: /usr/include/qt5/QtCore/qstring.h:610:17: note: declared here 610 | QStringList split(QChar sep, SplitBehavior behavior, | ^~~~~ myprocess.cpp:241:62: warning: 'QStringList QString::split(QChar, QString::SplitBehavior, Qt::CaseSensitivity) const' is deprecated: Use Qt::SplitBehavior variant instead [-Wdeprecated-declarations] 241 | QStringList sl(newCmd.split(sepChar, QString::SkipEmptyParts)); | ^ In file included from /usr/include/qt5/QtCore/qcoreapplication.h:44, from /usr/include/qt5/QtWidgets/qapplication.h:44, from /usr/include/qt5/QtWidgets/QApplication:1, from myprocess.cpp:9: /usr/include/qt5/QtCore/qstring.h:610:17: note: declared here 610 | QStringList split(QChar sep, SplitBehavior behavior, | ^~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../src -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o consoleimpl.o consoleimpl.cpp In file included from /usr/include/qt5/QtCore/qsettings.h:44, from /usr/include/qt5/QtCore/QSettings:1, from consoleimpl.cpp:9: /usr/include/qt5/QtCore/qvariant.h: In constructor 'QVariant::Private::Private(uint)': /usr/include/qt5/QtCore/qvariant.h:401:20: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 401 | : type(variantType), is_shared(false), is_null(false) | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qrect.h:45, from /usr/include/qt5/QtGui/qpaintdevice.h:45, from /usr/include/qt5/QtWidgets/qwidget.h:47, from /usr/include/qt5/QtWidgets/qstatusbar.h:44, from /usr/include/qt5/QtWidgets/QStatusBar:1, from consoleimpl.cpp:10: /usr/include/qt5/QtCore/qpoint.h: In member function 'constexpr QPoint& QPoint::operator*=(float)': /usr/include/qt5/QtCore/qpoint.h:157:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h:157:39: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(const QPoint&, float)': /usr/include/qt5/QtCore/qpoint.h:178:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:178:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(float, const QPoint&)': /usr/include/qt5/QtCore/qpoint.h:187:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:187:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ In file included from /usr/include/qt5/QtGui/qcolor.h:47, from /usr/include/qt5/QtGui/qpalette.h:45, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qstatusbar.h:44, from /usr/include/qt5/QtWidgets/QStatusBar:1, from consoleimpl.cpp:10: /usr/include/qt5/QtGui/qrgba64.h: In member function 'constexpr uint QRgba64::toArgb32() const': /usr/include/qt5/QtGui/qrgba64.h:137:14: warning: conversion from 'quint64' {aka 'long long unsigned int'} to 'uint' {aka 'unsigned int'} may change value [-Wconversion] 134 | return ((ag >> 16) & 0xff000000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | | ((br << 16) & 0xff0000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | | (ag & 0xff00) | ~~~~~~~~~~~~~~~~~~~~~~~ 137 | | ((br >> 32) & 0xff); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qimage.h:47, from /usr/include/qt5/QtGui/qbrush.h:51, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qstatusbar.h:44, from /usr/include/qt5/QtWidgets/QStatusBar:1, from consoleimpl.cpp:10: /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::channelCount() const': /usr/include/qt5/QtGui/qpixelformat.h:183:121: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 179 | Q_DECL_CONSTEXPR inline uchar channelCount() const noexcept { return (get(FirstField, FirstFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 180 | (get(SecondField, SecondFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 181 | (get(ThirdField, ThirdFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 182 | (get(FourthField, FourthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 183 | (get(FifthField, FifthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 184 | (get(AlphaField, AlphaFieldWidth) > 0); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::bitsPerPixel() const': /usr/include/qt5/QtGui/qpixelformat.h:206:115: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 202 | Q_DECL_CONSTEXPR inline uchar bitsPerPixel() const noexcept { return get(FirstField, FirstFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 203 | get(SecondField, SecondFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 204 | get(ThirdField, ThirdFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 205 | get(FourthField, FourthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 206 | get(FifthField, FifthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 207 | get(AlphaField, AlphaFieldWidth); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qstatusbar.h:44, from /usr/include/qt5/QtWidgets/QStatusBar:1, from consoleimpl.cpp:10: /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt5/QtGui/qpalette.h:107:76: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 107 | inline void setCurrentColorGroup(ColorGroup cg) { data.current_group = cg; } | ^~ /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt5/QtGui/qpalette.h:163:58: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] 163 | inline void resolve(uint mask) { data.resolve_mask = mask; } | ^~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qstatusbar.h:44, from /usr/include/qt5/QtWidgets/QStatusBar:1, from consoleimpl.cpp:10: /usr/include/qt5/QtWidgets/qsizepolicy.h: In constructor 'constexpr QSizePolicy::QSizePolicy(QSizePolicy::Policy, QSizePolicy::Policy, QSizePolicy::ControlType)': /usr/include/qt5/QtWidgets/qsizepolicy.h:117:22: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:117:43: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:118:36: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:5' may change value [-Wconversion] 118 | type == DefaultType ? 0 : toControlTypeFieldValue(type), 0, 0, 0} | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:132:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 132 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalPolicy(Policy d) noexcept { bits.horPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:133:91: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 133 | Q_DECL_RELAXED_CONSTEXPR void setVerticalPolicy(Policy d) noexcept { bits.verPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:155:95: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 155 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalStretch(int stretchFactor) { bits.horStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qstatusbar.h:44, from /usr/include/qt5/QtWidgets/QStatusBar:1, from consoleimpl.cpp:10: /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:156:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 156 | Q_DECL_RELAXED_CONSTEXPR void setVerticalStretch(int stretchFactor) { bits.verStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qtextedit.h:46, from /usr/include/qt5/QtWidgets/QTextEdit:1, from ui_console.h:22, from consoleimpl.h:14, from consoleimpl.cpp:14: /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setTextDirection(Qt::LayoutDirection)': /usr/include/qt5/QtGui/qtextoption.h:95:86: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:2' may change value [-Wconversion] 95 | inline void setTextDirection(Qt::LayoutDirection aDirection) { this->direction = aDirection; } | ^~~~~~~~~~ /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setWrapMode(QTextOption::WrapMode)': /usr/include/qt5/QtGui/qtextoption.h:105:57: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 105 | inline void setWrapMode(WrapMode wrap) { wordWrap = wrap; } | ^~~~ /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setAlignment(Qt::Alignment)': /usr/include/qt5/QtGui/qtextoption.h:152:11: warning: conversion from 'QFlags::Int' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 152 | { align = aalignment; } | ^~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../src -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o customactionimpl.o customactionimpl.cpp In file included from /usr/include/qt5/QtCore/qsettings.h:44, from /usr/include/qt5/QtCore/QSettings:1, from customactionimpl.cpp:9: /usr/include/qt5/QtCore/qvariant.h: In constructor 'QVariant::Private::Private(uint)': /usr/include/qt5/QtCore/qvariant.h:401:20: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 401 | : type(variantType), is_shared(false), is_null(false) | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qrect.h:45, from /usr/include/qt5/QtGui/qpaintdevice.h:45, from /usr/include/qt5/QtWidgets/qwidget.h:47, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qmessagebox.h:45, from /usr/include/qt5/QtWidgets/QMessageBox:1, from customactionimpl.cpp:10: /usr/include/qt5/QtCore/qpoint.h: In member function 'constexpr QPoint& QPoint::operator*=(float)': /usr/include/qt5/QtCore/qpoint.h:157:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h:157:39: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(const QPoint&, float)': /usr/include/qt5/QtCore/qpoint.h:178:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:178:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(float, const QPoint&)': /usr/include/qt5/QtCore/qpoint.h:187:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:187:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ In file included from /usr/include/qt5/QtGui/qcolor.h:47, from /usr/include/qt5/QtGui/qpalette.h:45, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qmessagebox.h:45, from /usr/include/qt5/QtWidgets/QMessageBox:1, from customactionimpl.cpp:10: /usr/include/qt5/QtGui/qrgba64.h: In member function 'constexpr uint QRgba64::toArgb32() const': /usr/include/qt5/QtGui/qrgba64.h:137:14: warning: conversion from 'quint64' {aka 'long long unsigned int'} to 'uint' {aka 'unsigned int'} may change value [-Wconversion] 134 | return ((ag >> 16) & 0xff000000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | | ((br << 16) & 0xff0000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | | (ag & 0xff00) | ~~~~~~~~~~~~~~~~~~~~~~~ 137 | | ((br >> 32) & 0xff); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qimage.h:47, from /usr/include/qt5/QtGui/qbrush.h:51, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qmessagebox.h:45, from /usr/include/qt5/QtWidgets/QMessageBox:1, from customactionimpl.cpp:10: /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::channelCount() const': /usr/include/qt5/QtGui/qpixelformat.h:183:121: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 179 | Q_DECL_CONSTEXPR inline uchar channelCount() const noexcept { return (get(FirstField, FirstFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 180 | (get(SecondField, SecondFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 181 | (get(ThirdField, ThirdFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 182 | (get(FourthField, FourthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 183 | (get(FifthField, FifthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 184 | (get(AlphaField, AlphaFieldWidth) > 0); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::bitsPerPixel() const': /usr/include/qt5/QtGui/qpixelformat.h:206:115: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 202 | Q_DECL_CONSTEXPR inline uchar bitsPerPixel() const noexcept { return get(FirstField, FirstFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 203 | get(SecondField, SecondFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 204 | get(ThirdField, ThirdFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 205 | get(FourthField, FourthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 206 | get(FifthField, FifthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 207 | get(AlphaField, AlphaFieldWidth); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qmessagebox.h:45, from /usr/include/qt5/QtWidgets/QMessageBox:1, from customactionimpl.cpp:10: /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt5/QtGui/qpalette.h:107:76: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 107 | inline void setCurrentColorGroup(ColorGroup cg) { data.current_group = cg; } | ^~ /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt5/QtGui/qpalette.h:163:58: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] 163 | inline void resolve(uint mask) { data.resolve_mask = mask; } | ^~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qmessagebox.h:45, from /usr/include/qt5/QtWidgets/QMessageBox:1, from customactionimpl.cpp:10: /usr/include/qt5/QtWidgets/qsizepolicy.h: In constructor 'constexpr QSizePolicy::QSizePolicy(QSizePolicy::Policy, QSizePolicy::Policy, QSizePolicy::ControlType)': /usr/include/qt5/QtWidgets/qsizepolicy.h:117:22: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:117:43: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:118:36: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:5' may change value [-Wconversion] 118 | type == DefaultType ? 0 : toControlTypeFieldValue(type), 0, 0, 0} | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:132:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 132 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalPolicy(Policy d) noexcept { bits.horPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:133:91: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 133 | Q_DECL_RELAXED_CONSTEXPR void setVerticalPolicy(Policy d) noexcept { bits.verPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:155:95: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 155 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalStretch(int stretchFactor) { bits.horStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qmessagebox.h:45, from /usr/include/qt5/QtWidgets/QMessageBox:1, from customactionimpl.cpp:10: /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:156:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 156 | Q_DECL_RELAXED_CONSTEXPR void setVerticalStretch(int stretchFactor) { bits.verStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qtextformat.h:51, from /usr/include/qt5/QtGui/qtextcursor.h:46, from /usr/include/qt5/QtWidgets/qlineedit.h:45, from /usr/include/qt5/QtWidgets/qinputdialog.h:45, from /usr/include/qt5/QtWidgets/QInputDialog:1, from customactionimpl.cpp:11: /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setTextDirection(Qt::LayoutDirection)': /usr/include/qt5/QtGui/qtextoption.h:95:86: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:2' may change value [-Wconversion] 95 | inline void setTextDirection(Qt::LayoutDirection aDirection) { this->direction = aDirection; } | ^~~~~~~~~~ /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setWrapMode(QTextOption::WrapMode)': /usr/include/qt5/QtGui/qtextoption.h:105:57: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 105 | inline void setWrapMode(WrapMode wrap) { wordWrap = wrap; } | ^~~~ /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setAlignment(Qt::Alignment)': /usr/include/qt5/QtGui/qtextoption.h:152:11: warning: conversion from 'QFlags::Int' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 152 | { align = aalignment; } | ^~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../src -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o filecontent.o filecontent.cpp In file included from /usr/include/qt5/QtCore/qrect.h:45, from /usr/include/qt5/QtGui/qpaintdevice.h:45, from /usr/include/qt5/QtWidgets/qwidget.h:47, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/qabstractscrollarea.h:44, from /usr/include/qt5/QtWidgets/qabstractitemview.h:44, from /usr/include/qt5/QtWidgets/qlistview.h:44, from /usr/include/qt5/QtWidgets/qlistwidget.h:44, from /usr/include/qt5/QtWidgets/QListWidget:1, from filecontent.cpp:7: /usr/include/qt5/QtCore/qpoint.h: In member function 'constexpr QPoint& QPoint::operator*=(float)': /usr/include/qt5/QtCore/qpoint.h:157:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h:157:39: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(const QPoint&, float)': /usr/include/qt5/QtCore/qpoint.h:178:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:178:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(float, const QPoint&)': /usr/include/qt5/QtCore/qpoint.h:187:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:187:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ In file included from /usr/include/qt5/QtGui/qcolor.h:47, from /usr/include/qt5/QtGui/qpalette.h:45, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/qabstractscrollarea.h:44, from /usr/include/qt5/QtWidgets/qabstractitemview.h:44, from /usr/include/qt5/QtWidgets/qlistview.h:44, from /usr/include/qt5/QtWidgets/qlistwidget.h:44, from /usr/include/qt5/QtWidgets/QListWidget:1, from filecontent.cpp:7: /usr/include/qt5/QtGui/qrgba64.h: In member function 'constexpr uint QRgba64::toArgb32() const': /usr/include/qt5/QtGui/qrgba64.h:137:14: warning: conversion from 'quint64' {aka 'long long unsigned int'} to 'uint' {aka 'unsigned int'} may change value [-Wconversion] 134 | return ((ag >> 16) & 0xff000000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | | ((br << 16) & 0xff0000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | | (ag & 0xff00) | ~~~~~~~~~~~~~~~~~~~~~~~ 137 | | ((br >> 32) & 0xff); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qimage.h:47, from /usr/include/qt5/QtGui/qbrush.h:51, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/qabstractscrollarea.h:44, from /usr/include/qt5/QtWidgets/qabstractitemview.h:44, from /usr/include/qt5/QtWidgets/qlistview.h:44, from /usr/include/qt5/QtWidgets/qlistwidget.h:44, from /usr/include/qt5/QtWidgets/QListWidget:1, from filecontent.cpp:7: /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::channelCount() const': /usr/include/qt5/QtGui/qpixelformat.h:183:121: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 179 | Q_DECL_CONSTEXPR inline uchar channelCount() const noexcept { return (get(FirstField, FirstFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 180 | (get(SecondField, SecondFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 181 | (get(ThirdField, ThirdFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 182 | (get(FourthField, FourthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 183 | (get(FifthField, FifthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 184 | (get(AlphaField, AlphaFieldWidth) > 0); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::bitsPerPixel() const': /usr/include/qt5/QtGui/qpixelformat.h:206:115: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 202 | Q_DECL_CONSTEXPR inline uchar bitsPerPixel() const noexcept { return get(FirstField, FirstFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 203 | get(SecondField, SecondFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 204 | get(ThirdField, ThirdFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 205 | get(FourthField, FourthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 206 | get(FifthField, FifthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 207 | get(AlphaField, AlphaFieldWidth); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/qabstractscrollarea.h:44, from /usr/include/qt5/QtWidgets/qabstractitemview.h:44, from /usr/include/qt5/QtWidgets/qlistview.h:44, from /usr/include/qt5/QtWidgets/qlistwidget.h:44, from /usr/include/qt5/QtWidgets/QListWidget:1, from filecontent.cpp:7: /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt5/QtGui/qpalette.h:107:76: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 107 | inline void setCurrentColorGroup(ColorGroup cg) { data.current_group = cg; } | ^~ /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt5/QtGui/qpalette.h:163:58: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] 163 | inline void resolve(uint mask) { data.resolve_mask = mask; } | ^~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/qabstractscrollarea.h:44, from /usr/include/qt5/QtWidgets/qabstractitemview.h:44, from /usr/include/qt5/QtWidgets/qlistview.h:44, from /usr/include/qt5/QtWidgets/qlistwidget.h:44, from /usr/include/qt5/QtWidgets/QListWidget:1, from filecontent.cpp:7: /usr/include/qt5/QtWidgets/qsizepolicy.h: In constructor 'constexpr QSizePolicy::QSizePolicy(QSizePolicy::Policy, QSizePolicy::Policy, QSizePolicy::ControlType)': /usr/include/qt5/QtWidgets/qsizepolicy.h:117:22: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:117:43: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:118:36: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:5' may change value [-Wconversion] 118 | type == DefaultType ? 0 : toControlTypeFieldValue(type), 0, 0, 0} | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:132:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 132 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalPolicy(Policy d) noexcept { bits.horPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:133:91: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 133 | Q_DECL_RELAXED_CONSTEXPR void setVerticalPolicy(Policy d) noexcept { bits.verPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:155:95: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 155 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalStretch(int stretchFactor) { bits.horStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/qabstractscrollarea.h:44, from /usr/include/qt5/QtWidgets/qabstractitemview.h:44, from /usr/include/qt5/QtWidgets/qlistview.h:44, from /usr/include/qt5/QtWidgets/qlistwidget.h:44, from /usr/include/qt5/QtWidgets/QListWidget:1, from filecontent.cpp:7: /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:156:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 156 | Q_DECL_RELAXED_CONSTEXPR void setVerticalStretch(int stretchFactor) { bits.verStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qabstractitemmodel.h:43, from /usr/include/qt5/QtWidgets/qabstractitemview.h:45, from /usr/include/qt5/QtWidgets/qlistview.h:44, from /usr/include/qt5/QtWidgets/qlistwidget.h:44, from /usr/include/qt5/QtWidgets/QListWidget:1, from filecontent.cpp:7: /usr/include/qt5/QtCore/qvariant.h: In constructor 'QVariant::Private::Private(uint)': /usr/include/qt5/QtCore/qvariant.h:401:20: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 401 | : type(variantType), is_shared(false), is_null(false) | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qtextformat.h:51, from /usr/include/qt5/QtGui/qtextobject.h:45, from /usr/include/qt5/QtGui/qsyntaxhighlighter.h:48, from /usr/include/qt5/QtGui/QSyntaxHighlighter:1, from filecontent.cpp:8: /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setTextDirection(Qt::LayoutDirection)': /usr/include/qt5/QtGui/qtextoption.h:95:86: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:2' may change value [-Wconversion] 95 | inline void setTextDirection(Qt::LayoutDirection aDirection) { this->direction = aDirection; } | ^~~~~~~~~~ /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setWrapMode(QTextOption::WrapMode)': /usr/include/qt5/QtGui/qtextoption.h:105:57: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 105 | inline void setWrapMode(WrapMode wrap) { wordWrap = wrap; } | ^~~~ /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setAlignment(Qt::Alignment)': /usr/include/qt5/QtGui/qtextoption.h:152:11: warning: conversion from 'QFlags::Int' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 152 | { align = aalignment; } | ^~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../src -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o patchview.o patchview.cpp In file included from /usr/include/qt5/QtCore/qrect.h:45, from /usr/include/qt5/QtGui/qpaintdevice.h:45, from /usr/include/qt5/QtWidgets/qwidget.h:47, from /usr/include/qt5/QtWidgets/qscrollbar.h:44, from /usr/include/qt5/QtWidgets/QScrollBar:1, from patchview.cpp:10: /usr/include/qt5/QtCore/qpoint.h: In member function 'constexpr QPoint& QPoint::operator*=(float)': /usr/include/qt5/QtCore/qpoint.h:157:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h:157:39: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(const QPoint&, float)': /usr/include/qt5/QtCore/qpoint.h:178:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:178:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(float, const QPoint&)': /usr/include/qt5/QtCore/qpoint.h:187:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:187:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ In file included from /usr/include/qt5/QtGui/qcolor.h:47, from /usr/include/qt5/QtGui/qpalette.h:45, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qscrollbar.h:44, from /usr/include/qt5/QtWidgets/QScrollBar:1, from patchview.cpp:10: /usr/include/qt5/QtGui/qrgba64.h: In member function 'constexpr uint QRgba64::toArgb32() const': /usr/include/qt5/QtGui/qrgba64.h:137:14: warning: conversion from 'quint64' {aka 'long long unsigned int'} to 'uint' {aka 'unsigned int'} may change value [-Wconversion] 134 | return ((ag >> 16) & 0xff000000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | | ((br << 16) & 0xff0000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | | (ag & 0xff00) | ~~~~~~~~~~~~~~~~~~~~~~~ 137 | | ((br >> 32) & 0xff); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qimage.h:47, from /usr/include/qt5/QtGui/qbrush.h:51, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qscrollbar.h:44, from /usr/include/qt5/QtWidgets/QScrollBar:1, from patchview.cpp:10: /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::channelCount() const': /usr/include/qt5/QtGui/qpixelformat.h:183:121: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 179 | Q_DECL_CONSTEXPR inline uchar channelCount() const noexcept { return (get(FirstField, FirstFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 180 | (get(SecondField, SecondFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 181 | (get(ThirdField, ThirdFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 182 | (get(FourthField, FourthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 183 | (get(FifthField, FifthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 184 | (get(AlphaField, AlphaFieldWidth) > 0); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::bitsPerPixel() const': /usr/include/qt5/QtGui/qpixelformat.h:206:115: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 202 | Q_DECL_CONSTEXPR inline uchar bitsPerPixel() const noexcept { return get(FirstField, FirstFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 203 | get(SecondField, SecondFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 204 | get(ThirdField, ThirdFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 205 | get(FourthField, FourthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 206 | get(FifthField, FifthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 207 | get(AlphaField, AlphaFieldWidth); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qscrollbar.h:44, from /usr/include/qt5/QtWidgets/QScrollBar:1, from patchview.cpp:10: /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt5/QtGui/qpalette.h:107:76: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 107 | inline void setCurrentColorGroup(ColorGroup cg) { data.current_group = cg; } | ^~ /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt5/QtGui/qpalette.h:163:58: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] 163 | inline void resolve(uint mask) { data.resolve_mask = mask; } | ^~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qscrollbar.h:44, from /usr/include/qt5/QtWidgets/QScrollBar:1, from patchview.cpp:10: /usr/include/qt5/QtWidgets/qsizepolicy.h: In constructor 'constexpr QSizePolicy::QSizePolicy(QSizePolicy::Policy, QSizePolicy::Policy, QSizePolicy::ControlType)': /usr/include/qt5/QtWidgets/qsizepolicy.h:117:22: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:117:43: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:118:36: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:5' may change value [-Wconversion] 118 | type == DefaultType ? 0 : toControlTypeFieldValue(type), 0, 0, 0} | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:132:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 132 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalPolicy(Policy d) noexcept { bits.horPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:133:91: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 133 | Q_DECL_RELAXED_CONSTEXPR void setVerticalPolicy(Policy d) noexcept { bits.verPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:155:95: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 155 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalStretch(int stretchFactor) { bits.horStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qscrollbar.h:44, from /usr/include/qt5/QtWidgets/QScrollBar:1, from patchview.cpp:10: /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:156:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 156 | Q_DECL_RELAXED_CONSTEXPR void setVerticalStretch(int stretchFactor) { bits.verStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QVariant:1, from common.h:16, from patchview.cpp:11: /usr/include/qt5/QtCore/qvariant.h: In constructor 'QVariant::Private::Private(uint)': /usr/include/qt5/QtCore/qvariant.h:401:20: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 401 | : type(variantType), is_shared(false), is_null(false) | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qtextedit.h:46, from /usr/include/qt5/QtWidgets/QTextEdit:1, from patchcontent.h:11, from patchview.cpp:14: /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setTextDirection(Qt::LayoutDirection)': /usr/include/qt5/QtGui/qtextoption.h:95:86: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:2' may change value [-Wconversion] 95 | inline void setTextDirection(Qt::LayoutDirection aDirection) { this->direction = aDirection; } | ^~~~~~~~~~ /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setWrapMode(QTextOption::WrapMode)': /usr/include/qt5/QtGui/qtextoption.h:105:57: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 105 | inline void setWrapMode(WrapMode wrap) { wordWrap = wrap; } | ^~~~ /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setAlignment(Qt::Alignment)': /usr/include/qt5/QtGui/qtextoption.h:152:11: warning: conversion from 'QFlags::Int' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 152 | { align = aalignment; } | ^~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../src -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o listview.o listview.cpp In file included from /usr/include/qt5/QtWidgets/qapplication.h:46, from /usr/include/qt5/QtWidgets/QApplication:1, from listview.cpp:9: /usr/include/qt5/QtCore/qpoint.h: In member function 'constexpr QPoint& QPoint::operator*=(float)': /usr/include/qt5/QtCore/qpoint.h:157:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h:157:39: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(const QPoint&, float)': /usr/include/qt5/QtCore/qpoint.h:178:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:178:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(float, const QPoint&)': /usr/include/qt5/QtCore/qpoint.h:187:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:187:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ In file included from /usr/include/qt5/QtCore/qlocale.h:43, from /usr/include/qt5/QtGui/qguiapplication.h:47, from /usr/include/qt5/QtWidgets/qapplication.h:52, from /usr/include/qt5/QtWidgets/QApplication:1, from listview.cpp:9: /usr/include/qt5/QtCore/qvariant.h: In constructor 'QVariant::Private::Private(uint)': /usr/include/qt5/QtCore/qvariant.h:401:20: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 401 | : type(variantType), is_shared(false), is_null(false) | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qcolor.h:47, from /usr/include/qt5/QtGui/qpalette.h:45, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/qabstractscrollarea.h:44, from /usr/include/qt5/QtWidgets/qabstractitemview.h:44, from /usr/include/qt5/QtWidgets/qheaderview.h:44, from /usr/include/qt5/QtWidgets/QHeaderView:1, from listview.cpp:10: /usr/include/qt5/QtGui/qrgba64.h: In member function 'constexpr uint QRgba64::toArgb32() const': /usr/include/qt5/QtGui/qrgba64.h:137:14: warning: conversion from 'quint64' {aka 'long long unsigned int'} to 'uint' {aka 'unsigned int'} may change value [-Wconversion] 134 | return ((ag >> 16) & 0xff000000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | | ((br << 16) & 0xff0000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | | (ag & 0xff00) | ~~~~~~~~~~~~~~~~~~~~~~~ 137 | | ((br >> 32) & 0xff); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qimage.h:47, from /usr/include/qt5/QtGui/qbrush.h:51, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/qabstractscrollarea.h:44, from /usr/include/qt5/QtWidgets/qabstractitemview.h:44, from /usr/include/qt5/QtWidgets/qheaderview.h:44, from /usr/include/qt5/QtWidgets/QHeaderView:1, from listview.cpp:10: /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::channelCount() const': /usr/include/qt5/QtGui/qpixelformat.h:183:121: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 179 | Q_DECL_CONSTEXPR inline uchar channelCount() const noexcept { return (get(FirstField, FirstFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 180 | (get(SecondField, SecondFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 181 | (get(ThirdField, ThirdFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 182 | (get(FourthField, FourthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 183 | (get(FifthField, FifthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 184 | (get(AlphaField, AlphaFieldWidth) > 0); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::bitsPerPixel() const': /usr/include/qt5/QtGui/qpixelformat.h:206:115: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 202 | Q_DECL_CONSTEXPR inline uchar bitsPerPixel() const noexcept { return get(FirstField, FirstFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 203 | get(SecondField, SecondFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 204 | get(ThirdField, ThirdFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 205 | get(FourthField, FourthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 206 | get(FifthField, FifthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 207 | get(AlphaField, AlphaFieldWidth); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/qabstractscrollarea.h:44, from /usr/include/qt5/QtWidgets/qabstractitemview.h:44, from /usr/include/qt5/QtWidgets/qheaderview.h:44, from /usr/include/qt5/QtWidgets/QHeaderView:1, from listview.cpp:10: /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt5/QtGui/qpalette.h:107:76: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 107 | inline void setCurrentColorGroup(ColorGroup cg) { data.current_group = cg; } | ^~ /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt5/QtGui/qpalette.h:163:58: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] 163 | inline void resolve(uint mask) { data.resolve_mask = mask; } | ^~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/qabstractscrollarea.h:44, from /usr/include/qt5/QtWidgets/qabstractitemview.h:44, from /usr/include/qt5/QtWidgets/qheaderview.h:44, from /usr/include/qt5/QtWidgets/QHeaderView:1, from listview.cpp:10: /usr/include/qt5/QtWidgets/qsizepolicy.h: In constructor 'constexpr QSizePolicy::QSizePolicy(QSizePolicy::Policy, QSizePolicy::Policy, QSizePolicy::ControlType)': /usr/include/qt5/QtWidgets/qsizepolicy.h:117:22: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:117:43: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:118:36: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:5' may change value [-Wconversion] 118 | type == DefaultType ? 0 : toControlTypeFieldValue(type), 0, 0, 0} | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:132:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 132 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalPolicy(Policy d) noexcept { bits.horPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:133:91: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 133 | Q_DECL_RELAXED_CONSTEXPR void setVerticalPolicy(Policy d) noexcept { bits.verPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:155:95: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 155 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalStretch(int stretchFactor) { bits.horStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/qabstractscrollarea.h:44, from /usr/include/qt5/QtWidgets/qabstractitemview.h:44, from /usr/include/qt5/QtWidgets/qheaderview.h:44, from /usr/include/qt5/QtWidgets/QHeaderView:1, from listview.cpp:10: /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:156:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 156 | Q_DECL_RELAXED_CONSTEXPR void setVerticalStretch(int stretchFactor) { bits.verStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qpainter.h:50, from /usr/include/qt5/QtGui/QPainter:1, from listview.cpp:13: /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setTextDirection(Qt::LayoutDirection)': /usr/include/qt5/QtGui/qtextoption.h:95:86: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:2' may change value [-Wconversion] 95 | inline void setTextDirection(Qt::LayoutDirection aDirection) { this->direction = aDirection; } | ^~~~~~~~~~ /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setWrapMode(QTextOption::WrapMode)': /usr/include/qt5/QtGui/qtextoption.h:105:57: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 105 | inline void setWrapMode(WrapMode wrap) { wordWrap = wrap; } | ^~~~ /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setAlignment(Qt::Alignment)': /usr/include/qt5/QtGui/qtextoption.h:152:11: warning: conversion from 'QFlags::Int' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 152 | { align = aalignment; } | ^~~~~~~~~~ listview.cpp: In member function 'QPixmap ListView::pixmapFromSelection(const QStringList&, const QString&) const': listview.cpp:351:38: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 351 | painter.fillRect(0, 0, fm.width(ref)+2*spacing, height, o.palette.window()); | ^ In file included from /usr/include/qt5/QtWidgets/qwidget.h:50, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/qabstractscrollarea.h:44, from /usr/include/qt5/QtWidgets/qabstractitemview.h:44, from /usr/include/qt5/QtWidgets/qheaderview.h:44, from /usr/include/qt5/QtWidgets/QHeaderView:1, from listview.cpp:10: /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ listview.cpp: In member function 'virtual void ListView::dragEnterEvent(QDragEnterEvent*)': listview.cpp:490:80: warning: 'QStringList QString::split(QChar, QString::SplitBehavior, Qt::CaseSensitivity) const' is deprecated: Use Qt::SplitBehavior variant instead [-Wdeprecated-declarations] 490 | dropInfo->shas = revsText.section("\n", 1).split('\n', QString::SkipEmptyParts); | ^ In file included from /usr/include/qt5/QtCore/qcoreapplication.h:44, from /usr/include/qt5/QtWidgets/qapplication.h:44, from /usr/include/qt5/QtWidgets/QApplication:1, from listview.cpp:9: /usr/include/qt5/QtCore/qstring.h:610:17: note: declared here 610 | QStringList split(QChar sep, SplitBehavior behavior, | ^~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../src -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o annotate.o annotate.cpp In file included from /usr/include/qt5/QtWidgets/qapplication.h:46, from /usr/include/qt5/QtWidgets/QApplication:1, from annotate.cpp:9: /usr/include/qt5/QtCore/qpoint.h: In member function 'constexpr QPoint& QPoint::operator*=(float)': /usr/include/qt5/QtCore/qpoint.h:157:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h:157:39: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(const QPoint&, float)': /usr/include/qt5/QtCore/qpoint.h:178:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:178:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(float, const QPoint&)': /usr/include/qt5/QtCore/qpoint.h:187:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:187:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ In file included from /usr/include/qt5/QtCore/qlocale.h:43, from /usr/include/qt5/QtGui/qguiapplication.h:47, from /usr/include/qt5/QtWidgets/qapplication.h:52, from /usr/include/qt5/QtWidgets/QApplication:1, from annotate.cpp:9: /usr/include/qt5/QtCore/qvariant.h: In constructor 'QVariant::Private::Private(uint)': /usr/include/qt5/QtCore/qvariant.h:401:20: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 401 | : type(variantType), is_shared(false), is_null(false) | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QTimer:1, from annotate.cpp:10: /usr/include/qt5/QtCore/qtimer.h: In member function 'void QTimer::setTimerType(Qt::TimerType)': /usr/include/qt5/QtCore/qtimer.h:77:59: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:2' may change value [-Wconversion] 77 | void setTimerType(Qt::TimerType atype) { this->type = atype; } | ^~~~~ In file included from /usr/include/qt5/QtGui/qcolor.h:47, from /usr/include/qt5/QtGui/QColor:1, from common.h:10, from FileHistory.h:14, from annotate.cpp:11: /usr/include/qt5/QtGui/qrgba64.h: In member function 'constexpr uint QRgba64::toArgb32() const': /usr/include/qt5/QtGui/qrgba64.h:137:14: warning: conversion from 'quint64' {aka 'long long unsigned int'} to 'uint' {aka 'unsigned int'} may change value [-Wconversion] 134 | return ((ag >> 16) & 0xff000000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | | ((br << 16) & 0xff0000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | | (ag & 0xff00) | ~~~~~~~~~~~~~~~~~~~~~~~ 137 | | ((br >> 32) & 0xff); | ^~~~~~~~~~~~~~~~~~~~~ annotate.cpp: In member function 'void Annotate::slotComputeDiffs()': annotate.cpp:101:23: warning: 'void QTime::start()' is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] 101 | processingTime.start(); | ^ In file included from /usr/include/qt5/QtCore/QTime:1, from annotate.h:11, from annotate.cpp:14: /usr/include/qt5/QtCore/qdatetime.h:235:55: note: declared here 235 | QT_DEPRECATED_X("Use QElapsedTimer instead") void start(); | ^~~~~ annotate.cpp:113:56: warning: 'int QTime::elapsed() const' is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] 113 | msg = msg.arg(ah.count()).arg(processingTime.elapsed()); | ^ In file included from /usr/include/qt5/QtCore/QTime:1, from annotate.h:11, from annotate.cpp:14: /usr/include/qt5/QtCore/qdatetime.h:237:54: note: declared here 237 | QT_DEPRECATED_X("Use QElapsedTimer instead") int elapsed() const; | ^~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../src -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o namespace_def.o namespace_def.cpp In file included from /usr/include/qt5/QtCore/qrect.h:45, from /usr/include/qt5/QtGui/qpaintdevice.h:45, from /usr/include/qt5/QtGui/qpixmap.h:44, from /usr/include/qt5/QtGui/QPixmap:1, from namespace_def.cpp:16: /usr/include/qt5/QtCore/qpoint.h: In member function 'constexpr QPoint& QPoint::operator*=(float)': /usr/include/qt5/QtCore/qpoint.h:157:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h:157:39: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(const QPoint&, float)': /usr/include/qt5/QtCore/qpoint.h:178:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:178:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(float, const QPoint&)': /usr/include/qt5/QtCore/qpoint.h:187:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:187:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ In file included from /usr/include/qt5/QtGui/qcolor.h:47, from /usr/include/qt5/QtGui/qpixmap.h:45, from /usr/include/qt5/QtGui/QPixmap:1, from namespace_def.cpp:16: /usr/include/qt5/QtGui/qrgba64.h: In member function 'constexpr uint QRgba64::toArgb32() const': /usr/include/qt5/QtGui/qrgba64.h:137:14: warning: conversion from 'quint64' {aka 'long long unsigned int'} to 'uint' {aka 'unsigned int'} may change value [-Wconversion] 134 | return ((ag >> 16) & 0xff000000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | | ((br << 16) & 0xff0000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | | (ag & 0xff00) | ~~~~~~~~~~~~~~~~~~~~~~~ 137 | | ((br >> 32) & 0xff); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qimage.h:47, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/QPixmap:1, from namespace_def.cpp:16: /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::channelCount() const': /usr/include/qt5/QtGui/qpixelformat.h:183:121: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 179 | Q_DECL_CONSTEXPR inline uchar channelCount() const noexcept { return (get(FirstField, FirstFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 180 | (get(SecondField, SecondFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 181 | (get(ThirdField, ThirdFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 182 | (get(FourthField, FourthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 183 | (get(FifthField, FifthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 184 | (get(AlphaField, AlphaFieldWidth) > 0); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::bitsPerPixel() const': /usr/include/qt5/QtGui/qpixelformat.h:206:115: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 202 | Q_DECL_CONSTEXPR inline uchar bitsPerPixel() const noexcept { return get(FirstField, FirstFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 203 | get(SecondField, SecondFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 204 | get(ThirdField, ThirdFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 205 | get(FourthField, FourthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 206 | get(FifthField, FifthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 207 | get(AlphaField, AlphaFieldWidth); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qsettings.h:44, from /usr/include/qt5/QtCore/QSettings:1, from namespace_def.cpp:18: /usr/include/qt5/QtCore/qvariant.h: In constructor 'QVariant::Private::Private(uint)': /usr/include/qt5/QtCore/qvariant.h:401:20: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 401 | : type(variantType), is_shared(false), is_null(false) | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/qsplitter.h:44, from /usr/include/qt5/QtWidgets/QSplitter:1, from namespace_def.cpp:19: /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt5/QtGui/qpalette.h:107:76: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 107 | inline void setCurrentColorGroup(ColorGroup cg) { data.current_group = cg; } | ^~ /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt5/QtGui/qpalette.h:163:58: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] 163 | inline void resolve(uint mask) { data.resolve_mask = mask; } | ^~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/qsplitter.h:44, from /usr/include/qt5/QtWidgets/QSplitter:1, from namespace_def.cpp:19: /usr/include/qt5/QtWidgets/qsizepolicy.h: In constructor 'constexpr QSizePolicy::QSizePolicy(QSizePolicy::Policy, QSizePolicy::Policy, QSizePolicy::ControlType)': /usr/include/qt5/QtWidgets/qsizepolicy.h:117:22: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:117:43: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:118:36: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:5' may change value [-Wconversion] 118 | type == DefaultType ? 0 : toControlTypeFieldValue(type), 0, 0, 0} | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:132:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 132 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalPolicy(Policy d) noexcept { bits.horPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:133:91: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 133 | Q_DECL_RELAXED_CONSTEXPR void setVerticalPolicy(Policy d) noexcept { bits.verPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:155:95: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 155 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalStretch(int stretchFactor) { bits.horStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/qsplitter.h:44, from /usr/include/qt5/QtWidgets/QSplitter:1, from namespace_def.cpp:19: /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:156:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 156 | Q_DECL_RELAXED_CONSTEXPR void setVerticalStretch(int stretchFactor) { bits.verStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../src -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o revsview.o revsview.cpp In file included from /usr/include/qt5/QtCore/qrect.h:45, from /usr/include/qt5/QtGui/qpaintdevice.h:45, from /usr/include/qt5/QtWidgets/qwidget.h:47, from /usr/include/qt5/QtWidgets/qmenu.h:44, from /usr/include/qt5/QtWidgets/QMenu:1, from revsview.cpp:9: /usr/include/qt5/QtCore/qpoint.h: In member function 'constexpr QPoint& QPoint::operator*=(float)': /usr/include/qt5/QtCore/qpoint.h:157:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h:157:39: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(const QPoint&, float)': /usr/include/qt5/QtCore/qpoint.h:178:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:178:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(float, const QPoint&)': /usr/include/qt5/QtCore/qpoint.h:187:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:187:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ In file included from /usr/include/qt5/QtGui/qcolor.h:47, from /usr/include/qt5/QtGui/qpalette.h:45, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qmenu.h:44, from /usr/include/qt5/QtWidgets/QMenu:1, from revsview.cpp:9: /usr/include/qt5/QtGui/qrgba64.h: In member function 'constexpr uint QRgba64::toArgb32() const': /usr/include/qt5/QtGui/qrgba64.h:137:14: warning: conversion from 'quint64' {aka 'long long unsigned int'} to 'uint' {aka 'unsigned int'} may change value [-Wconversion] 134 | return ((ag >> 16) & 0xff000000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | | ((br << 16) & 0xff0000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | | (ag & 0xff00) | ~~~~~~~~~~~~~~~~~~~~~~~ 137 | | ((br >> 32) & 0xff); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qimage.h:47, from /usr/include/qt5/QtGui/qbrush.h:51, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qmenu.h:44, from /usr/include/qt5/QtWidgets/QMenu:1, from revsview.cpp:9: /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::channelCount() const': /usr/include/qt5/QtGui/qpixelformat.h:183:121: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 179 | Q_DECL_CONSTEXPR inline uchar channelCount() const noexcept { return (get(FirstField, FirstFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 180 | (get(SecondField, SecondFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 181 | (get(ThirdField, ThirdFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 182 | (get(FourthField, FourthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 183 | (get(FifthField, FifthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 184 | (get(AlphaField, AlphaFieldWidth) > 0); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::bitsPerPixel() const': /usr/include/qt5/QtGui/qpixelformat.h:206:115: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 202 | Q_DECL_CONSTEXPR inline uchar bitsPerPixel() const noexcept { return get(FirstField, FirstFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 203 | get(SecondField, SecondFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 204 | get(ThirdField, ThirdFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 205 | get(FourthField, FourthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 206 | get(FifthField, FifthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 207 | get(AlphaField, AlphaFieldWidth); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qmenu.h:44, from /usr/include/qt5/QtWidgets/QMenu:1, from revsview.cpp:9: /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt5/QtGui/qpalette.h:107:76: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 107 | inline void setCurrentColorGroup(ColorGroup cg) { data.current_group = cg; } | ^~ /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt5/QtGui/qpalette.h:163:58: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] 163 | inline void resolve(uint mask) { data.resolve_mask = mask; } | ^~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qmenu.h:44, from /usr/include/qt5/QtWidgets/QMenu:1, from revsview.cpp:9: /usr/include/qt5/QtWidgets/qsizepolicy.h: In constructor 'constexpr QSizePolicy::QSizePolicy(QSizePolicy::Policy, QSizePolicy::Policy, QSizePolicy::ControlType)': /usr/include/qt5/QtWidgets/qsizepolicy.h:117:22: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:117:43: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:118:36: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:5' may change value [-Wconversion] 118 | type == DefaultType ? 0 : toControlTypeFieldValue(type), 0, 0, 0} | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:132:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 132 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalPolicy(Policy d) noexcept { bits.horPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:133:91: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 133 | Q_DECL_RELAXED_CONSTEXPR void setVerticalPolicy(Policy d) noexcept { bits.verPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:155:95: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 155 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalStretch(int stretchFactor) { bits.horStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qmenu.h:44, from /usr/include/qt5/QtWidgets/QMenu:1, from revsview.cpp:9: /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:156:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 156 | Q_DECL_RELAXED_CONSTEXPR void setVerticalStretch(int stretchFactor) { bits.verStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qaction.h:47, from /usr/include/qt5/QtWidgets/qmenu.h:47, from /usr/include/qt5/QtWidgets/QMenu:1, from revsview.cpp:9: /usr/include/qt5/QtCore/qvariant.h: In constructor 'QVariant::Private::Private(uint)': /usr/include/qt5/QtCore/qvariant.h:401:20: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 401 | : type(variantType), is_shared(false), is_null(false) | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qtextedit.h:46, from /usr/include/qt5/QtWidgets/qtextbrowser.h:44, from /usr/include/qt5/QtWidgets/QTextBrowser:1, from revdesc.h:9, from revsview.cpp:17: /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setTextDirection(Qt::LayoutDirection)': /usr/include/qt5/QtGui/qtextoption.h:95:86: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:2' may change value [-Wconversion] 95 | inline void setTextDirection(Qt::LayoutDirection aDirection) { this->direction = aDirection; } | ^~~~~~~~~~ /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setWrapMode(QTextOption::WrapMode)': /usr/include/qt5/QtGui/qtextoption.h:105:57: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 105 | inline void setWrapMode(WrapMode wrap) { wordWrap = wrap; } | ^~~~ /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setAlignment(Qt::Alignment)': /usr/include/qt5/QtGui/qtextoption.h:152:11: warning: conversion from 'QFlags::Int' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 152 | { align = aalignment; } | ^~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../src -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o rangeselectimpl.o rangeselectimpl.cpp In file included from /usr/include/qt5/QtCore/qsettings.h:44, from /usr/include/qt5/QtCore/QSettings:1, from rangeselectimpl.cpp:9: /usr/include/qt5/QtCore/qvariant.h: In constructor 'QVariant::Private::Private(uint)': /usr/include/qt5/QtCore/qvariant.h:401:20: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 401 | : type(variantType), is_shared(false), is_null(false) | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qcolor.h:47, from /usr/include/qt5/QtGui/QColor:1, from common.h:10, from rangeselectimpl.cpp:11: /usr/include/qt5/QtGui/qrgba64.h: In member function 'constexpr uint QRgba64::toArgb32() const': /usr/include/qt5/QtGui/qrgba64.h:137:14: warning: conversion from 'quint64' {aka 'long long unsigned int'} to 'uint' {aka 'unsigned int'} may change value [-Wconversion] 134 | return ((ag >> 16) & 0xff000000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | | ((br << 16) & 0xff0000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | | (ag & 0xff00) | ~~~~~~~~~~~~~~~~~~~~~~~ 137 | | ((br >> 32) & 0xff); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qrect.h:45, from /usr/include/qt5/QtGui/qpaintdevice.h:45, from /usr/include/qt5/QtGui/qpixmap.h:44, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from ui_rangeselect.h:13, from rangeselectimpl.h:10, from rangeselectimpl.cpp:13: /usr/include/qt5/QtCore/qpoint.h: In member function 'constexpr QPoint& QPoint::operator*=(float)': /usr/include/qt5/QtCore/qpoint.h:157:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h:157:39: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(const QPoint&, float)': /usr/include/qt5/QtCore/qpoint.h:178:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:178:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(float, const QPoint&)': /usr/include/qt5/QtCore/qpoint.h:187:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:187:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ In file included from /usr/include/qt5/QtGui/qimage.h:47, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from ui_rangeselect.h:13, from rangeselectimpl.h:10, from rangeselectimpl.cpp:13: /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::channelCount() const': /usr/include/qt5/QtGui/qpixelformat.h:183:121: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 179 | Q_DECL_CONSTEXPR inline uchar channelCount() const noexcept { return (get(FirstField, FirstFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 180 | (get(SecondField, SecondFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 181 | (get(ThirdField, ThirdFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 182 | (get(FourthField, FourthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 183 | (get(FifthField, FifthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 184 | (get(AlphaField, AlphaFieldWidth) > 0); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::bitsPerPixel() const': /usr/include/qt5/QtGui/qpixelformat.h:206:115: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 202 | Q_DECL_CONSTEXPR inline uchar bitsPerPixel() const noexcept { return get(FirstField, FirstFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 203 | get(SecondField, SecondFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 204 | get(ThirdField, ThirdFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 205 | get(FourthField, FourthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 206 | get(FifthField, FifthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 207 | get(AlphaField, AlphaFieldWidth); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qabstractbutton.h:46, from /usr/include/qt5/QtWidgets/qcheckbox.h:44, from /usr/include/qt5/QtWidgets/QCheckBox:1, from ui_rangeselect.h:15, from rangeselectimpl.h:10, from rangeselectimpl.cpp:13: /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt5/QtGui/qpalette.h:107:76: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 107 | inline void setCurrentColorGroup(ColorGroup cg) { data.current_group = cg; } | ^~ /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt5/QtGui/qpalette.h:163:58: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] 163 | inline void resolve(uint mask) { data.resolve_mask = mask; } | ^~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qabstractbutton.h:46, from /usr/include/qt5/QtWidgets/qcheckbox.h:44, from /usr/include/qt5/QtWidgets/QCheckBox:1, from ui_rangeselect.h:15, from rangeselectimpl.h:10, from rangeselectimpl.cpp:13: /usr/include/qt5/QtWidgets/qsizepolicy.h: In constructor 'constexpr QSizePolicy::QSizePolicy(QSizePolicy::Policy, QSizePolicy::Policy, QSizePolicy::ControlType)': /usr/include/qt5/QtWidgets/qsizepolicy.h:117:22: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:117:43: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:118:36: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:5' may change value [-Wconversion] 118 | type == DefaultType ? 0 : toControlTypeFieldValue(type), 0, 0, 0} | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:132:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 132 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalPolicy(Policy d) noexcept { bits.horPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:133:91: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 133 | Q_DECL_RELAXED_CONSTEXPR void setVerticalPolicy(Policy d) noexcept { bits.verPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:155:95: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 155 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalStretch(int stretchFactor) { bits.horStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qabstractbutton.h:46, from /usr/include/qt5/QtWidgets/qcheckbox.h:44, from /usr/include/qt5/QtWidgets/QCheckBox:1, from ui_rangeselect.h:15, from rangeselectimpl.h:10, from rangeselectimpl.cpp:13: /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:156:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 156 | Q_DECL_RELAXED_CONSTEXPR void setVerticalStretch(int stretchFactor) { bits.verStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qtextformat.h:51, from /usr/include/qt5/QtGui/qtextcursor.h:46, from /usr/include/qt5/QtWidgets/qlineedit.h:45, from /usr/include/qt5/QtWidgets/QLineEdit:1, from ui_rangeselect.h:22, from rangeselectimpl.h:10, from rangeselectimpl.cpp:13: /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setTextDirection(Qt::LayoutDirection)': /usr/include/qt5/QtGui/qtextoption.h:95:86: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:2' may change value [-Wconversion] 95 | inline void setTextDirection(Qt::LayoutDirection aDirection) { this->direction = aDirection; } | ^~~~~~~~~~ /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setWrapMode(QTextOption::WrapMode)': /usr/include/qt5/QtGui/qtextoption.h:105:57: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 105 | inline void setWrapMode(WrapMode wrap) { wordWrap = wrap; } | ^~~~ /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setAlignment(Qt::Alignment)': /usr/include/qt5/QtGui/qtextoption.h:152:11: warning: conversion from 'QFlags::Int' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 152 | { align = aalignment; } | ^~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../src -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o patchcontent.o patchcontent.cpp In file included from /usr/include/qt5/QtCore/qrect.h:45, from /usr/include/qt5/QtGui/qpaintdevice.h:45, from /usr/include/qt5/QtWidgets/qwidget.h:47, from /usr/include/qt5/QtWidgets/qscrollbar.h:44, from /usr/include/qt5/QtWidgets/QScrollBar:1, from patchcontent.cpp:7: /usr/include/qt5/QtCore/qpoint.h: In member function 'constexpr QPoint& QPoint::operator*=(float)': /usr/include/qt5/QtCore/qpoint.h:157:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h:157:39: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(const QPoint&, float)': /usr/include/qt5/QtCore/qpoint.h:178:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:178:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(float, const QPoint&)': /usr/include/qt5/QtCore/qpoint.h:187:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:187:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ In file included from /usr/include/qt5/QtGui/qcolor.h:47, from /usr/include/qt5/QtGui/qpalette.h:45, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qscrollbar.h:44, from /usr/include/qt5/QtWidgets/QScrollBar:1, from patchcontent.cpp:7: /usr/include/qt5/QtGui/qrgba64.h: In member function 'constexpr uint QRgba64::toArgb32() const': /usr/include/qt5/QtGui/qrgba64.h:137:14: warning: conversion from 'quint64' {aka 'long long unsigned int'} to 'uint' {aka 'unsigned int'} may change value [-Wconversion] 134 | return ((ag >> 16) & 0xff000000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | | ((br << 16) & 0xff0000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | | (ag & 0xff00) | ~~~~~~~~~~~~~~~~~~~~~~~ 137 | | ((br >> 32) & 0xff); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qimage.h:47, from /usr/include/qt5/QtGui/qbrush.h:51, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qscrollbar.h:44, from /usr/include/qt5/QtWidgets/QScrollBar:1, from patchcontent.cpp:7: /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::channelCount() const': /usr/include/qt5/QtGui/qpixelformat.h:183:121: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 179 | Q_DECL_CONSTEXPR inline uchar channelCount() const noexcept { return (get(FirstField, FirstFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 180 | (get(SecondField, SecondFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 181 | (get(ThirdField, ThirdFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 182 | (get(FourthField, FourthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 183 | (get(FifthField, FifthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 184 | (get(AlphaField, AlphaFieldWidth) > 0); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::bitsPerPixel() const': /usr/include/qt5/QtGui/qpixelformat.h:206:115: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 202 | Q_DECL_CONSTEXPR inline uchar bitsPerPixel() const noexcept { return get(FirstField, FirstFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 203 | get(SecondField, SecondFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 204 | get(ThirdField, ThirdFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 205 | get(FourthField, FourthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 206 | get(FifthField, FifthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 207 | get(AlphaField, AlphaFieldWidth); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qscrollbar.h:44, from /usr/include/qt5/QtWidgets/QScrollBar:1, from patchcontent.cpp:7: /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt5/QtGui/qpalette.h:107:76: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 107 | inline void setCurrentColorGroup(ColorGroup cg) { data.current_group = cg; } | ^~ /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt5/QtGui/qpalette.h:163:58: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] 163 | inline void resolve(uint mask) { data.resolve_mask = mask; } | ^~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qscrollbar.h:44, from /usr/include/qt5/QtWidgets/QScrollBar:1, from patchcontent.cpp:7: /usr/include/qt5/QtWidgets/qsizepolicy.h: In constructor 'constexpr QSizePolicy::QSizePolicy(QSizePolicy::Policy, QSizePolicy::Policy, QSizePolicy::ControlType)': /usr/include/qt5/QtWidgets/qsizepolicy.h:117:22: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:117:43: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:118:36: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:5' may change value [-Wconversion] 118 | type == DefaultType ? 0 : toControlTypeFieldValue(type), 0, 0, 0} | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:132:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 132 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalPolicy(Policy d) noexcept { bits.horPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:133:91: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 133 | Q_DECL_RELAXED_CONSTEXPR void setVerticalPolicy(Policy d) noexcept { bits.verPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:155:95: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 155 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalStretch(int stretchFactor) { bits.horStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qscrollbar.h:44, from /usr/include/qt5/QtWidgets/QScrollBar:1, from patchcontent.cpp:7: /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:156:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 156 | Q_DECL_RELAXED_CONSTEXPR void setVerticalStretch(int stretchFactor) { bits.verStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qtextformat.h:48, from /usr/include/qt5/QtGui/QTextCharFormat:1, from patchcontent.cpp:8: /usr/include/qt5/QtCore/qvariant.h: In constructor 'QVariant::Private::Private(uint)': /usr/include/qt5/QtCore/qvariant.h:401:20: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 401 | : type(variantType), is_shared(false), is_null(false) | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qtextformat.h:51, from /usr/include/qt5/QtGui/QTextCharFormat:1, from patchcontent.cpp:8: /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setTextDirection(Qt::LayoutDirection)': /usr/include/qt5/QtGui/qtextoption.h:95:86: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:2' may change value [-Wconversion] 95 | inline void setTextDirection(Qt::LayoutDirection aDirection) { this->direction = aDirection; } | ^~~~~~~~~~ /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setWrapMode(QTextOption::WrapMode)': /usr/include/qt5/QtGui/qtextoption.h:105:57: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 105 | inline void setWrapMode(WrapMode wrap) { wordWrap = wrap; } | ^~~~ /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setAlignment(Qt::Alignment)': /usr/include/qt5/QtGui/qtextoption.h:152:11: warning: conversion from 'QFlags::Int' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 152 | { align = aalignment; } | ^~~~~~~~~~ patchcontent.cpp: In member function 'void PatchContent::processData(const QByteArray&, int*)': patchcontent.cpp:239:67: warning: 'QStringList QString::split(QChar, QString::SplitBehavior, Qt::CaseSensitivity) const' is deprecated: Use Qt::SplitBehavior variant instead [-Wdeprecated-declarations] 239 | const QStringList sl(newLines.split('\n', QString::KeepEmptyParts)); | ^ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qscrollbar.h:44, from /usr/include/qt5/QtWidgets/QScrollBar:1, from patchcontent.cpp:7: /usr/include/qt5/QtCore/qstring.h:610:17: note: declared here 610 | QStringList split(QChar sep, SplitBehavior behavior, | ^~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../src -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o git.o git.cpp In file included from /usr/include/qt5/QtWidgets/qapplication.h:46, from /usr/include/qt5/QtWidgets/QApplication:1, from git.cpp:9: /usr/include/qt5/QtCore/qpoint.h: In member function 'constexpr QPoint& QPoint::operator*=(float)': /usr/include/qt5/QtCore/qpoint.h:157:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h:157:39: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(const QPoint&, float)': /usr/include/qt5/QtCore/qpoint.h:178:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:178:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(float, const QPoint&)': /usr/include/qt5/QtCore/qpoint.h:187:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:187:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ In file included from /usr/include/qt5/QtCore/qlocale.h:43, from /usr/include/qt5/QtGui/qguiapplication.h:47, from /usr/include/qt5/QtWidgets/qapplication.h:52, from /usr/include/qt5/QtWidgets/QApplication:1, from git.cpp:9: /usr/include/qt5/QtCore/qvariant.h: In constructor 'QVariant::Private::Private(uint)': /usr/include/qt5/QtCore/qvariant.h:401:20: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 401 | : type(variantType), is_shared(false), is_null(false) | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qcolor.h:47, from /usr/include/qt5/QtGui/qimage.h:44, from /usr/include/qt5/QtGui/qimagereader.h:46, from /usr/include/qt5/QtGui/QImageReader:1, from git.cpp:12: /usr/include/qt5/QtGui/qrgba64.h: In member function 'constexpr uint QRgba64::toArgb32() const': /usr/include/qt5/QtGui/qrgba64.h:137:14: warning: conversion from 'quint64' {aka 'long long unsigned int'} to 'uint' {aka 'unsigned int'} may change value [-Wconversion] 134 | return ((ag >> 16) & 0xff000000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | | ((br << 16) & 0xff0000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | | (ag & 0xff00) | ~~~~~~~~~~~~~~~~~~~~~~~ 137 | | ((br >> 32) & 0xff); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qimage.h:47, from /usr/include/qt5/QtGui/qimagereader.h:46, from /usr/include/qt5/QtGui/QImageReader:1, from git.cpp:12: /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::channelCount() const': /usr/include/qt5/QtGui/qpixelformat.h:183:121: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 179 | Q_DECL_CONSTEXPR inline uchar channelCount() const noexcept { return (get(FirstField, FirstFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 180 | (get(SecondField, SecondFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 181 | (get(ThirdField, ThirdFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 182 | (get(FourthField, FourthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 183 | (get(FifthField, FifthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 184 | (get(AlphaField, AlphaFieldWidth) > 0); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::bitsPerPixel() const': /usr/include/qt5/QtGui/qpixelformat.h:206:115: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 202 | Q_DECL_CONSTEXPR inline uchar bitsPerPixel() const noexcept { return get(FirstField, FirstFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 203 | get(SecondField, SecondFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 204 | get(ThirdField, ThirdFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 205 | get(FourthField, FourthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 206 | get(FifthField, FifthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 207 | get(AlphaField, AlphaFieldWidth); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qjsonvalue.h:46, from /usr/include/qt5/QtCore/qjsonobject.h:43, from /usr/include/qt5/QtCore/qplugin.h:46, from /usr/include/qt5/QtGui/qimageiohandler.h:45, from /usr/include/qt5/QtGui/qimagereader.h:47, from /usr/include/qt5/QtGui/QImageReader:1, from git.cpp:12: /usr/include/qt5/QtCore/qcborvalue.h: At global scope: /usr/include/qt5/QtCore/qcborvalue.h:243:51: warning: the result of the conversion is unspecified because '-1' is outside the range of type 'QCborTag' [-Wconversion] 243 | QCborTag tag(QCborTag defaultValue = QCborTag(-1)) const; | ^~ /usr/include/qt5/QtCore/qcborvalue.h:383:51: warning: the result of the conversion is unspecified because '-1' is outside the range of type 'QCborTag' [-Wconversion] 383 | QCborTag tag(QCborTag defaultValue = QCborTag(-1)) const | ^~ In file included from /usr/include/qt5/QtCore/qjsonobject.h:43, from /usr/include/qt5/QtCore/qplugin.h:46, from /usr/include/qt5/QtGui/qimageiohandler.h:45, from /usr/include/qt5/QtGui/qimagereader.h:47, from /usr/include/qt5/QtGui/QImageReader:1, from git.cpp:12: /usr/include/qt5/QtCore/qjsonvalue.h: In constructor 'QJsonValueRef::QJsonValueRef(QJsonArray*, int)': /usr/include/qt5/QtCore/qjsonvalue.h:163:45: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:31' may change value [-Wconversion] 163 | : a(array), is_object(false), index(static_cast(idx)) {} | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qjsonvalue.h: In constructor 'QJsonValueRef::QJsonValueRef(QJsonObject*, int)': /usr/include/qt5/QtCore/qjsonvalue.h:165:45: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:31' may change value [-Wconversion] 165 | : o(object), is_object(true), index(static_cast(idx)) {} | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QPalette:1, from git.cpp:13: /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt5/QtGui/qpalette.h:107:76: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 107 | inline void setCurrentColorGroup(ColorGroup cg) { data.current_group = cg; } | ^~ /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt5/QtGui/qpalette.h:163:58: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] 163 | inline void resolve(uint mask) { data.resolve_mask = mask; } | ^~~~ In file included from /usr/include/qt5/QtCore/QTimer:1, from dataloader.h:12, from git.cpp:23: /usr/include/qt5/QtCore/qtimer.h: In member function 'void QTimer::setTimerType(Qt::TimerType)': /usr/include/qt5/QtCore/qtimer.h:77:59: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:2' may change value [-Wconversion] 77 | void setTimerType(Qt::TimerType atype) { this->type = atype; } | ^~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qabstractbutton.h:46, from /usr/include/qt5/QtWidgets/qcheckbox.h:44, from /usr/include/qt5/QtWidgets/QCheckBox:1, from ui_rangeselect.h:15, from rangeselectimpl.h:10, from git.cpp:27: /usr/include/qt5/QtWidgets/qsizepolicy.h: In constructor 'constexpr QSizePolicy::QSizePolicy(QSizePolicy::Policy, QSizePolicy::Policy, QSizePolicy::ControlType)': /usr/include/qt5/QtWidgets/qsizepolicy.h:117:22: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:117:43: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:118:36: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:5' may change value [-Wconversion] 118 | type == DefaultType ? 0 : toControlTypeFieldValue(type), 0, 0, 0} | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:132:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 132 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalPolicy(Policy d) noexcept { bits.horPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:133:91: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 133 | Q_DECL_RELAXED_CONSTEXPR void setVerticalPolicy(Policy d) noexcept { bits.verPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:155:95: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 155 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalStretch(int stretchFactor) { bits.horStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qabstractbutton.h:46, from /usr/include/qt5/QtWidgets/qcheckbox.h:44, from /usr/include/qt5/QtWidgets/QCheckBox:1, from ui_rangeselect.h:15, from rangeselectimpl.h:10, from git.cpp:27: /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:156:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 156 | Q_DECL_RELAXED_CONSTEXPR void setVerticalStretch(int stretchFactor) { bits.verStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qtextformat.h:51, from /usr/include/qt5/QtGui/qtextcursor.h:46, from /usr/include/qt5/QtWidgets/qlineedit.h:45, from /usr/include/qt5/QtWidgets/QLineEdit:1, from ui_rangeselect.h:22, from rangeselectimpl.h:10, from git.cpp:27: /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setTextDirection(Qt::LayoutDirection)': /usr/include/qt5/QtGui/qtextoption.h:95:86: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:2' may change value [-Wconversion] 95 | inline void setTextDirection(Qt::LayoutDirection aDirection) { this->direction = aDirection; } | ^~~~~~~~~~ /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setWrapMode(QTextOption::WrapMode)': /usr/include/qt5/QtGui/qtextoption.h:105:57: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 105 | inline void setWrapMode(WrapMode wrap) { wordWrap = wrap; } | ^~~~ /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setAlignment(Qt::Alignment)': /usr/include/qt5/QtGui/qtextoption.h:152:11: warning: conversion from 'QFlags::Int' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 152 | { align = aalignment; } | ^~~~~~~~~~ git.cpp: In member function 'const QStringList Git::getGitConfigList(bool)': git.cpp:144:57: warning: 'QStringList QString::split(QChar, QString::SplitBehavior, Qt::CaseSensitivity) const' is deprecated: Use Qt::SplitBehavior variant instead [-Wdeprecated-declarations] 144 | return runOutput.split('\n', QString::SkipEmptyParts); | ^ In file included from /usr/include/qt5/QtCore/qcoreapplication.h:44, from /usr/include/qt5/QtWidgets/qapplication.h:44, from /usr/include/qt5/QtWidgets/QApplication:1, from git.cpp:9: /usr/include/qt5/QtCore/qstring.h:610:17: note: declared here 610 | QStringList split(QChar sep, SplitBehavior behavior, | ^~~~~ git.cpp: In member function 'bool Git::getTree(SCRef, Git::TreeInfo&, bool, SCRef)': git.cpp:799:68: warning: 'QStringList QString::split(QChar, QString::SplitBehavior, Qt::CaseSensitivity) const' is deprecated: Use Qt::SplitBehavior variant instead [-Wdeprecated-declarations] 799 | const QStringList sl(runOutput.split('\n', QString::SkipEmptyParts)); | ^ In file included from /usr/include/qt5/QtCore/qcoreapplication.h:44, from /usr/include/qt5/QtWidgets/qapplication.h:44, from /usr/include/qt5/QtWidgets/QApplication:1, from git.cpp:9: /usr/include/qt5/QtCore/qstring.h:610:17: note: declared here 610 | QStringList split(QChar sep, SplitBehavior behavior, | ^~~~~ git.cpp:811:10: warning: 'void qSort(Container&) [with Container = QList]' is deprecated: Use std::sort [-Wdeprecated-declarations] 811 | qSort(ti); // list directories before files | ^ In file included from /usr/include/qt5/QtCore/qlist.h:43, from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/qcoreapplication.h:46, from /usr/include/qt5/QtWidgets/qapplication.h:44, from /usr/include/qt5/QtWidgets/QApplication:1, from git.cpp:9: /usr/include/qt5/QtCore/qalgorithms.h:188:46: note: declared here 188 | QT_DEPRECATED_X("Use std::sort") inline void qSort(Container &c) | ^~~~~ git.cpp: In member function 'bool Git::getPatchFilter(SCRef, bool, ShaSet&)': git.cpp:1312:68: warning: 'QStringList QString::split(QChar, QString::SplitBehavior, Qt::CaseSensitivity) const' is deprecated: Use Qt::SplitBehavior variant instead [-Wdeprecated-declarations] 1312 | const QStringList sl(runOutput.split('\n', QString::SkipEmptyParts)); | ^ In file included from /usr/include/qt5/QtCore/qcoreapplication.h:44, from /usr/include/qt5/QtWidgets/qapplication.h:44, from /usr/include/qt5/QtWidgets/QApplication:1, from git.cpp:9: /usr/include/qt5/QtCore/qstring.h:610:17: note: declared here 610 | QStringList split(QChar sep, SplitBehavior behavior, | ^~~~~ git.cpp: In member function 'bool Git::getRefs()': git.cpp:1797:77: warning: 'QStringList QString::split(QChar, QString::SplitBehavior, Qt::CaseSensitivity) const' is deprecated: Use Qt::SplitBehavior variant instead [-Wdeprecated-declarations] 1797 | const QStringList rLst(runOutput.split('\n', QString::SkipEmptyParts)); | ^ In file included from /usr/include/qt5/QtCore/qcoreapplication.h:44, from /usr/include/qt5/QtWidgets/qapplication.h:44, from /usr/include/qt5/QtWidgets/QApplication:1, from git.cpp:9: /usr/include/qt5/QtCore/qstring.h:610:17: note: declared here 610 | QStringList split(QChar sep, SplitBehavior behavior, | ^~~~~ git.cpp: In member function 'void Git::parseStGitPatches(SCList, SCList)': git.cpp:1878:75: warning: 'QStringList QString::split(QChar, QString::SplitBehavior, Qt::CaseSensitivity) const' is deprecated: Use Qt::SplitBehavior variant instead [-Wdeprecated-declarations] 1878 | const QStringList pl(runOutput.split('\n', QString::SkipEmptyParts)); | ^ In file included from /usr/include/qt5/QtCore/qcoreapplication.h:44, from /usr/include/qt5/QtWidgets/qapplication.h:44, from /usr/include/qt5/QtWidgets/QApplication:1, from git.cpp:9: /usr/include/qt5/QtCore/qstring.h:610:17: note: declared here 610 | QStringList split(QChar sep, SplitBehavior behavior, | ^~~~~ git.cpp: In member function 'const QStringList Git::getOthersFiles()': git.cpp:1918:61: warning: 'QStringList QString::split(QChar, QString::SplitBehavior, Qt::CaseSensitivity) const' is deprecated: Use Qt::SplitBehavior variant instead [-Wdeprecated-declarations] 1918 | return runOutput.split('\n', QString::SkipEmptyParts); | ^ In file included from /usr/include/qt5/QtCore/qcoreapplication.h:44, from /usr/include/qt5/QtWidgets/qapplication.h:44, from /usr/include/qt5/QtWidgets/QApplication:1, from git.cpp:9: /usr/include/qt5/QtCore/qstring.h:610:17: note: declared here 610 | QStringList split(QChar sep, SplitBehavior behavior, | ^~~~~ git.cpp: In member function 'void Git::setExtStatus(RevFile&, SCRef, int, Git::FileNamesLoader&)': git.cpp:2081:71: warning: 'QStringList QString::split(QChar, QString::SplitBehavior, Qt::CaseSensitivity) const' is deprecated: Use Qt::SplitBehavior variant instead [-Wdeprecated-declarations] 2081 | const QStringList sl(rowSt.split('\t', QString::SkipEmptyParts)); | ^ In file included from /usr/include/qt5/QtCore/qcoreapplication.h:44, from /usr/include/qt5/QtWidgets/qapplication.h:44, from /usr/include/qt5/QtWidgets/QApplication:1, from git.cpp:9: /usr/include/qt5/QtCore/qstring.h:610:17: note: declared here 610 | QStringList split(QChar sep, SplitBehavior behavior, | ^~~~~ git.cpp: In member function 'void Git::on_loaded(FileHistory*, ulong, int, bool, SCRef, SCRef)': git.cpp:2420:76: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] 2420 | fh->revs.count(), kb, fh->loadTime, mbs); | ^ In file included from /usr/include/qt5/QtCore/qcoreapplication.h:44, from /usr/include/qt5/QtWidgets/qapplication.h:44, from /usr/include/qt5/QtWidgets/QApplication:1, from git.cpp:9: /usr/include/qt5/QtCore/qstring.h:393:14: note: declared here 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); | ^~~~~~~ git.cpp: In member function 'void Git::mergeBranches(Rev*, const Rev*)': git.cpp:2962:70: warning: 'InputIterator qFind(InputIterator, InputIterator, const T&) [with InputIterator = const int*; T = int]' is deprecated: Use std::find [-Wdeprecated-declarations] 2962 | if (qFind(src1.constBegin(), src1.constEnd(), src2[i]) == src1.constEnd()) | ^ In file included from /usr/include/qt5/QtCore/qlist.h:43, from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/qcoreapplication.h:46, from /usr/include/qt5/QtWidgets/qapplication.h:44, from /usr/include/qt5/QtWidgets/QApplication:1, from git.cpp:9: /usr/include/qt5/QtCore/qalgorithms.h:120:55: note: declared here 120 | QT_DEPRECATED_X("Use std::find") inline InputIterator qFind(InputIterator first, InputIterator last, const T &val) | ^~~~~ In file included from /usr/include/qt5/QtCore/qlist.h:48, from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/qcoreapplication.h:46, from /usr/include/qt5/QtWidgets/qapplication.h:44, from /usr/include/qt5/QtWidgets/QApplication:1, from git.cpp:9: /usr/include/qt5/QtCore/qvector.h: In instantiation of 'void QVector::append(const T&) [with T = ShaString]': git.cpp:2016:46: required from here /usr/include/qt5/QtCore/qvector.h:799:23: warning: implicitly-declared 'constexpr ShaString& ShaString::operator=(const ShaString&)' is deprecated [-Wdeprecated-copy] 799 | *d->end() = std::move(copy); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~ In file included from FileHistory.h:14, from git.cpp:20: common.h:286:9: note: because 'ShaString' has user-provided 'ShaString::ShaString(const ShaString&)' 286 | inline ShaString(const ShaString& sha) : QLatin1String(sha.latin1()) {} | ^~~~~~~~~ In file included from /usr/include/qt5/QtCore/qlist.h:48, from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/qcoreapplication.h:46, from /usr/include/qt5/QtWidgets/qapplication.h:44, from /usr/include/qt5/QtWidgets/QApplication:1, from git.cpp:9: /usr/include/qt5/QtCore/qvector.h:805:23: warning: implicitly-declared 'constexpr ShaString& ShaString::operator=(const ShaString&)' is deprecated [-Wdeprecated-copy] 805 | *d->end() = t; | ~~~~~~~~~~^~~ In file included from FileHistory.h:14, from git.cpp:20: common.h:286:9: note: because 'ShaString' has user-provided 'ShaString::ShaString(const ShaString&)' 286 | inline ShaString(const ShaString& sha) : QLatin1String(sha.latin1()) {} | ^~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../src -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o settingsimpl.o settingsimpl.cpp In file included from /usr/include/qt5/QtCore/qrect.h:45, from /usr/include/qt5/QtGui/qpaintdevice.h:45, from /usr/include/qt5/QtWidgets/qwidget.h:47, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qfiledialog.h:47, from /usr/include/qt5/QtWidgets/QFileDialog:1, from settingsimpl.cpp:10: /usr/include/qt5/QtCore/qpoint.h: In member function 'constexpr QPoint& QPoint::operator*=(float)': /usr/include/qt5/QtCore/qpoint.h:157:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h:157:39: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(const QPoint&, float)': /usr/include/qt5/QtCore/qpoint.h:178:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:178:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(float, const QPoint&)': /usr/include/qt5/QtCore/qpoint.h:187:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:187:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ In file included from /usr/include/qt5/QtGui/qcolor.h:47, from /usr/include/qt5/QtGui/qpalette.h:45, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qfiledialog.h:47, from /usr/include/qt5/QtWidgets/QFileDialog:1, from settingsimpl.cpp:10: /usr/include/qt5/QtGui/qrgba64.h: In member function 'constexpr uint QRgba64::toArgb32() const': /usr/include/qt5/QtGui/qrgba64.h:137:14: warning: conversion from 'quint64' {aka 'long long unsigned int'} to 'uint' {aka 'unsigned int'} may change value [-Wconversion] 134 | return ((ag >> 16) & 0xff000000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | | ((br << 16) & 0xff0000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | | (ag & 0xff00) | ~~~~~~~~~~~~~~~~~~~~~~~ 137 | | ((br >> 32) & 0xff); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qimage.h:47, from /usr/include/qt5/QtGui/qbrush.h:51, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qfiledialog.h:47, from /usr/include/qt5/QtWidgets/QFileDialog:1, from settingsimpl.cpp:10: /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::channelCount() const': /usr/include/qt5/QtGui/qpixelformat.h:183:121: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 179 | Q_DECL_CONSTEXPR inline uchar channelCount() const noexcept { return (get(FirstField, FirstFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 180 | (get(SecondField, SecondFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 181 | (get(ThirdField, ThirdFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 182 | (get(FourthField, FourthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 183 | (get(FifthField, FifthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 184 | (get(AlphaField, AlphaFieldWidth) > 0); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::bitsPerPixel() const': /usr/include/qt5/QtGui/qpixelformat.h:206:115: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 202 | Q_DECL_CONSTEXPR inline uchar bitsPerPixel() const noexcept { return get(FirstField, FirstFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 203 | get(SecondField, SecondFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 204 | get(ThirdField, ThirdFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 205 | get(FourthField, FourthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 206 | get(FifthField, FifthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 207 | get(AlphaField, AlphaFieldWidth); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qfiledialog.h:47, from /usr/include/qt5/QtWidgets/QFileDialog:1, from settingsimpl.cpp:10: /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt5/QtGui/qpalette.h:107:76: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 107 | inline void setCurrentColorGroup(ColorGroup cg) { data.current_group = cg; } | ^~ /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt5/QtGui/qpalette.h:163:58: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] 163 | inline void resolve(uint mask) { data.resolve_mask = mask; } | ^~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qfiledialog.h:47, from /usr/include/qt5/QtWidgets/QFileDialog:1, from settingsimpl.cpp:10: /usr/include/qt5/QtWidgets/qsizepolicy.h: In constructor 'constexpr QSizePolicy::QSizePolicy(QSizePolicy::Policy, QSizePolicy::Policy, QSizePolicy::ControlType)': /usr/include/qt5/QtWidgets/qsizepolicy.h:117:22: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:117:43: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:118:36: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:5' may change value [-Wconversion] 118 | type == DefaultType ? 0 : toControlTypeFieldValue(type), 0, 0, 0} | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:132:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 132 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalPolicy(Policy d) noexcept { bits.horPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:133:91: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 133 | Q_DECL_RELAXED_CONSTEXPR void setVerticalPolicy(Policy d) noexcept { bits.verPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:155:95: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 155 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalStretch(int stretchFactor) { bits.horStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qfiledialog.h:47, from /usr/include/qt5/QtWidgets/QFileDialog:1, from settingsimpl.cpp:10: /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:156:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 156 | Q_DECL_RELAXED_CONSTEXPR void setVerticalStretch(int stretchFactor) { bits.verStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qsettings.h:44, from /usr/include/qt5/QtCore/QSettings:1, from settingsimpl.cpp:12: /usr/include/qt5/QtCore/qvariant.h: In constructor 'QVariant::Private::Private(uint)': /usr/include/qt5/QtCore/qvariant.h:401:20: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 401 | : type(variantType), is_shared(false), is_null(false) | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qtextformat.h:51, from /usr/include/qt5/QtGui/qtextcursor.h:46, from /usr/include/qt5/QtWidgets/qlineedit.h:45, from /usr/include/qt5/QtWidgets/QLineEdit:1, from ui_settings.h:24, from settingsimpl.h:10, from settingsimpl.cpp:15: /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setTextDirection(Qt::LayoutDirection)': /usr/include/qt5/QtGui/qtextoption.h:95:86: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:2' may change value [-Wconversion] 95 | inline void setTextDirection(Qt::LayoutDirection aDirection) { this->direction = aDirection; } | ^~~~~~~~~~ /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setWrapMode(QTextOption::WrapMode)': /usr/include/qt5/QtGui/qtextoption.h:105:57: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 105 | inline void setWrapMode(WrapMode wrap) { wordWrap = wrap; } | ^~~~ /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setAlignment(Qt::Alignment)': /usr/include/qt5/QtGui/qtextoption.h:152:11: warning: conversion from 'QFlags::Int' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 152 | { align = aalignment; } | ^~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' /usr/share/qt5/bin/rcc -name icons icons.qrc -o qrc_icons.cpp make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' g++ -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -Wextra -dM -E -o moc_predefs.h /usr/lib/qt5/mkspecs/features/data/dummy.cpp make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../src -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o qgit.o qgit.cpp In file included from /usr/include/qt5/QtCore/qsettings.h:44, from /usr/include/qt5/QtCore/QSettings:1, from qgit.cpp:7: /usr/include/qt5/QtCore/qvariant.h: In constructor 'QVariant::Private::Private(uint)': /usr/include/qt5/QtCore/qvariant.h:401:20: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 401 | : type(variantType), is_shared(false), is_null(false) | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qcolor.h:47, from /usr/include/qt5/QtGui/QColor:1, from common.h:10, from qgit.cpp:8: /usr/include/qt5/QtGui/qrgba64.h: In member function 'constexpr uint QRgba64::toArgb32() const': /usr/include/qt5/QtGui/qrgba64.h:137:14: warning: conversion from 'quint64' {aka 'long long unsigned int'} to 'uint' {aka 'unsigned int'} may change value [-Wconversion] 134 | return ((ag >> 16) & 0xff000000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | | ((br << 16) & 0xff0000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | | (ag & 0xff00) | ~~~~~~~~~~~~~~~~~~~~~~~ 137 | | ((br >> 32) & 0xff); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qrect.h:45, from /usr/include/qt5/QtGui/qpaintdevice.h:45, from /usr/include/qt5/QtGui/qpixmap.h:44, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from ui_mainview.h:13, from mainimpl.h:15, from qgit.cpp:9: /usr/include/qt5/QtCore/qpoint.h: In member function 'constexpr QPoint& QPoint::operator*=(float)': /usr/include/qt5/QtCore/qpoint.h:157:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h:157:39: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(const QPoint&, float)': /usr/include/qt5/QtCore/qpoint.h:178:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:178:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(float, const QPoint&)': /usr/include/qt5/QtCore/qpoint.h:187:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:187:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ In file included from /usr/include/qt5/QtGui/qimage.h:47, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from ui_mainview.h:13, from mainimpl.h:15, from qgit.cpp:9: /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::channelCount() const': /usr/include/qt5/QtGui/qpixelformat.h:183:121: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 179 | Q_DECL_CONSTEXPR inline uchar channelCount() const noexcept { return (get(FirstField, FirstFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 180 | (get(SecondField, SecondFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 181 | (get(ThirdField, ThirdFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 182 | (get(FourthField, FourthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 183 | (get(FifthField, FifthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 184 | (get(AlphaField, AlphaFieldWidth) > 0); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::bitsPerPixel() const': /usr/include/qt5/QtGui/qpixelformat.h:206:115: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 202 | Q_DECL_CONSTEXPR inline uchar bitsPerPixel() const noexcept { return get(FirstField, FirstFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 203 | get(SecondField, SecondFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 204 | get(ThirdField, ThirdFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 205 | get(FourthField, FourthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 206 | get(FifthField, FifthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 207 | get(AlphaField, AlphaFieldWidth); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qaction.h:46, from /usr/include/qt5/QtWidgets/QAction:1, from ui_mainview.h:14, from mainimpl.h:15, from qgit.cpp:9: /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt5/QtGui/qpalette.h:107:76: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 107 | inline void setCurrentColorGroup(ColorGroup cg) { data.current_group = cg; } | ^~ /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt5/QtGui/qpalette.h:163:58: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] 163 | inline void resolve(uint mask) { data.resolve_mask = mask; } | ^~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qaction.h:46, from /usr/include/qt5/QtWidgets/QAction:1, from ui_mainview.h:14, from mainimpl.h:15, from qgit.cpp:9: /usr/include/qt5/QtWidgets/qsizepolicy.h: In constructor 'constexpr QSizePolicy::QSizePolicy(QSizePolicy::Policy, QSizePolicy::Policy, QSizePolicy::ControlType)': /usr/include/qt5/QtWidgets/qsizepolicy.h:117:22: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:117:43: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:118:36: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:5' may change value [-Wconversion] 118 | type == DefaultType ? 0 : toControlTypeFieldValue(type), 0, 0, 0} | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:132:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 132 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalPolicy(Policy d) noexcept { bits.horPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:133:91: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 133 | Q_DECL_RELAXED_CONSTEXPR void setVerticalPolicy(Policy d) noexcept { bits.verPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:155:95: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 155 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalStretch(int stretchFactor) { bits.horStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qaction.h:46, from /usr/include/qt5/QtWidgets/QAction:1, from ui_mainview.h:14, from mainimpl.h:15, from qgit.cpp:9: /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:156:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 156 | Q_DECL_RELAXED_CONSTEXPR void setVerticalStretch(int stretchFactor) { bits.verStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../src -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o qrc_icons.o qrc_icons.cpp make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' /usr/share/qt5/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include /usr/src/RPM/BUILD/qgit-2.9/src/moc_predefs.h -I/usr/lib/qt5/mkspecs/linux-g++ -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/c++/10/i586-alt-linux -I/usr/include/c++/10/backward -I/usr/lib/gcc/i586-alt-linux/10/include -I/usr/local/include -I/usr/include annotate.h -o moc_annotate.cpp make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../src -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o smartbrowse.o smartbrowse.cpp In file included from /usr/include/qt5/QtCore/qrect.h:45, from /usr/include/qt5/QtGui/qregion.h:45, from /usr/include/qt5/QtGui/qevent.h:45, from /usr/include/qt5/QtGui/QContextMenuEvent:1, from smartbrowse.cpp:7: /usr/include/qt5/QtCore/qpoint.h: In member function 'constexpr QPoint& QPoint::operator*=(float)': /usr/include/qt5/QtCore/qpoint.h:157:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h:157:39: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(const QPoint&, float)': /usr/include/qt5/QtCore/qpoint.h:178:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:178:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(float, const QPoint&)': /usr/include/qt5/QtCore/qpoint.h:187:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:187:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ In file included from /usr/include/qt5/QtGui/qevent.h:50, from /usr/include/qt5/QtGui/QContextMenuEvent:1, from smartbrowse.cpp:7: /usr/include/qt5/QtCore/qvariant.h: In constructor 'QVariant::Private::Private(uint)': /usr/include/qt5/QtCore/qvariant.h:401:20: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 401 | : type(variantType), is_shared(false), is_null(false) | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qcolor.h:47, from /usr/include/qt5/QtGui/qpalette.h:45, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qmenu.h:44, from /usr/include/qt5/QtWidgets/QMenu:1, from smartbrowse.cpp:8: /usr/include/qt5/QtGui/qrgba64.h: In member function 'constexpr uint QRgba64::toArgb32() const': /usr/include/qt5/QtGui/qrgba64.h:137:14: warning: conversion from 'quint64' {aka 'long long unsigned int'} to 'uint' {aka 'unsigned int'} may change value [-Wconversion] 134 | return ((ag >> 16) & 0xff000000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | | ((br << 16) & 0xff0000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | | (ag & 0xff00) | ~~~~~~~~~~~~~~~~~~~~~~~ 137 | | ((br >> 32) & 0xff); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qimage.h:47, from /usr/include/qt5/QtGui/qbrush.h:51, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qmenu.h:44, from /usr/include/qt5/QtWidgets/QMenu:1, from smartbrowse.cpp:8: /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::channelCount() const': /usr/include/qt5/QtGui/qpixelformat.h:183:121: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 179 | Q_DECL_CONSTEXPR inline uchar channelCount() const noexcept { return (get(FirstField, FirstFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 180 | (get(SecondField, SecondFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 181 | (get(ThirdField, ThirdFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 182 | (get(FourthField, FourthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 183 | (get(FifthField, FifthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 184 | (get(AlphaField, AlphaFieldWidth) > 0); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::bitsPerPixel() const': /usr/include/qt5/QtGui/qpixelformat.h:206:115: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 202 | Q_DECL_CONSTEXPR inline uchar bitsPerPixel() const noexcept { return get(FirstField, FirstFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 203 | get(SecondField, SecondFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 204 | get(ThirdField, ThirdFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 205 | get(FourthField, FourthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 206 | get(FifthField, FifthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 207 | get(AlphaField, AlphaFieldWidth); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qmenu.h:44, from /usr/include/qt5/QtWidgets/QMenu:1, from smartbrowse.cpp:8: /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt5/QtGui/qpalette.h:107:76: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 107 | inline void setCurrentColorGroup(ColorGroup cg) { data.current_group = cg; } | ^~ /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt5/QtGui/qpalette.h:163:58: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] 163 | inline void resolve(uint mask) { data.resolve_mask = mask; } | ^~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qmenu.h:44, from /usr/include/qt5/QtWidgets/QMenu:1, from smartbrowse.cpp:8: /usr/include/qt5/QtWidgets/qsizepolicy.h: In constructor 'constexpr QSizePolicy::QSizePolicy(QSizePolicy::Policy, QSizePolicy::Policy, QSizePolicy::ControlType)': /usr/include/qt5/QtWidgets/qsizepolicy.h:117:22: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:117:43: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:118:36: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:5' may change value [-Wconversion] 118 | type == DefaultType ? 0 : toControlTypeFieldValue(type), 0, 0, 0} | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:132:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 132 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalPolicy(Policy d) noexcept { bits.horPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:133:91: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 133 | Q_DECL_RELAXED_CONSTEXPR void setVerticalPolicy(Policy d) noexcept { bits.verPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:155:95: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 155 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalStretch(int stretchFactor) { bits.horStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qmenu.h:44, from /usr/include/qt5/QtWidgets/QMenu:1, from smartbrowse.cpp:8: /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:156:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 156 | Q_DECL_RELAXED_CONSTEXPR void setVerticalStretch(int stretchFactor) { bits.verStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qpainter.h:50, from /usr/include/qt5/QtGui/QPainter:1, from smartbrowse.cpp:9: /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setTextDirection(Qt::LayoutDirection)': /usr/include/qt5/QtGui/qtextoption.h:95:86: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:2' may change value [-Wconversion] 95 | inline void setTextDirection(Qt::LayoutDirection aDirection) { this->direction = aDirection; } | ^~~~~~~~~~ /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setWrapMode(QTextOption::WrapMode)': /usr/include/qt5/QtGui/qtextoption.h:105:57: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 105 | inline void setWrapMode(WrapMode wrap) { wordWrap = wrap; } | ^~~~ /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setAlignment(Qt::Alignment)': /usr/include/qt5/QtGui/qtextoption.h:152:11: warning: conversion from 'QFlags::Int' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 152 | { align = aalignment; } | ^~~~~~~~~~ smartbrowse.cpp: In member function 'virtual bool SmartBrowse::eventFilter(QObject*, QEvent*)': smartbrowse.cpp:227:29: warning: 'int QWheelEvent::delta() const' is deprecated: Use angleDelta() [-Wdeprecated-declarations] 227 | if (wheelRolled(we->delta(), visibilityFlags())) | ^ In file included from /usr/include/qt5/QtGui/QContextMenuEvent:1, from smartbrowse.cpp:7: /usr/include/qt5/QtGui/qevent.h:219:16: note: declared here 219 | inline int delta() const { return qt4D; } | ^~~~~ smartbrowse.cpp: In member function 'void SmartBrowse::updatePosition()': smartbrowse.cpp:254:22: warning: 'int QTime::restart()' is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] 254 | scrollTimer.restart(); | ^ In file included from /usr/include/qt5/QtCore/QTime:1, from smartbrowse.h:11, from smartbrowse.cpp:13: /usr/include/qt5/QtCore/qdatetime.h:236:54: note: declared here 236 | QT_DEPRECATED_X("Use QElapsedTimer instead") int restart(); | ^~~~~~~ smartbrowse.cpp: In member function 'bool SmartBrowse::wheelRolled(int, int)': smartbrowse.cpp:260:68: warning: 'int QTime::elapsed() const' is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] 260 | bool justSwitched = (switchTimer.isValid() && switchTimer.elapsed() < 400); | ^ In file included from /usr/include/qt5/QtCore/QTime:1, from smartbrowse.h:11, from smartbrowse.cpp:13: /usr/include/qt5/QtCore/qdatetime.h:237:54: note: declared here 237 | QT_DEPRECATED_X("Use QElapsedTimer instead") int elapsed() const; | ^~~~~~~ smartbrowse.cpp:262:23: warning: 'int QTime::restart()' is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] 262 | switchTimer.restart(); | ^ In file included from /usr/include/qt5/QtCore/QTime:1, from smartbrowse.h:11, from smartbrowse.cpp:13: /usr/include/qt5/QtCore/qdatetime.h:236:54: note: declared here 236 | QT_DEPRECATED_X("Use QElapsedTimer instead") int restart(); | ^~~~~~~ smartbrowse.cpp:264:65: warning: 'int QTime::elapsed() const' is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] 264 | bool scrolling = (scrollTimer.isValid() && scrollTimer.elapsed() < 400); | ^ In file included from /usr/include/qt5/QtCore/QTime:1, from smartbrowse.h:11, from smartbrowse.cpp:13: /usr/include/qt5/QtCore/qdatetime.h:237:54: note: declared here 237 | QT_DEPRECATED_X("Use QElapsedTimer instead") int elapsed() const; | ^~~~~~~ smartbrowse.cpp:275:23: warning: 'int QTime::restart()' is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] 275 | scrollTimer.restart(); | ^ In file included from /usr/include/qt5/QtCore/QTime:1, from smartbrowse.h:11, from smartbrowse.cpp:13: /usr/include/qt5/QtCore/qdatetime.h:236:54: note: declared here 236 | QT_DEPRECATED_X("Use QElapsedTimer instead") int restart(); | ^~~~~~~ smartbrowse.cpp:281:65: warning: 'int QTime::elapsed() const' is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] 281 | bool tooSlow = (timeoutTimer.isValid() && timeoutTimer.elapsed() > 300); | ^ In file included from /usr/include/qt5/QtCore/QTime:1, from smartbrowse.h:11, from smartbrowse.cpp:13: /usr/include/qt5/QtCore/qdatetime.h:237:54: note: declared here 237 | QT_DEPRECATED_X("Use QElapsedTimer instead") int elapsed() const; | ^~~~~~~ smartbrowse.cpp:282:23: warning: 'int QTime::restart()' is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] 282 | timeoutTimer.restart(); | ^ In file included from /usr/include/qt5/QtCore/QTime:1, from smartbrowse.h:11, from smartbrowse.cpp:13: /usr/include/qt5/QtCore/qdatetime.h:236:54: note: declared here 236 | QT_DEPRECATED_X("Use QElapsedTimer instead") int restart(); | ^~~~~~~ smartbrowse.cpp:299:22: warning: 'int QTime::restart()' is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations] 299 | switchTimer.restart(); | ^ In file included from /usr/include/qt5/QtCore/QTime:1, from smartbrowse.h:11, from smartbrowse.cpp:13: /usr/include/qt5/QtCore/qdatetime.h:236:54: note: declared here 236 | QT_DEPRECATED_X("Use QElapsedTimer instead") int restart(); | ^~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' /usr/share/qt5/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include /usr/src/RPM/BUILD/qgit-2.9/src/moc_predefs.h -I/usr/lib/qt5/mkspecs/linux-g++ -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/c++/10/i586-alt-linux -I/usr/include/c++/10/backward -I/usr/lib/gcc/i586-alt-linux/10/include -I/usr/local/include -I/usr/include commitimpl.h -o moc_commitimpl.cpp make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' /usr/share/qt5/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include /usr/src/RPM/BUILD/qgit-2.9/src/moc_predefs.h -I/usr/lib/qt5/mkspecs/linux-g++ -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/c++/10/i586-alt-linux -I/usr/include/c++/10/backward -I/usr/lib/gcc/i586-alt-linux/10/include -I/usr/local/include -I/usr/include cache.h -o moc_cache.cpp make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../src -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o common.o common.cpp In file included from /usr/include/qt5/QtCore/qrect.h:45, from /usr/include/qt5/QtGui/qtextdocument.h:46, from /usr/include/qt5/QtGui/QTextDocument:1, from common.cpp:11: /usr/include/qt5/QtCore/qpoint.h: In member function 'constexpr QPoint& QPoint::operator*=(float)': /usr/include/qt5/QtCore/qpoint.h:157:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h:157:39: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(const QPoint&, float)': /usr/include/qt5/QtCore/qpoint.h:178:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:178:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(float, const QPoint&)': /usr/include/qt5/QtCore/qpoint.h:187:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:187:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ In file included from /usr/include/qt5/QtGui/qtextdocument.h:47, from /usr/include/qt5/QtGui/QTextDocument:1, from common.cpp:11: /usr/include/qt5/QtCore/qvariant.h: In constructor 'QVariant::Private::Private(uint)': /usr/include/qt5/QtCore/qvariant.h:401:20: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 401 | : type(variantType), is_shared(false), is_null(false) | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qcolor.h:47, from /usr/include/qt5/QtGui/QColor:1, from common.h:10, from common.cpp:12: /usr/include/qt5/QtGui/qrgba64.h: In member function 'constexpr uint QRgba64::toArgb32() const': /usr/include/qt5/QtGui/qrgba64.h:137:14: warning: conversion from 'quint64' {aka 'long long unsigned int'} to 'uint' {aka 'unsigned int'} may change value [-Wconversion] 134 | return ((ag >> 16) & 0xff000000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | | ((br << 16) & 0xff0000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | | (ag & 0xff00) | ~~~~~~~~~~~~~~~~~~~~~~~ 137 | | ((br >> 32) & 0xff); | ^~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' /usr/share/qt5/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include /usr/src/RPM/BUILD/qgit-2.9/src/moc_predefs.h -I/usr/lib/qt5/mkspecs/linux-g++ -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/c++/10/i586-alt-linux -I/usr/include/c++/10/backward -I/usr/lib/gcc/i586-alt-linux/10/include -I/usr/local/include -I/usr/include dataloader.h -o moc_dataloader.cpp make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../src -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o FileHistory.o FileHistory.cc In file included from /usr/include/qt5/QtCore/qabstractitemmodel.h:43, from /usr/include/qt5/QtCore/QAbstractItemModel:1, from FileHistory.h:13, from FileHistory.cc:10: /usr/include/qt5/QtCore/qvariant.h: In constructor 'QVariant::Private::Private(uint)': /usr/include/qt5/QtCore/qvariant.h:401:20: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 401 | : type(variantType), is_shared(false), is_null(false) | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qcolor.h:47, from /usr/include/qt5/QtGui/QColor:1, from common.h:10, from FileHistory.h:14, from FileHistory.cc:10: /usr/include/qt5/QtGui/qrgba64.h: In member function 'constexpr uint QRgba64::toArgb32() const': /usr/include/qt5/QtGui/qrgba64.h:137:14: warning: conversion from 'quint64' {aka 'long long unsigned int'} to 'uint' {aka 'unsigned int'} may change value [-Wconversion] 134 | return ((ag >> 16) & 0xff000000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | | ((br << 16) & 0xff0000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | | (ag & 0xff00) | ~~~~~~~~~~~~~~~~~~~~~~~ 137 | | ((br >> 32) & 0xff); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qapplication.h:46, from /usr/include/qt5/QtWidgets/QApplication:1, from FileHistory.cc:12: /usr/include/qt5/QtCore/qpoint.h: In member function 'constexpr QPoint& QPoint::operator*=(float)': /usr/include/qt5/QtCore/qpoint.h:157:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h:157:39: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(const QPoint&, float)': /usr/include/qt5/QtCore/qpoint.h:178:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:178:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(float, const QPoint&)': /usr/include/qt5/QtCore/qpoint.h:187:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:187:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../src -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o mainimpl.o mainimpl.cpp In file included from /usr/include/qt5/QtCore/qrect.h:45, from /usr/include/qt5/QtGui/qregion.h:45, from /usr/include/qt5/QtGui/qevent.h:45, from /usr/include/qt5/QtGui/QCloseEvent:1, from mainimpl.cpp:9: /usr/include/qt5/QtCore/qpoint.h: In member function 'constexpr QPoint& QPoint::operator*=(float)': /usr/include/qt5/QtCore/qpoint.h:157:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h:157:39: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(const QPoint&, float)': /usr/include/qt5/QtCore/qpoint.h:178:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:178:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(float, const QPoint&)': /usr/include/qt5/QtCore/qpoint.h:187:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:187:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ In file included from /usr/include/qt5/QtGui/qevent.h:50, from /usr/include/qt5/QtGui/QCloseEvent:1, from mainimpl.cpp:9: /usr/include/qt5/QtCore/qvariant.h: In constructor 'QVariant::Private::Private(uint)': /usr/include/qt5/QtCore/qvariant.h:401:20: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 401 | : type(variantType), is_shared(false), is_null(false) | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qcolor.h:47, from /usr/include/qt5/QtGui/qpalette.h:45, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qfiledialog.h:47, from /usr/include/qt5/QtWidgets/QFileDialog:1, from mainimpl.cpp:11: /usr/include/qt5/QtGui/qrgba64.h: In member function 'constexpr uint QRgba64::toArgb32() const': /usr/include/qt5/QtGui/qrgba64.h:137:14: warning: conversion from 'quint64' {aka 'long long unsigned int'} to 'uint' {aka 'unsigned int'} may change value [-Wconversion] 134 | return ((ag >> 16) & 0xff000000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | | ((br << 16) & 0xff0000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | | (ag & 0xff00) | ~~~~~~~~~~~~~~~~~~~~~~~ 137 | | ((br >> 32) & 0xff); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qimage.h:47, from /usr/include/qt5/QtGui/qbrush.h:51, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qfiledialog.h:47, from /usr/include/qt5/QtWidgets/QFileDialog:1, from mainimpl.cpp:11: /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::channelCount() const': /usr/include/qt5/QtGui/qpixelformat.h:183:121: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 179 | Q_DECL_CONSTEXPR inline uchar channelCount() const noexcept { return (get(FirstField, FirstFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 180 | (get(SecondField, SecondFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 181 | (get(ThirdField, ThirdFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 182 | (get(FourthField, FourthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 183 | (get(FifthField, FifthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 184 | (get(AlphaField, AlphaFieldWidth) > 0); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::bitsPerPixel() const': /usr/include/qt5/QtGui/qpixelformat.h:206:115: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 202 | Q_DECL_CONSTEXPR inline uchar bitsPerPixel() const noexcept { return get(FirstField, FirstFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 203 | get(SecondField, SecondFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 204 | get(ThirdField, ThirdFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 205 | get(FourthField, FourthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 206 | get(FifthField, FifthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 207 | get(AlphaField, AlphaFieldWidth); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qfiledialog.h:47, from /usr/include/qt5/QtWidgets/QFileDialog:1, from mainimpl.cpp:11: /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt5/QtGui/qpalette.h:107:76: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 107 | inline void setCurrentColorGroup(ColorGroup cg) { data.current_group = cg; } | ^~ /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt5/QtGui/qpalette.h:163:58: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] 163 | inline void resolve(uint mask) { data.resolve_mask = mask; } | ^~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qfiledialog.h:47, from /usr/include/qt5/QtWidgets/QFileDialog:1, from mainimpl.cpp:11: /usr/include/qt5/QtWidgets/qsizepolicy.h: In constructor 'constexpr QSizePolicy::QSizePolicy(QSizePolicy::Policy, QSizePolicy::Policy, QSizePolicy::ControlType)': /usr/include/qt5/QtWidgets/qsizepolicy.h:117:22: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:117:43: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:118:36: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:5' may change value [-Wconversion] 118 | type == DefaultType ? 0 : toControlTypeFieldValue(type), 0, 0, 0} | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:132:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 132 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalPolicy(Policy d) noexcept { bits.horPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:133:91: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 133 | Q_DECL_RELAXED_CONSTEXPR void setVerticalPolicy(Policy d) noexcept { bits.verPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:155:95: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 155 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalStretch(int stretchFactor) { bits.horStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qfiledialog.h:47, from /usr/include/qt5/QtWidgets/QFileDialog:1, from mainimpl.cpp:11: /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:156:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 156 | Q_DECL_RELAXED_CONSTEXPR void setVerticalStretch(int stretchFactor) { bits.verStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qtextformat.h:51, from /usr/include/qt5/QtGui/qtextcursor.h:46, from /usr/include/qt5/QtWidgets/qlineedit.h:45, from /usr/include/qt5/QtWidgets/qinputdialog.h:45, from /usr/include/qt5/QtWidgets/QInputDialog:1, from mainimpl.cpp:12: /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setTextDirection(Qt::LayoutDirection)': /usr/include/qt5/QtGui/qtextoption.h:95:86: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:2' may change value [-Wconversion] 95 | inline void setTextDirection(Qt::LayoutDirection aDirection) { this->direction = aDirection; } | ^~~~~~~~~~ /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setWrapMode(QTextOption::WrapMode)': /usr/include/qt5/QtGui/qtextoption.h:105:57: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 105 | inline void setWrapMode(WrapMode wrap) { wordWrap = wrap; } | ^~~~ /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setAlignment(Qt::Alignment)': /usr/include/qt5/QtGui/qtextoption.h:152:11: warning: conversion from 'QFlags::Int' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 152 | { align = aalignment; } | ^~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QTimer:1, from mainimpl.cpp:21: /usr/include/qt5/QtCore/qtimer.h: In member function 'void QTimer::setTimerType(Qt::TimerType)': /usr/include/qt5/QtCore/qtimer.h:77:59: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:2' may change value [-Wconversion] 77 | void setTimerType(Qt::TimerType atype) { this->type = atype; } | ^~~~~ In file included from mainimpl.cpp:35: inputdialog.h: At global scope: inputdialog.h:41:64: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 41 | QWidget *parent = 0, Qt::WindowFlags f = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtGui/qevent.h:43, from /usr/include/qt5/QtGui/QCloseEvent:1, from mainimpl.cpp:9: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ mainimpl.cpp: In constructor 'MainImpl::MainImpl(SCRef, QWidget*)': mainimpl.cpp:70:39: warning: 'QColor QColor::dark(int) const' is deprecated: Use QColor::darker() instead [-Wdeprecated-declarations] 70 | EVEN_LINE_COL = ODD_LINE_COL.dark(103); | ^ In file included from /usr/include/qt5/QtGui/qpalette.h:45, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qfiledialog.h:47, from /usr/include/qt5/QtWidgets/QFileDialog:1, from mainimpl.cpp:11: /usr/include/qt5/QtGui/qcolor.h:235:30: note: declared here 235 | Q_REQUIRED_RESULT QColor dark(int f = 200) const noexcept; | ^~~~ mainimpl.cpp: In member function 'virtual bool MainImpl::eventFilter(QObject*, QEvent*)': mainimpl.cpp:710:17: warning: 'int QWheelEvent::delta() const' is deprecated: Use angleDelta() [-Wdeprecated-declarations] 710 | if (e->delta() < 0) | ^ In file included from /usr/include/qt5/QtGui/QCloseEvent:1, from mainimpl.cpp:9: /usr/include/qt5/QtGui/qevent.h:219:16: note: declared here 219 | inline int delta() const { return qt4D; } | ^~~~~ mainimpl.cpp: In function 'void prepareRefSubmenu(QMenu*, const QStringList&, QChar)': mainimpl.cpp:1322:66: warning: 'QStringList QString::split(QChar, QString::SplitBehavior, Qt::CaseSensitivity) const' is deprecated: Use Qt::SplitBehavior variant instead [-Wdeprecated-declarations] 1322 | const QStringList& parts(it->split(sep, QString::SkipEmptyParts)); | ^ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/qiodevice.h:45, from /usr/include/qt5/QtCore/qdatastream.h:44, from /usr/include/qt5/QtGui/qregion.h:49, from /usr/include/qt5/QtGui/qevent.h:45, from /usr/include/qt5/QtGui/QCloseEvent:1, from mainimpl.cpp:9: /usr/include/qt5/QtCore/qstring.h:610:17: note: declared here 610 | QStringList split(QChar sep, SplitBehavior behavior, | ^~~~~ mainimpl.cpp: In member function 'void MainImpl::customAction_triggered(QAction*)': mainimpl.cpp:1743:83: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 1743 | InputDialog dlg(cmd, revision_variables, "Run custom action: " + actionName, this); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtGui/qevent.h:43, from /usr/include/qt5/QtGui/QCloseEvent:1, from mainimpl.cpp:9: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ mainimpl.cpp: In member function 'void MainImpl::ActCheckout_activated()': mainimpl.cpp:1850:122: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 1850 | InputDialog dlg(QString("%combobox[editable,ref,empty]:%1=$ALL_NAMES%").arg(branchKey), revision_variables, title, this); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtGui/qevent.h:43, from /usr/include/qt5/QtGui/QCloseEvent:1, from mainimpl.cpp:9: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ mainimpl.cpp: In member function 'void MainImpl::doBranchOrTag(bool)': mainimpl.cpp:1914:50: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 1914 | InputDialog dlg(dlgDesc, dlgVars, dlgTitle, this); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtGui/qevent.h:43, from /usr/include/qt5/QtGui/QCloseEvent:1, from mainimpl.cpp:9: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ mainimpl.cpp: In member function 'void MainImpl::ActDelete_activated()': mainimpl.cpp:1988:51: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 1988 | "Delete references - QGit", this); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtGui/qevent.h:43, from /usr/include/qt5/QtGui/QCloseEvent:1, from mainimpl.cpp:9: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../src -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o revdesc.o revdesc.cpp In file included from /usr/include/qt5/QtWidgets/qapplication.h:46, from /usr/include/qt5/QtWidgets/QApplication:1, from revdesc.cpp:6: /usr/include/qt5/QtCore/qpoint.h: In member function 'constexpr QPoint& QPoint::operator*=(float)': /usr/include/qt5/QtCore/qpoint.h:157:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h:157:39: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(const QPoint&, float)': /usr/include/qt5/QtCore/qpoint.h:178:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:178:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(float, const QPoint&)': /usr/include/qt5/QtCore/qpoint.h:187:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:187:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ In file included from /usr/include/qt5/QtCore/qlocale.h:43, from /usr/include/qt5/QtGui/qguiapplication.h:47, from /usr/include/qt5/QtWidgets/qapplication.h:52, from /usr/include/qt5/QtWidgets/QApplication:1, from revdesc.cpp:6: /usr/include/qt5/QtCore/qvariant.h: In constructor 'QVariant::Private::Private(uint)': /usr/include/qt5/QtCore/qvariant.h:401:20: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 401 | : type(variantType), is_shared(false), is_null(false) | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qcolor.h:47, from /usr/include/qt5/QtGui/qpalette.h:45, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qmenu.h:44, from /usr/include/qt5/QtWidgets/QMenu:1, from revdesc.cpp:7: /usr/include/qt5/QtGui/qrgba64.h: In member function 'constexpr uint QRgba64::toArgb32() const': /usr/include/qt5/QtGui/qrgba64.h:137:14: warning: conversion from 'quint64' {aka 'long long unsigned int'} to 'uint' {aka 'unsigned int'} may change value [-Wconversion] 134 | return ((ag >> 16) & 0xff000000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | | ((br << 16) & 0xff0000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | | (ag & 0xff00) | ~~~~~~~~~~~~~~~~~~~~~~~ 137 | | ((br >> 32) & 0xff); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qimage.h:47, from /usr/include/qt5/QtGui/qbrush.h:51, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qmenu.h:44, from /usr/include/qt5/QtWidgets/QMenu:1, from revdesc.cpp:7: /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::channelCount() const': /usr/include/qt5/QtGui/qpixelformat.h:183:121: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 179 | Q_DECL_CONSTEXPR inline uchar channelCount() const noexcept { return (get(FirstField, FirstFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 180 | (get(SecondField, SecondFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 181 | (get(ThirdField, ThirdFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 182 | (get(FourthField, FourthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 183 | (get(FifthField, FifthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 184 | (get(AlphaField, AlphaFieldWidth) > 0); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::bitsPerPixel() const': /usr/include/qt5/QtGui/qpixelformat.h:206:115: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 202 | Q_DECL_CONSTEXPR inline uchar bitsPerPixel() const noexcept { return get(FirstField, FirstFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 203 | get(SecondField, SecondFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 204 | get(ThirdField, ThirdFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 205 | get(FourthField, FourthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 206 | get(FifthField, FifthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 207 | get(AlphaField, AlphaFieldWidth); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qmenu.h:44, from /usr/include/qt5/QtWidgets/QMenu:1, from revdesc.cpp:7: /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt5/QtGui/qpalette.h:107:76: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 107 | inline void setCurrentColorGroup(ColorGroup cg) { data.current_group = cg; } | ^~ /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt5/QtGui/qpalette.h:163:58: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] 163 | inline void resolve(uint mask) { data.resolve_mask = mask; } | ^~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qmenu.h:44, from /usr/include/qt5/QtWidgets/QMenu:1, from revdesc.cpp:7: /usr/include/qt5/QtWidgets/qsizepolicy.h: In constructor 'constexpr QSizePolicy::QSizePolicy(QSizePolicy::Policy, QSizePolicy::Policy, QSizePolicy::ControlType)': /usr/include/qt5/QtWidgets/qsizepolicy.h:117:22: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:117:43: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:118:36: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:5' may change value [-Wconversion] 118 | type == DefaultType ? 0 : toControlTypeFieldValue(type), 0, 0, 0} | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:132:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 132 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalPolicy(Policy d) noexcept { bits.horPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:133:91: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 133 | Q_DECL_RELAXED_CONSTEXPR void setVerticalPolicy(Policy d) noexcept { bits.verPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:155:95: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 155 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalStretch(int stretchFactor) { bits.horStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qmenu.h:44, from /usr/include/qt5/QtWidgets/QMenu:1, from revdesc.cpp:7: /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:156:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 156 | Q_DECL_RELAXED_CONSTEXPR void setVerticalStretch(int stretchFactor) { bits.verStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qtextedit.h:46, from /usr/include/qt5/QtWidgets/qtextbrowser.h:44, from /usr/include/qt5/QtWidgets/QTextBrowser:1, from revdesc.h:9, from revdesc.cpp:12: /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setTextDirection(Qt::LayoutDirection)': /usr/include/qt5/QtGui/qtextoption.h:95:86: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:2' may change value [-Wconversion] 95 | inline void setTextDirection(Qt::LayoutDirection aDirection) { this->direction = aDirection; } | ^~~~~~~~~~ /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setWrapMode(QTextOption::WrapMode)': /usr/include/qt5/QtGui/qtextoption.h:105:57: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 105 | inline void setWrapMode(WrapMode wrap) { wordWrap = wrap; } | ^~~~ /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setAlignment(Qt::Alignment)': /usr/include/qt5/QtGui/qtextoption.h:152:11: warning: conversion from 'QFlags::Int' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 152 | { align = aalignment; } | ^~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' /usr/share/qt5/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include /usr/src/RPM/BUILD/qgit-2.9/src/moc_predefs.h -I/usr/lib/qt5/mkspecs/linux-g++ -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/c++/10/i586-alt-linux -I/usr/include/c++/10/backward -I/usr/lib/gcc/i586-alt-linux/10/include -I/usr/local/include -I/usr/include domain.h -o moc_domain.cpp make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' /usr/share/qt5/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include /usr/src/RPM/BUILD/qgit-2.9/src/moc_predefs.h -I/usr/lib/qt5/mkspecs/linux-g++ -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/c++/10/i586-alt-linux -I/usr/include/c++/10/backward -I/usr/lib/gcc/i586-alt-linux/10/include -I/usr/local/include -I/usr/include filecontent.h -o moc_filecontent.cpp make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' /usr/share/qt5/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include /usr/src/RPM/BUILD/qgit-2.9/src/moc_predefs.h -I/usr/lib/qt5/mkspecs/linux-g++ -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/c++/10/i586-alt-linux -I/usr/include/c++/10/backward -I/usr/lib/gcc/i586-alt-linux/10/include -I/usr/local/include -I/usr/include consoleimpl.h -o moc_consoleimpl.cpp make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' /usr/share/qt5/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include /usr/src/RPM/BUILD/qgit-2.9/src/moc_predefs.h -I/usr/lib/qt5/mkspecs/linux-g++ -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/c++/10/i586-alt-linux -I/usr/include/c++/10/backward -I/usr/lib/gcc/i586-alt-linux/10/include -I/usr/local/include -I/usr/include customactionimpl.h -o moc_customactionimpl.cpp make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' /usr/share/qt5/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include /usr/src/RPM/BUILD/qgit-2.9/src/moc_predefs.h -I/usr/lib/qt5/mkspecs/linux-g++ -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/c++/10/i586-alt-linux -I/usr/include/c++/10/backward -I/usr/lib/gcc/i586-alt-linux/10/include -I/usr/local/include -I/usr/include inputdialog.h -o moc_inputdialog.cpp make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' /usr/share/qt5/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include /usr/src/RPM/BUILD/qgit-2.9/src/moc_predefs.h -I/usr/lib/qt5/mkspecs/linux-g++ -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/c++/10/i586-alt-linux -I/usr/include/c++/10/backward -I/usr/lib/gcc/i586-alt-linux/10/include -I/usr/local/include -I/usr/include fileview.h -o moc_fileview.cpp make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' /usr/share/qt5/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include /usr/src/RPM/BUILD/qgit-2.9/src/moc_predefs.h -I/usr/lib/qt5/mkspecs/linux-g++ -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/c++/10/i586-alt-linux -I/usr/include/c++/10/backward -I/usr/lib/gcc/i586-alt-linux/10/include -I/usr/local/include -I/usr/include myprocess.h -o moc_myprocess.cpp make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' /usr/share/qt5/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include /usr/src/RPM/BUILD/qgit-2.9/src/moc_predefs.h -I/usr/lib/qt5/mkspecs/linux-g++ -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/c++/10/i586-alt-linux -I/usr/include/c++/10/backward -I/usr/lib/gcc/i586-alt-linux/10/include -I/usr/local/include -I/usr/include mainimpl.h -o moc_mainimpl.cpp make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' /usr/share/qt5/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include /usr/src/RPM/BUILD/qgit-2.9/src/moc_predefs.h -I/usr/lib/qt5/mkspecs/linux-g++ -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/c++/10/i586-alt-linux -I/usr/include/c++/10/backward -I/usr/lib/gcc/i586-alt-linux/10/include -I/usr/local/include -I/usr/include patchview.h -o moc_patchview.cpp make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' /usr/share/qt5/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include /usr/src/RPM/BUILD/qgit-2.9/src/moc_predefs.h -I/usr/lib/qt5/mkspecs/linux-g++ -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/c++/10/i586-alt-linux -I/usr/include/c++/10/backward -I/usr/lib/gcc/i586-alt-linux/10/include -I/usr/local/include -I/usr/include rangeselectimpl.h -o moc_rangeselectimpl.cpp make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' /usr/share/qt5/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include /usr/src/RPM/BUILD/qgit-2.9/src/moc_predefs.h -I/usr/lib/qt5/mkspecs/linux-g++ -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/c++/10/i586-alt-linux -I/usr/include/c++/10/backward -I/usr/lib/gcc/i586-alt-linux/10/include -I/usr/local/include -I/usr/include patchcontent.h -o moc_patchcontent.cpp make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' /usr/share/qt5/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include /usr/src/RPM/BUILD/qgit-2.9/src/moc_predefs.h -I/usr/lib/qt5/mkspecs/linux-g++ -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/c++/10/i586-alt-linux -I/usr/include/c++/10/backward -I/usr/lib/gcc/i586-alt-linux/10/include -I/usr/local/include -I/usr/include git.h -o moc_git.cpp make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' /usr/share/qt5/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include /usr/src/RPM/BUILD/qgit-2.9/src/moc_predefs.h -I/usr/lib/qt5/mkspecs/linux-g++ -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/c++/10/i586-alt-linux -I/usr/include/c++/10/backward -I/usr/lib/gcc/i586-alt-linux/10/include -I/usr/local/include -I/usr/include filelist.h -o moc_filelist.cpp make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' /usr/share/qt5/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include /usr/src/RPM/BUILD/qgit-2.9/src/moc_predefs.h -I/usr/lib/qt5/mkspecs/linux-g++ -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/c++/10/i586-alt-linux -I/usr/include/c++/10/backward -I/usr/lib/gcc/i586-alt-linux/10/include -I/usr/local/include -I/usr/include listview.h -o moc_listview.cpp make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' /usr/share/qt5/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include /usr/src/RPM/BUILD/qgit-2.9/src/moc_predefs.h -I/usr/lib/qt5/mkspecs/linux-g++ -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/c++/10/i586-alt-linux -I/usr/include/c++/10/backward -I/usr/lib/gcc/i586-alt-linux/10/include -I/usr/local/include -I/usr/include settingsimpl.h -o moc_settingsimpl.cpp make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' /usr/share/qt5/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include /usr/src/RPM/BUILD/qgit-2.9/src/moc_predefs.h -I/usr/lib/qt5/mkspecs/linux-g++ -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/c++/10/i586-alt-linux -I/usr/include/c++/10/backward -I/usr/lib/gcc/i586-alt-linux/10/include -I/usr/local/include -I/usr/include revsview.h -o moc_revsview.cpp make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' /usr/share/qt5/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include /usr/src/RPM/BUILD/qgit-2.9/src/moc_predefs.h -I/usr/lib/qt5/mkspecs/linux-g++ -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/c++/10/i586-alt-linux -I/usr/include/c++/10/backward -I/usr/lib/gcc/i586-alt-linux/10/include -I/usr/local/include -I/usr/include revdesc.h -o moc_revdesc.cpp make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' /usr/share/qt5/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include /usr/src/RPM/BUILD/qgit-2.9/src/moc_predefs.h -I/usr/lib/qt5/mkspecs/linux-g++ -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/c++/10/i586-alt-linux -I/usr/include/c++/10/backward -I/usr/lib/gcc/i586-alt-linux/10/include -I/usr/local/include -I/usr/include smartbrowse.h -o moc_smartbrowse.cpp make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' /usr/share/qt5/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include /usr/src/RPM/BUILD/qgit-2.9/src/moc_predefs.h -I/usr/lib/qt5/mkspecs/linux-g++ -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/c++/10/i586-alt-linux -I/usr/include/c++/10/backward -I/usr/lib/gcc/i586-alt-linux/10/include -I/usr/local/include -I/usr/include treeview.h -o moc_treeview.cpp make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' /usr/share/qt5/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include /usr/src/RPM/BUILD/qgit-2.9/src/moc_predefs.h -I/usr/lib/qt5/mkspecs/linux-g++ -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/src/RPM/BUILD/qgit-2.9/src -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I/usr/include/c++/10 -I/usr/include/c++/10/i586-alt-linux -I/usr/include/c++/10/backward -I/usr/lib/gcc/i586-alt-linux/10/include -I/usr/local/include -I/usr/include FileHistory.h -o moc_FileHistory.cpp make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../src -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o moc_annotate.o moc_annotate.cpp In file included from /usr/include/qt5/QtGui/qcolor.h:47, from /usr/include/qt5/QtGui/QColor:1, from common.h:10, from annotate.h:13, from moc_annotate.cpp:10: /usr/include/qt5/QtGui/qrgba64.h: In member function 'constexpr uint QRgba64::toArgb32() const': /usr/include/qt5/QtGui/qrgba64.h:137:14: warning: conversion from 'quint64' {aka 'long long unsigned int'} to 'uint' {aka 'unsigned int'} may change value [-Wconversion] 134 | return ((ag >> 16) & 0xff000000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | | ((br << 16) & 0xff0000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | | (ag & 0xff00) | ~~~~~~~~~~~~~~~~~~~~~~~ 137 | | ((br >> 32) & 0xff); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QVariant:1, from common.h:16, from annotate.h:13, from moc_annotate.cpp:10: /usr/include/qt5/QtCore/qvariant.h: In constructor 'QVariant::Private::Private(uint)': /usr/include/qt5/QtCore/qvariant.h:401:20: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 401 | : type(variantType), is_shared(false), is_null(false) | ^~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../src -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o commitimpl.o commitimpl.cpp In file included from /usr/include/qt5/QtCore/qsettings.h:44, from /usr/include/qt5/QtCore/QSettings:1, from commitimpl.cpp:9: /usr/include/qt5/QtCore/qvariant.h: In constructor 'QVariant::Private::Private(uint)': /usr/include/qt5/QtCore/qvariant.h:401:20: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 401 | : type(variantType), is_shared(false), is_null(false) | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qrect.h:45, from /usr/include/qt5/QtGui/qpaintdevice.h:45, from /usr/include/qt5/QtWidgets/qwidget.h:47, from /usr/include/qt5/QtWidgets/qmenu.h:44, from /usr/include/qt5/QtWidgets/QMenu:1, from commitimpl.cpp:10: /usr/include/qt5/QtCore/qpoint.h: In member function 'constexpr QPoint& QPoint::operator*=(float)': /usr/include/qt5/QtCore/qpoint.h:157:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h:157:39: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(const QPoint&, float)': /usr/include/qt5/QtCore/qpoint.h:178:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:178:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(float, const QPoint&)': /usr/include/qt5/QtCore/qpoint.h:187:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:187:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ In file included from /usr/include/qt5/QtGui/qcolor.h:47, from /usr/include/qt5/QtGui/qpalette.h:45, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qmenu.h:44, from /usr/include/qt5/QtWidgets/QMenu:1, from commitimpl.cpp:10: /usr/include/qt5/QtGui/qrgba64.h: In member function 'constexpr uint QRgba64::toArgb32() const': /usr/include/qt5/QtGui/qrgba64.h:137:14: warning: conversion from 'quint64' {aka 'long long unsigned int'} to 'uint' {aka 'unsigned int'} may change value [-Wconversion] 134 | return ((ag >> 16) & 0xff000000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | | ((br << 16) & 0xff0000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | | (ag & 0xff00) | ~~~~~~~~~~~~~~~~~~~~~~~ 137 | | ((br >> 32) & 0xff); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qimage.h:47, from /usr/include/qt5/QtGui/qbrush.h:51, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qmenu.h:44, from /usr/include/qt5/QtWidgets/QMenu:1, from commitimpl.cpp:10: /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::channelCount() const': /usr/include/qt5/QtGui/qpixelformat.h:183:121: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 179 | Q_DECL_CONSTEXPR inline uchar channelCount() const noexcept { return (get(FirstField, FirstFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 180 | (get(SecondField, SecondFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 181 | (get(ThirdField, ThirdFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 182 | (get(FourthField, FourthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 183 | (get(FifthField, FifthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 184 | (get(AlphaField, AlphaFieldWidth) > 0); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::bitsPerPixel() const': /usr/include/qt5/QtGui/qpixelformat.h:206:115: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 202 | Q_DECL_CONSTEXPR inline uchar bitsPerPixel() const noexcept { return get(FirstField, FirstFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 203 | get(SecondField, SecondFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 204 | get(ThirdField, ThirdFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 205 | get(FourthField, FourthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 206 | get(FifthField, FifthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 207 | get(AlphaField, AlphaFieldWidth); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qmenu.h:44, from /usr/include/qt5/QtWidgets/QMenu:1, from commitimpl.cpp:10: /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt5/QtGui/qpalette.h:107:76: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 107 | inline void setCurrentColorGroup(ColorGroup cg) { data.current_group = cg; } | ^~ /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt5/QtGui/qpalette.h:163:58: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] 163 | inline void resolve(uint mask) { data.resolve_mask = mask; } | ^~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qmenu.h:44, from /usr/include/qt5/QtWidgets/QMenu:1, from commitimpl.cpp:10: /usr/include/qt5/QtWidgets/qsizepolicy.h: In constructor 'constexpr QSizePolicy::QSizePolicy(QSizePolicy::Policy, QSizePolicy::Policy, QSizePolicy::ControlType)': /usr/include/qt5/QtWidgets/qsizepolicy.h:117:22: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:117:43: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:118:36: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:5' may change value [-Wconversion] 118 | type == DefaultType ? 0 : toControlTypeFieldValue(type), 0, 0, 0} | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:132:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 132 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalPolicy(Policy d) noexcept { bits.horPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:133:91: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 133 | Q_DECL_RELAXED_CONSTEXPR void setVerticalPolicy(Policy d) noexcept { bits.verPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:155:95: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 155 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalStretch(int stretchFactor) { bits.horStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qmenu.h:44, from /usr/include/qt5/QtWidgets/QMenu:1, from commitimpl.cpp:10: /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:156:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 156 | Q_DECL_RELAXED_CONSTEXPR void setVerticalStretch(int stretchFactor) { bits.verStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qtextformat.h:51, from /usr/include/qt5/QtGui/qtextcursor.h:46, from /usr/include/qt5/QtWidgets/qlineedit.h:45, from /usr/include/qt5/QtWidgets/qinputdialog.h:45, from /usr/include/qt5/QtWidgets/QInputDialog:1, from commitimpl.cpp:14: /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setTextDirection(Qt::LayoutDirection)': /usr/include/qt5/QtGui/qtextoption.h:95:86: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:2' may change value [-Wconversion] 95 | inline void setTextDirection(Qt::LayoutDirection aDirection) { this->direction = aDirection; } | ^~~~~~~~~~ /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setWrapMode(QTextOption::WrapMode)': /usr/include/qt5/QtGui/qtextoption.h:105:57: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 105 | inline void setWrapMode(WrapMode wrap) { wordWrap = wrap; } | ^~~~ /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setAlignment(Qt::Alignment)': /usr/include/qt5/QtGui/qtextoption.h:152:11: warning: conversion from 'QFlags::Int' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 152 | { align = aalignment; } | ^~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../src -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o moc_dataloader.o moc_dataloader.cpp In file included from /usr/include/qt5/QtCore/QTimer:1, from dataloader.h:12, from moc_dataloader.cpp:10: /usr/include/qt5/QtCore/qtimer.h: In member function 'void QTimer::setTimerType(Qt::TimerType)': /usr/include/qt5/QtCore/qtimer.h:77:59: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:2' may change value [-Wconversion] 77 | void setTimerType(Qt::TimerType atype) { this->type = atype; } | ^~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../src -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o moc_commitimpl.o moc_commitimpl.cpp In file included from /usr/include/qt5/QtCore/QVariant:1, from ui_commit.h:12, from commitimpl.h:10, from moc_commitimpl.cpp:10: /usr/include/qt5/QtCore/qvariant.h: In constructor 'QVariant::Private::Private(uint)': /usr/include/qt5/QtCore/qvariant.h:401:20: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 401 | : type(variantType), is_shared(false), is_null(false) | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qrect.h:45, from /usr/include/qt5/QtGui/qpaintdevice.h:45, from /usr/include/qt5/QtGui/qpixmap.h:44, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from ui_commit.h:13, from commitimpl.h:10, from moc_commitimpl.cpp:10: /usr/include/qt5/QtCore/qpoint.h: In member function 'constexpr QPoint& QPoint::operator*=(float)': /usr/include/qt5/QtCore/qpoint.h:157:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h:157:39: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(const QPoint&, float)': /usr/include/qt5/QtCore/qpoint.h:178:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:178:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(float, const QPoint&)': /usr/include/qt5/QtCore/qpoint.h:187:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:187:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ In file included from /usr/include/qt5/QtGui/qcolor.h:47, from /usr/include/qt5/QtGui/qpixmap.h:45, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from ui_commit.h:13, from commitimpl.h:10, from moc_commitimpl.cpp:10: /usr/include/qt5/QtGui/qrgba64.h: In member function 'constexpr uint QRgba64::toArgb32() const': /usr/include/qt5/QtGui/qrgba64.h:137:14: warning: conversion from 'quint64' {aka 'long long unsigned int'} to 'uint' {aka 'unsigned int'} may change value [-Wconversion] 134 | return ((ag >> 16) & 0xff000000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | | ((br << 16) & 0xff0000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | | (ag & 0xff00) | ~~~~~~~~~~~~~~~~~~~~~~~ 137 | | ((br >> 32) & 0xff); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qimage.h:47, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from ui_commit.h:13, from commitimpl.h:10, from moc_commitimpl.cpp:10: /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::channelCount() const': /usr/include/qt5/QtGui/qpixelformat.h:183:121: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 179 | Q_DECL_CONSTEXPR inline uchar channelCount() const noexcept { return (get(FirstField, FirstFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 180 | (get(SecondField, SecondFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 181 | (get(ThirdField, ThirdFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 182 | (get(FourthField, FourthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 183 | (get(FifthField, FifthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 184 | (get(AlphaField, AlphaFieldWidth) > 0); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::bitsPerPixel() const': /usr/include/qt5/QtGui/qpixelformat.h:206:115: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 202 | Q_DECL_CONSTEXPR inline uchar bitsPerPixel() const noexcept { return get(FirstField, FirstFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 203 | get(SecondField, SecondFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 204 | get(ThirdField, ThirdFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 205 | get(FourthField, FourthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 206 | get(FifthField, FifthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 207 | get(AlphaField, AlphaFieldWidth); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qlayoutitem.h:44, from /usr/include/qt5/QtWidgets/qlayout.h:45, from /usr/include/qt5/QtWidgets/qboxlayout.h:44, from /usr/include/qt5/QtWidgets/QHBoxLayout:1, from ui_commit.h:15, from commitimpl.h:10, from moc_commitimpl.cpp:10: /usr/include/qt5/QtWidgets/qsizepolicy.h: In constructor 'constexpr QSizePolicy::QSizePolicy(QSizePolicy::Policy, QSizePolicy::Policy, QSizePolicy::ControlType)': /usr/include/qt5/QtWidgets/qsizepolicy.h:117:22: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:117:43: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:118:36: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:5' may change value [-Wconversion] 118 | type == DefaultType ? 0 : toControlTypeFieldValue(type), 0, 0, 0} | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:132:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 132 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalPolicy(Policy d) noexcept { bits.horPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:133:91: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 133 | Q_DECL_RELAXED_CONSTEXPR void setVerticalPolicy(Policy d) noexcept { bits.verPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:155:95: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 155 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalStretch(int stretchFactor) { bits.horStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qlayoutitem.h:44, from /usr/include/qt5/QtWidgets/qlayout.h:45, from /usr/include/qt5/QtWidgets/qboxlayout.h:44, from /usr/include/qt5/QtWidgets/QHBoxLayout:1, from ui_commit.h:15, from commitimpl.h:10, from moc_commitimpl.cpp:10: /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:156:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 156 | Q_DECL_RELAXED_CONSTEXPR void setVerticalStretch(int stretchFactor) { bits.verStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/qabstractscrollarea.h:44, from /usr/include/qt5/QtWidgets/qabstractitemview.h:44, from /usr/include/qt5/QtWidgets/qheaderview.h:44, from /usr/include/qt5/QtWidgets/QHeaderView:1, from ui_commit.h:16, from commitimpl.h:10, from moc_commitimpl.cpp:10: /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt5/QtGui/qpalette.h:107:76: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 107 | inline void setCurrentColorGroup(ColorGroup cg) { data.current_group = cg; } | ^~ /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt5/QtGui/qpalette.h:163:58: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] 163 | inline void resolve(uint mask) { data.resolve_mask = mask; } | ^~~~ In file included from /usr/include/qt5/QtWidgets/qtextedit.h:46, from /usr/include/qt5/QtWidgets/QTextEdit:1, from ui_commit.h:21, from commitimpl.h:10, from moc_commitimpl.cpp:10: /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setTextDirection(Qt::LayoutDirection)': /usr/include/qt5/QtGui/qtextoption.h:95:86: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:2' may change value [-Wconversion] 95 | inline void setTextDirection(Qt::LayoutDirection aDirection) { this->direction = aDirection; } | ^~~~~~~~~~ /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setWrapMode(QTextOption::WrapMode)': /usr/include/qt5/QtGui/qtextoption.h:105:57: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 105 | inline void setWrapMode(WrapMode wrap) { wordWrap = wrap; } | ^~~~ /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setAlignment(Qt::Alignment)': /usr/include/qt5/QtGui/qtextoption.h:152:11: warning: conversion from 'QFlags::Int' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 152 | { align = aalignment; } | ^~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../src -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o moc_cache.o moc_cache.cpp In file included from /usr/include/qt5/QtGui/qcolor.h:47, from /usr/include/qt5/QtGui/QColor:1, from common.h:10, from git.h:11, from cache.h:10, from moc_cache.cpp:10: /usr/include/qt5/QtGui/qrgba64.h: In member function 'constexpr uint QRgba64::toArgb32() const': /usr/include/qt5/QtGui/qrgba64.h:137:14: warning: conversion from 'quint64' {aka 'long long unsigned int'} to 'uint' {aka 'unsigned int'} may change value [-Wconversion] 134 | return ((ag >> 16) & 0xff000000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | | ((br << 16) & 0xff0000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | | (ag & 0xff00) | ~~~~~~~~~~~~~~~~~~~~~~~ 137 | | ((br >> 32) & 0xff); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QVariant:1, from common.h:16, from git.h:11, from cache.h:10, from moc_cache.cpp:10: /usr/include/qt5/QtCore/qvariant.h: In constructor 'QVariant::Private::Private(uint)': /usr/include/qt5/QtCore/qvariant.h:401:20: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 401 | : type(variantType), is_shared(false), is_null(false) | ^~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../src -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o treeview.o treeview.cpp In file included from /usr/include/qt5/QtWidgets/qapplication.h:46, from /usr/include/qt5/QtWidgets/QApplication:1, from treeview.cpp:9: /usr/include/qt5/QtCore/qpoint.h: In member function 'constexpr QPoint& QPoint::operator*=(float)': /usr/include/qt5/QtCore/qpoint.h:157:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h:157:39: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(const QPoint&, float)': /usr/include/qt5/QtCore/qpoint.h:178:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:178:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(float, const QPoint&)': /usr/include/qt5/QtCore/qpoint.h:187:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:187:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ In file included from /usr/include/qt5/QtCore/qlocale.h:43, from /usr/include/qt5/QtGui/qguiapplication.h:47, from /usr/include/qt5/QtWidgets/qapplication.h:52, from /usr/include/qt5/QtWidgets/QApplication:1, from treeview.cpp:9: /usr/include/qt5/QtCore/qvariant.h: In constructor 'QVariant::Private::Private(uint)': /usr/include/qt5/QtCore/qvariant.h:401:20: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 401 | : type(variantType), is_shared(false), is_null(false) | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qcolor.h:47, from /usr/include/qt5/QtGui/QColor:1, from common.h:10, from git.h:11, from treeview.cpp:11: /usr/include/qt5/QtGui/qrgba64.h: In member function 'constexpr uint QRgba64::toArgb32() const': /usr/include/qt5/QtGui/qrgba64.h:137:14: warning: conversion from 'quint64' {aka 'long long unsigned int'} to 'uint' {aka 'unsigned int'} may change value [-Wconversion] 134 | return ((ag >> 16) & 0xff000000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | | ((br << 16) & 0xff0000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | | (ag & 0xff00) | ~~~~~~~~~~~~~~~~~~~~~~~ 137 | | ((br >> 32) & 0xff); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qimage.h:47, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from ui_mainview.h:13, from mainimpl.h:15, from treeview.cpp:13: /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::channelCount() const': /usr/include/qt5/QtGui/qpixelformat.h:183:121: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 179 | Q_DECL_CONSTEXPR inline uchar channelCount() const noexcept { return (get(FirstField, FirstFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 180 | (get(SecondField, SecondFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 181 | (get(ThirdField, ThirdFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 182 | (get(FourthField, FourthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 183 | (get(FifthField, FifthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 184 | (get(AlphaField, AlphaFieldWidth) > 0); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::bitsPerPixel() const': /usr/include/qt5/QtGui/qpixelformat.h:206:115: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 202 | Q_DECL_CONSTEXPR inline uchar bitsPerPixel() const noexcept { return get(FirstField, FirstFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 203 | get(SecondField, SecondFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 204 | get(ThirdField, ThirdFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 205 | get(FourthField, FourthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 206 | get(FifthField, FifthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 207 | get(AlphaField, AlphaFieldWidth); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qaction.h:46, from /usr/include/qt5/QtWidgets/QAction:1, from ui_mainview.h:14, from mainimpl.h:15, from treeview.cpp:13: /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt5/QtGui/qpalette.h:107:76: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 107 | inline void setCurrentColorGroup(ColorGroup cg) { data.current_group = cg; } | ^~ /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt5/QtGui/qpalette.h:163:58: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] 163 | inline void resolve(uint mask) { data.resolve_mask = mask; } | ^~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qaction.h:46, from /usr/include/qt5/QtWidgets/QAction:1, from ui_mainview.h:14, from mainimpl.h:15, from treeview.cpp:13: /usr/include/qt5/QtWidgets/qsizepolicy.h: In constructor 'constexpr QSizePolicy::QSizePolicy(QSizePolicy::Policy, QSizePolicy::Policy, QSizePolicy::ControlType)': /usr/include/qt5/QtWidgets/qsizepolicy.h:117:22: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:117:43: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:118:36: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:5' may change value [-Wconversion] 118 | type == DefaultType ? 0 : toControlTypeFieldValue(type), 0, 0, 0} | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:132:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 132 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalPolicy(Policy d) noexcept { bits.horPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:133:91: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 133 | Q_DECL_RELAXED_CONSTEXPR void setVerticalPolicy(Policy d) noexcept { bits.verPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:155:95: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 155 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalStretch(int stretchFactor) { bits.horStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qaction.h:46, from /usr/include/qt5/QtWidgets/QAction:1, from ui_mainview.h:14, from mainimpl.h:15, from treeview.cpp:13: /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:156:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 156 | Q_DECL_RELAXED_CONSTEXPR void setVerticalStretch(int stretchFactor) { bits.verStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../src -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o moc_filecontent.o moc_filecontent.cpp In file included from /usr/include/qt5/QtCore/qrect.h:45, from /usr/include/qt5/QtGui/qpaintdevice.h:45, from /usr/include/qt5/QtWidgets/qwidget.h:47, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/qabstractscrollarea.h:44, from /usr/include/qt5/QtWidgets/qtextedit.h:44, from /usr/include/qt5/QtWidgets/QTextEdit:1, from filecontent.h:11, from moc_filecontent.cpp:10: /usr/include/qt5/QtCore/qpoint.h: In member function 'constexpr QPoint& QPoint::operator*=(float)': /usr/include/qt5/QtCore/qpoint.h:157:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h:157:39: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(const QPoint&, float)': /usr/include/qt5/QtCore/qpoint.h:178:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:178:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(float, const QPoint&)': /usr/include/qt5/QtCore/qpoint.h:187:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:187:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ In file included from /usr/include/qt5/QtGui/qcolor.h:47, from /usr/include/qt5/QtGui/qpalette.h:45, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/qabstractscrollarea.h:44, from /usr/include/qt5/QtWidgets/qtextedit.h:44, from /usr/include/qt5/QtWidgets/QTextEdit:1, from filecontent.h:11, from moc_filecontent.cpp:10: /usr/include/qt5/QtGui/qrgba64.h: In member function 'constexpr uint QRgba64::toArgb32() const': /usr/include/qt5/QtGui/qrgba64.h:137:14: warning: conversion from 'quint64' {aka 'long long unsigned int'} to 'uint' {aka 'unsigned int'} may change value [-Wconversion] 134 | return ((ag >> 16) & 0xff000000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | | ((br << 16) & 0xff0000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | | (ag & 0xff00) | ~~~~~~~~~~~~~~~~~~~~~~~ 137 | | ((br >> 32) & 0xff); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qimage.h:47, from /usr/include/qt5/QtGui/qbrush.h:51, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/qabstractscrollarea.h:44, from /usr/include/qt5/QtWidgets/qtextedit.h:44, from /usr/include/qt5/QtWidgets/QTextEdit:1, from filecontent.h:11, from moc_filecontent.cpp:10: /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::channelCount() const': /usr/include/qt5/QtGui/qpixelformat.h:183:121: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 179 | Q_DECL_CONSTEXPR inline uchar channelCount() const noexcept { return (get(FirstField, FirstFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 180 | (get(SecondField, SecondFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 181 | (get(ThirdField, ThirdFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 182 | (get(FourthField, FourthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 183 | (get(FifthField, FifthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 184 | (get(AlphaField, AlphaFieldWidth) > 0); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::bitsPerPixel() const': /usr/include/qt5/QtGui/qpixelformat.h:206:115: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 202 | Q_DECL_CONSTEXPR inline uchar bitsPerPixel() const noexcept { return get(FirstField, FirstFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 203 | get(SecondField, SecondFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 204 | get(ThirdField, ThirdFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 205 | get(FourthField, FourthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 206 | get(FifthField, FifthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 207 | get(AlphaField, AlphaFieldWidth); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/qabstractscrollarea.h:44, from /usr/include/qt5/QtWidgets/qtextedit.h:44, from /usr/include/qt5/QtWidgets/QTextEdit:1, from filecontent.h:11, from moc_filecontent.cpp:10: /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt5/QtGui/qpalette.h:107:76: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 107 | inline void setCurrentColorGroup(ColorGroup cg) { data.current_group = cg; } | ^~ /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt5/QtGui/qpalette.h:163:58: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] 163 | inline void resolve(uint mask) { data.resolve_mask = mask; } | ^~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/qabstractscrollarea.h:44, from /usr/include/qt5/QtWidgets/qtextedit.h:44, from /usr/include/qt5/QtWidgets/QTextEdit:1, from filecontent.h:11, from moc_filecontent.cpp:10: /usr/include/qt5/QtWidgets/qsizepolicy.h: In constructor 'constexpr QSizePolicy::QSizePolicy(QSizePolicy::Policy, QSizePolicy::Policy, QSizePolicy::ControlType)': /usr/include/qt5/QtWidgets/qsizepolicy.h:117:22: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:117:43: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:118:36: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:5' may change value [-Wconversion] 118 | type == DefaultType ? 0 : toControlTypeFieldValue(type), 0, 0, 0} | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:132:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 132 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalPolicy(Policy d) noexcept { bits.horPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:133:91: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 133 | Q_DECL_RELAXED_CONSTEXPR void setVerticalPolicy(Policy d) noexcept { bits.verPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:155:95: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 155 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalStretch(int stretchFactor) { bits.horStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/qabstractscrollarea.h:44, from /usr/include/qt5/QtWidgets/qtextedit.h:44, from /usr/include/qt5/QtWidgets/QTextEdit:1, from filecontent.h:11, from moc_filecontent.cpp:10: /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:156:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 156 | Q_DECL_RELAXED_CONSTEXPR void setVerticalStretch(int stretchFactor) { bits.verStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qtextdocument.h:47, from /usr/include/qt5/QtWidgets/qtextedit.h:45, from /usr/include/qt5/QtWidgets/QTextEdit:1, from filecontent.h:11, from moc_filecontent.cpp:10: /usr/include/qt5/QtCore/qvariant.h: In constructor 'QVariant::Private::Private(uint)': /usr/include/qt5/QtCore/qvariant.h:401:20: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 401 | : type(variantType), is_shared(false), is_null(false) | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qtextedit.h:46, from /usr/include/qt5/QtWidgets/QTextEdit:1, from filecontent.h:11, from moc_filecontent.cpp:10: /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setTextDirection(Qt::LayoutDirection)': /usr/include/qt5/QtGui/qtextoption.h:95:86: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:2' may change value [-Wconversion] 95 | inline void setTextDirection(Qt::LayoutDirection aDirection) { this->direction = aDirection; } | ^~~~~~~~~~ /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setWrapMode(QTextOption::WrapMode)': /usr/include/qt5/QtGui/qtextoption.h:105:57: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 105 | inline void setWrapMode(WrapMode wrap) { wordWrap = wrap; } | ^~~~ /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setAlignment(Qt::Alignment)': /usr/include/qt5/QtGui/qtextoption.h:152:11: warning: conversion from 'QFlags::Int' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 152 | { align = aalignment; } | ^~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../src -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o moc_domain.o moc_domain.cpp In file included from /usr/include/qt5/QtGui/qcolor.h:47, from /usr/include/qt5/QtGui/QColor:1, from common.h:10, from domain.h:13, from moc_domain.cpp:10: /usr/include/qt5/QtGui/qrgba64.h: In member function 'constexpr uint QRgba64::toArgb32() const': /usr/include/qt5/QtGui/qrgba64.h:137:14: warning: conversion from 'quint64' {aka 'long long unsigned int'} to 'uint' {aka 'unsigned int'} may change value [-Wconversion] 134 | return ((ag >> 16) & 0xff000000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | | ((br << 16) & 0xff0000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | | (ag & 0xff00) | ~~~~~~~~~~~~~~~~~~~~~~~ 137 | | ((br >> 32) & 0xff); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QVariant:1, from common.h:16, from domain.h:13, from moc_domain.cpp:10: /usr/include/qt5/QtCore/qvariant.h: In constructor 'QVariant::Private::Private(uint)': /usr/include/qt5/QtCore/qvariant.h:401:20: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 401 | : type(variantType), is_shared(false), is_null(false) | ^~~~~~~~~~~ moc_domain.cpp: In static member function 'static void Domain::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': moc_domain.cpp:96:78: warning: implicitly-declared 'StateInfo::StateInfo(const StateInfo&)' is deprecated [-Wdeprecated-copy] 96 | case 0: _t->updateRequested((*reinterpret_cast< StateInfo(*)>(_a[1]))); break; | ^ In file included from moc_domain.cpp:10: domain.h:37:13: note: because 'StateInfo' has user-provided 'StateInfo& StateInfo::operator=(const StateInfo&)' 37 | StateInfo& operator=(const StateInfo& newState); | ^~~~~~~~ domain.h:121:33: note: initializing argument 1 of 'void Domain::updateRequested(StateInfo)' 121 | void updateRequested(StateInfo newSt); | ~~~~~~~~~~^~~~~ moc_domain.cpp:100:81: warning: implicitly-declared 'StateInfo::StateInfo(const StateInfo&)' is deprecated [-Wdeprecated-copy] 100 | case 4: _t->on_updateRequested((*reinterpret_cast< StateInfo(*)>(_a[1]))); break; | ^ In file included from moc_domain.cpp:10: domain.h:37:13: note: because 'StateInfo' has user-provided 'StateInfo& StateInfo::operator=(const StateInfo&)' 37 | StateInfo& operator=(const StateInfo& newState); | ^~~~~~~~ domain.h:129:36: note: initializing argument 1 of 'void Domain::on_updateRequested(StateInfo)' 129 | void on_updateRequested(StateInfo newSt); | ~~~~~~~~~~^~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../src -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o moc_consoleimpl.o moc_consoleimpl.cpp In file included from /usr/include/qt5/QtCore/qrect.h:45, from /usr/include/qt5/QtGui/qregion.h:45, from /usr/include/qt5/QtGui/qevent.h:45, from /usr/include/qt5/QtGui/QCloseEvent:1, from consoleimpl.h:12, from moc_consoleimpl.cpp:10: /usr/include/qt5/QtCore/qpoint.h: In member function 'constexpr QPoint& QPoint::operator*=(float)': /usr/include/qt5/QtCore/qpoint.h:157:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h:157:39: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(const QPoint&, float)': /usr/include/qt5/QtCore/qpoint.h:178:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:178:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(float, const QPoint&)': /usr/include/qt5/QtCore/qpoint.h:187:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:187:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ In file included from /usr/include/qt5/QtGui/qevent.h:50, from /usr/include/qt5/QtGui/QCloseEvent:1, from consoleimpl.h:12, from moc_consoleimpl.cpp:10: /usr/include/qt5/QtCore/qvariant.h: In constructor 'QVariant::Private::Private(uint)': /usr/include/qt5/QtCore/qvariant.h:401:20: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 401 | : type(variantType), is_shared(false), is_null(false) | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qcolor.h:47, from /usr/include/qt5/QtGui/qpixmap.h:45, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from ui_console.h:13, from consoleimpl.h:14, from moc_consoleimpl.cpp:10: /usr/include/qt5/QtGui/qrgba64.h: In member function 'constexpr uint QRgba64::toArgb32() const': /usr/include/qt5/QtGui/qrgba64.h:137:14: warning: conversion from 'quint64' {aka 'long long unsigned int'} to 'uint' {aka 'unsigned int'} may change value [-Wconversion] 134 | return ((ag >> 16) & 0xff000000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | | ((br << 16) & 0xff0000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | | (ag & 0xff00) | ~~~~~~~~~~~~~~~~~~~~~~~ 137 | | ((br >> 32) & 0xff); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qimage.h:47, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from ui_console.h:13, from consoleimpl.h:14, from moc_consoleimpl.cpp:10: /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::channelCount() const': /usr/include/qt5/QtGui/qpixelformat.h:183:121: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 179 | Q_DECL_CONSTEXPR inline uchar channelCount() const noexcept { return (get(FirstField, FirstFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 180 | (get(SecondField, SecondFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 181 | (get(ThirdField, ThirdFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 182 | (get(FourthField, FourthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 183 | (get(FifthField, FifthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 184 | (get(AlphaField, AlphaFieldWidth) > 0); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::bitsPerPixel() const': /usr/include/qt5/QtGui/qpixelformat.h:206:115: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 202 | Q_DECL_CONSTEXPR inline uchar bitsPerPixel() const noexcept { return get(FirstField, FirstFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 203 | get(SecondField, SecondFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 204 | get(ThirdField, ThirdFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 205 | get(FourthField, FourthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 206 | get(FifthField, FifthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 207 | get(AlphaField, AlphaFieldWidth); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qaction.h:46, from /usr/include/qt5/QtWidgets/QAction:1, from ui_console.h:14, from consoleimpl.h:14, from moc_consoleimpl.cpp:10: /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt5/QtGui/qpalette.h:107:76: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 107 | inline void setCurrentColorGroup(ColorGroup cg) { data.current_group = cg; } | ^~ /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt5/QtGui/qpalette.h:163:58: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] 163 | inline void resolve(uint mask) { data.resolve_mask = mask; } | ^~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qaction.h:46, from /usr/include/qt5/QtWidgets/QAction:1, from ui_console.h:14, from consoleimpl.h:14, from moc_consoleimpl.cpp:10: /usr/include/qt5/QtWidgets/qsizepolicy.h: In constructor 'constexpr QSizePolicy::QSizePolicy(QSizePolicy::Policy, QSizePolicy::Policy, QSizePolicy::ControlType)': /usr/include/qt5/QtWidgets/qsizepolicy.h:117:22: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:117:43: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:118:36: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:5' may change value [-Wconversion] 118 | type == DefaultType ? 0 : toControlTypeFieldValue(type), 0, 0, 0} | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:132:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 132 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalPolicy(Policy d) noexcept { bits.horPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:133:91: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 133 | Q_DECL_RELAXED_CONSTEXPR void setVerticalPolicy(Policy d) noexcept { bits.verPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:155:95: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 155 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalStretch(int stretchFactor) { bits.horStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qaction.h:46, from /usr/include/qt5/QtWidgets/QAction:1, from ui_console.h:14, from consoleimpl.h:14, from moc_consoleimpl.cpp:10: /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:156:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 156 | Q_DECL_RELAXED_CONSTEXPR void setVerticalStretch(int stretchFactor) { bits.verStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qtextedit.h:46, from /usr/include/qt5/QtWidgets/QTextEdit:1, from ui_console.h:22, from consoleimpl.h:14, from moc_consoleimpl.cpp:10: /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setTextDirection(Qt::LayoutDirection)': /usr/include/qt5/QtGui/qtextoption.h:95:86: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:2' may change value [-Wconversion] 95 | inline void setTextDirection(Qt::LayoutDirection aDirection) { this->direction = aDirection; } | ^~~~~~~~~~ /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setWrapMode(QTextOption::WrapMode)': /usr/include/qt5/QtGui/qtextoption.h:105:57: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 105 | inline void setWrapMode(WrapMode wrap) { wordWrap = wrap; } | ^~~~ /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setAlignment(Qt::Alignment)': /usr/include/qt5/QtGui/qtextoption.h:152:11: warning: conversion from 'QFlags::Int' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 152 | { align = aalignment; } | ^~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../src -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o moc_filelist.o moc_filelist.cpp In file included from /usr/include/qt5/QtCore/qrect.h:45, from /usr/include/qt5/QtGui/qpaintdevice.h:45, from /usr/include/qt5/QtWidgets/qwidget.h:47, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/qabstractscrollarea.h:44, from /usr/include/qt5/QtWidgets/qabstractitemview.h:44, from /usr/include/qt5/QtWidgets/qlistview.h:44, from /usr/include/qt5/QtWidgets/qlistwidget.h:44, from /usr/include/qt5/QtWidgets/QListWidget:1, from filelist.h:9, from moc_filelist.cpp:10: /usr/include/qt5/QtCore/qpoint.h: In member function 'constexpr QPoint& QPoint::operator*=(float)': /usr/include/qt5/QtCore/qpoint.h:157:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h:157:39: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(const QPoint&, float)': /usr/include/qt5/QtCore/qpoint.h:178:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:178:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(float, const QPoint&)': /usr/include/qt5/QtCore/qpoint.h:187:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:187:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ In file included from /usr/include/qt5/QtGui/qcolor.h:47, from /usr/include/qt5/QtGui/qpalette.h:45, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/qabstractscrollarea.h:44, from /usr/include/qt5/QtWidgets/qabstractitemview.h:44, from /usr/include/qt5/QtWidgets/qlistview.h:44, from /usr/include/qt5/QtWidgets/qlistwidget.h:44, from /usr/include/qt5/QtWidgets/QListWidget:1, from filelist.h:9, from moc_filelist.cpp:10: /usr/include/qt5/QtGui/qrgba64.h: In member function 'constexpr uint QRgba64::toArgb32() const': /usr/include/qt5/QtGui/qrgba64.h:137:14: warning: conversion from 'quint64' {aka 'long long unsigned int'} to 'uint' {aka 'unsigned int'} may change value [-Wconversion] 134 | return ((ag >> 16) & 0xff000000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | | ((br << 16) & 0xff0000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | | (ag & 0xff00) | ~~~~~~~~~~~~~~~~~~~~~~~ 137 | | ((br >> 32) & 0xff); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qimage.h:47, from /usr/include/qt5/QtGui/qbrush.h:51, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/qabstractscrollarea.h:44, from /usr/include/qt5/QtWidgets/qabstractitemview.h:44, from /usr/include/qt5/QtWidgets/qlistview.h:44, from /usr/include/qt5/QtWidgets/qlistwidget.h:44, from /usr/include/qt5/QtWidgets/QListWidget:1, from filelist.h:9, from moc_filelist.cpp:10: /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::channelCount() const': /usr/include/qt5/QtGui/qpixelformat.h:183:121: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 179 | Q_DECL_CONSTEXPR inline uchar channelCount() const noexcept { return (get(FirstField, FirstFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 180 | (get(SecondField, SecondFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 181 | (get(ThirdField, ThirdFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 182 | (get(FourthField, FourthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 183 | (get(FifthField, FifthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 184 | (get(AlphaField, AlphaFieldWidth) > 0); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::bitsPerPixel() const': /usr/include/qt5/QtGui/qpixelformat.h:206:115: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 202 | Q_DECL_CONSTEXPR inline uchar bitsPerPixel() const noexcept { return get(FirstField, FirstFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 203 | get(SecondField, SecondFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 204 | get(ThirdField, ThirdFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 205 | get(FourthField, FourthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 206 | get(FifthField, FifthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 207 | get(AlphaField, AlphaFieldWidth); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/qabstractscrollarea.h:44, from /usr/include/qt5/QtWidgets/qabstractitemview.h:44, from /usr/include/qt5/QtWidgets/qlistview.h:44, from /usr/include/qt5/QtWidgets/qlistwidget.h:44, from /usr/include/qt5/QtWidgets/QListWidget:1, from filelist.h:9, from moc_filelist.cpp:10: /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt5/QtGui/qpalette.h:107:76: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 107 | inline void setCurrentColorGroup(ColorGroup cg) { data.current_group = cg; } | ^~ /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt5/QtGui/qpalette.h:163:58: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] 163 | inline void resolve(uint mask) { data.resolve_mask = mask; } | ^~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/qabstractscrollarea.h:44, from /usr/include/qt5/QtWidgets/qabstractitemview.h:44, from /usr/include/qt5/QtWidgets/qlistview.h:44, from /usr/include/qt5/QtWidgets/qlistwidget.h:44, from /usr/include/qt5/QtWidgets/QListWidget:1, from filelist.h:9, from moc_filelist.cpp:10: /usr/include/qt5/QtWidgets/qsizepolicy.h: In constructor 'constexpr QSizePolicy::QSizePolicy(QSizePolicy::Policy, QSizePolicy::Policy, QSizePolicy::ControlType)': /usr/include/qt5/QtWidgets/qsizepolicy.h:117:22: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:117:43: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:118:36: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:5' may change value [-Wconversion] 118 | type == DefaultType ? 0 : toControlTypeFieldValue(type), 0, 0, 0} | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:132:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 132 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalPolicy(Policy d) noexcept { bits.horPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:133:91: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 133 | Q_DECL_RELAXED_CONSTEXPR void setVerticalPolicy(Policy d) noexcept { bits.verPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:155:95: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 155 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalStretch(int stretchFactor) { bits.horStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/qabstractscrollarea.h:44, from /usr/include/qt5/QtWidgets/qabstractitemview.h:44, from /usr/include/qt5/QtWidgets/qlistview.h:44, from /usr/include/qt5/QtWidgets/qlistwidget.h:44, from /usr/include/qt5/QtWidgets/QListWidget:1, from filelist.h:9, from moc_filelist.cpp:10: /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:156:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 156 | Q_DECL_RELAXED_CONSTEXPR void setVerticalStretch(int stretchFactor) { bits.verStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qabstractitemmodel.h:43, from /usr/include/qt5/QtWidgets/qabstractitemview.h:45, from /usr/include/qt5/QtWidgets/qlistview.h:44, from /usr/include/qt5/QtWidgets/qlistwidget.h:44, from /usr/include/qt5/QtWidgets/QListWidget:1, from filelist.h:9, from moc_filelist.cpp:10: /usr/include/qt5/QtCore/qvariant.h: In constructor 'QVariant::Private::Private(uint)': /usr/include/qt5/QtCore/qvariant.h:401:20: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 401 | : type(variantType), is_shared(false), is_null(false) | ^~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../src -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o moc_inputdialog.o moc_inputdialog.cpp In file included from /usr/include/qt5/QtCore/qrect.h:45, from /usr/include/qt5/QtGui/qpaintdevice.h:45, from /usr/include/qt5/QtWidgets/qwidget.h:47, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from inputdialog.h:2, from moc_inputdialog.cpp:10: /usr/include/qt5/QtCore/qpoint.h: In member function 'constexpr QPoint& QPoint::operator*=(float)': /usr/include/qt5/QtCore/qpoint.h:157:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h:157:39: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(const QPoint&, float)': /usr/include/qt5/QtCore/qpoint.h:178:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:178:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(float, const QPoint&)': /usr/include/qt5/QtCore/qpoint.h:187:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:187:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ In file included from /usr/include/qt5/QtGui/qcolor.h:47, from /usr/include/qt5/QtGui/qpalette.h:45, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from inputdialog.h:2, from moc_inputdialog.cpp:10: /usr/include/qt5/QtGui/qrgba64.h: In member function 'constexpr uint QRgba64::toArgb32() const': /usr/include/qt5/QtGui/qrgba64.h:137:14: warning: conversion from 'quint64' {aka 'long long unsigned int'} to 'uint' {aka 'unsigned int'} may change value [-Wconversion] 134 | return ((ag >> 16) & 0xff000000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | | ((br << 16) & 0xff0000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | | (ag & 0xff00) | ~~~~~~~~~~~~~~~~~~~~~~~ 137 | | ((br >> 32) & 0xff); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qimage.h:47, from /usr/include/qt5/QtGui/qbrush.h:51, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from inputdialog.h:2, from moc_inputdialog.cpp:10: /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::channelCount() const': /usr/include/qt5/QtGui/qpixelformat.h:183:121: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 179 | Q_DECL_CONSTEXPR inline uchar channelCount() const noexcept { return (get(FirstField, FirstFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 180 | (get(SecondField, SecondFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 181 | (get(ThirdField, ThirdFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 182 | (get(FourthField, FourthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 183 | (get(FifthField, FifthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 184 | (get(AlphaField, AlphaFieldWidth) > 0); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::bitsPerPixel() const': /usr/include/qt5/QtGui/qpixelformat.h:206:115: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 202 | Q_DECL_CONSTEXPR inline uchar bitsPerPixel() const noexcept { return get(FirstField, FirstFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 203 | get(SecondField, SecondFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 204 | get(ThirdField, ThirdFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 205 | get(FourthField, FourthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 206 | get(FifthField, FifthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 207 | get(AlphaField, AlphaFieldWidth); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from inputdialog.h:2, from moc_inputdialog.cpp:10: /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt5/QtGui/qpalette.h:107:76: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 107 | inline void setCurrentColorGroup(ColorGroup cg) { data.current_group = cg; } | ^~ /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt5/QtGui/qpalette.h:163:58: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] 163 | inline void resolve(uint mask) { data.resolve_mask = mask; } | ^~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from inputdialog.h:2, from moc_inputdialog.cpp:10: /usr/include/qt5/QtWidgets/qsizepolicy.h: In constructor 'constexpr QSizePolicy::QSizePolicy(QSizePolicy::Policy, QSizePolicy::Policy, QSizePolicy::ControlType)': /usr/include/qt5/QtWidgets/qsizepolicy.h:117:22: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:117:43: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:118:36: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:5' may change value [-Wconversion] 118 | type == DefaultType ? 0 : toControlTypeFieldValue(type), 0, 0, 0} | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:132:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 132 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalPolicy(Policy d) noexcept { bits.horPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:133:91: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 133 | Q_DECL_RELAXED_CONSTEXPR void setVerticalPolicy(Policy d) noexcept { bits.verPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:155:95: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 155 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalStretch(int stretchFactor) { bits.horStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from inputdialog.h:2, from moc_inputdialog.cpp:10: /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:156:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 156 | Q_DECL_RELAXED_CONSTEXPR void setVerticalStretch(int stretchFactor) { bits.verStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from moc_inputdialog.cpp:10: inputdialog.h: At global scope: inputdialog.h:41:64: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 41 | QWidget *parent = 0, Qt::WindowFlags f = 0); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from inputdialog.h:2, from moc_inputdialog.cpp:10: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../src -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o moc_myprocess.o moc_myprocess.cpp In file included from /usr/include/qt5/QtGui/qcolor.h:47, from /usr/include/qt5/QtGui/QColor:1, from common.h:10, from git.h:11, from myprocess.h:11, from moc_myprocess.cpp:10: /usr/include/qt5/QtGui/qrgba64.h: In member function 'constexpr uint QRgba64::toArgb32() const': /usr/include/qt5/QtGui/qrgba64.h:137:14: warning: conversion from 'quint64' {aka 'long long unsigned int'} to 'uint' {aka 'unsigned int'} may change value [-Wconversion] 134 | return ((ag >> 16) & 0xff000000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | | ((br << 16) & 0xff0000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | | (ag & 0xff00) | ~~~~~~~~~~~~~~~~~~~~~~~ 137 | | ((br >> 32) & 0xff); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QVariant:1, from common.h:16, from git.h:11, from myprocess.h:11, from moc_myprocess.cpp:10: /usr/include/qt5/QtCore/qvariant.h: In constructor 'QVariant::Private::Private(uint)': /usr/include/qt5/QtCore/qvariant.h:401:20: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 401 | : type(variantType), is_shared(false), is_null(false) | ^~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../src -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o moc_customactionimpl.o moc_customactionimpl.cpp In file included from /usr/include/qt5/QtCore/QVariant:1, from ui_customaction.h:12, from customactionimpl.h:12, from moc_customactionimpl.cpp:10: /usr/include/qt5/QtCore/qvariant.h: In constructor 'QVariant::Private::Private(uint)': /usr/include/qt5/QtCore/qvariant.h:401:20: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 401 | : type(variantType), is_shared(false), is_null(false) | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qrect.h:45, from /usr/include/qt5/QtGui/qpaintdevice.h:45, from /usr/include/qt5/QtGui/qpixmap.h:44, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from ui_customaction.h:13, from customactionimpl.h:12, from moc_customactionimpl.cpp:10: /usr/include/qt5/QtCore/qpoint.h: In member function 'constexpr QPoint& QPoint::operator*=(float)': /usr/include/qt5/QtCore/qpoint.h:157:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h:157:39: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(const QPoint&, float)': /usr/include/qt5/QtCore/qpoint.h:178:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:178:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(float, const QPoint&)': /usr/include/qt5/QtCore/qpoint.h:187:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:187:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ In file included from /usr/include/qt5/QtGui/qcolor.h:47, from /usr/include/qt5/QtGui/qpixmap.h:45, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from ui_customaction.h:13, from customactionimpl.h:12, from moc_customactionimpl.cpp:10: /usr/include/qt5/QtGui/qrgba64.h: In member function 'constexpr uint QRgba64::toArgb32() const': /usr/include/qt5/QtGui/qrgba64.h:137:14: warning: conversion from 'quint64' {aka 'long long unsigned int'} to 'uint' {aka 'unsigned int'} may change value [-Wconversion] 134 | return ((ag >> 16) & 0xff000000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | | ((br << 16) & 0xff0000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | | (ag & 0xff00) | ~~~~~~~~~~~~~~~~~~~~~~~ 137 | | ((br >> 32) & 0xff); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qimage.h:47, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from ui_customaction.h:13, from customactionimpl.h:12, from moc_customactionimpl.cpp:10: /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::channelCount() const': /usr/include/qt5/QtGui/qpixelformat.h:183:121: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 179 | Q_DECL_CONSTEXPR inline uchar channelCount() const noexcept { return (get(FirstField, FirstFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 180 | (get(SecondField, SecondFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 181 | (get(ThirdField, ThirdFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 182 | (get(FourthField, FourthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 183 | (get(FifthField, FifthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 184 | (get(AlphaField, AlphaFieldWidth) > 0); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::bitsPerPixel() const': /usr/include/qt5/QtGui/qpixelformat.h:206:115: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 202 | Q_DECL_CONSTEXPR inline uchar bitsPerPixel() const noexcept { return get(FirstField, FirstFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 203 | get(SecondField, SecondFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 204 | get(ThirdField, ThirdFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 205 | get(FourthField, FourthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 206 | get(FifthField, FifthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 207 | get(AlphaField, AlphaFieldWidth); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qabstractbutton.h:46, from /usr/include/qt5/QtWidgets/qcheckbox.h:44, from /usr/include/qt5/QtWidgets/QCheckBox:1, from ui_customaction.h:15, from customactionimpl.h:12, from moc_customactionimpl.cpp:10: /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt5/QtGui/qpalette.h:107:76: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 107 | inline void setCurrentColorGroup(ColorGroup cg) { data.current_group = cg; } | ^~ /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt5/QtGui/qpalette.h:163:58: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] 163 | inline void resolve(uint mask) { data.resolve_mask = mask; } | ^~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qabstractbutton.h:46, from /usr/include/qt5/QtWidgets/qcheckbox.h:44, from /usr/include/qt5/QtWidgets/QCheckBox:1, from ui_customaction.h:15, from customactionimpl.h:12, from moc_customactionimpl.cpp:10: /usr/include/qt5/QtWidgets/qsizepolicy.h: In constructor 'constexpr QSizePolicy::QSizePolicy(QSizePolicy::Policy, QSizePolicy::Policy, QSizePolicy::ControlType)': /usr/include/qt5/QtWidgets/qsizepolicy.h:117:22: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:117:43: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:118:36: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:5' may change value [-Wconversion] 118 | type == DefaultType ? 0 : toControlTypeFieldValue(type), 0, 0, 0} | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:132:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 132 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalPolicy(Policy d) noexcept { bits.horPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:133:91: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 133 | Q_DECL_RELAXED_CONSTEXPR void setVerticalPolicy(Policy d) noexcept { bits.verPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:155:95: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 155 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalStretch(int stretchFactor) { bits.horStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qabstractbutton.h:46, from /usr/include/qt5/QtWidgets/qcheckbox.h:44, from /usr/include/qt5/QtWidgets/QCheckBox:1, from ui_customaction.h:15, from customactionimpl.h:12, from moc_customactionimpl.cpp:10: /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:156:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 156 | Q_DECL_RELAXED_CONSTEXPR void setVerticalStretch(int stretchFactor) { bits.verStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qtextedit.h:46, from /usr/include/qt5/QtWidgets/QTextEdit:1, from ui_customaction.h:23, from customactionimpl.h:12, from moc_customactionimpl.cpp:10: /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setTextDirection(Qt::LayoutDirection)': /usr/include/qt5/QtGui/qtextoption.h:95:86: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:2' may change value [-Wconversion] 95 | inline void setTextDirection(Qt::LayoutDirection aDirection) { this->direction = aDirection; } | ^~~~~~~~~~ /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setWrapMode(QTextOption::WrapMode)': /usr/include/qt5/QtGui/qtextoption.h:105:57: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 105 | inline void setWrapMode(WrapMode wrap) { wordWrap = wrap; } | ^~~~ /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setAlignment(Qt::Alignment)': /usr/include/qt5/QtGui/qtextoption.h:152:11: warning: conversion from 'QFlags::Int' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 152 | { align = aalignment; } | ^~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../src -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o moc_fileview.o moc_fileview.cpp In file included from /usr/include/qt5/QtCore/QVariant:1, from ui_fileview.h:12, from fileview.h:10, from moc_fileview.cpp:10: /usr/include/qt5/QtCore/qvariant.h: In constructor 'QVariant::Private::Private(uint)': /usr/include/qt5/QtCore/qvariant.h:401:20: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 401 | : type(variantType), is_shared(false), is_null(false) | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qrect.h:45, from /usr/include/qt5/QtGui/qpaintdevice.h:45, from /usr/include/qt5/QtGui/qpixmap.h:44, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from ui_fileview.h:13, from fileview.h:10, from moc_fileview.cpp:10: /usr/include/qt5/QtCore/qpoint.h: In member function 'constexpr QPoint& QPoint::operator*=(float)': /usr/include/qt5/QtCore/qpoint.h:157:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h:157:39: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(const QPoint&, float)': /usr/include/qt5/QtCore/qpoint.h:178:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:178:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(float, const QPoint&)': /usr/include/qt5/QtCore/qpoint.h:187:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:187:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ In file included from /usr/include/qt5/QtGui/qcolor.h:47, from /usr/include/qt5/QtGui/qpixmap.h:45, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from ui_fileview.h:13, from fileview.h:10, from moc_fileview.cpp:10: /usr/include/qt5/QtGui/qrgba64.h: In member function 'constexpr uint QRgba64::toArgb32() const': /usr/include/qt5/QtGui/qrgba64.h:137:14: warning: conversion from 'quint64' {aka 'long long unsigned int'} to 'uint' {aka 'unsigned int'} may change value [-Wconversion] 134 | return ((ag >> 16) & 0xff000000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | | ((br << 16) & 0xff0000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | | (ag & 0xff00) | ~~~~~~~~~~~~~~~~~~~~~~~ 137 | | ((br >> 32) & 0xff); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qimage.h:47, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from ui_fileview.h:13, from fileview.h:10, from moc_fileview.cpp:10: /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::channelCount() const': /usr/include/qt5/QtGui/qpixelformat.h:183:121: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 179 | Q_DECL_CONSTEXPR inline uchar channelCount() const noexcept { return (get(FirstField, FirstFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 180 | (get(SecondField, SecondFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 181 | (get(ThirdField, ThirdFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 182 | (get(FourthField, FourthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 183 | (get(FifthField, FifthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 184 | (get(AlphaField, AlphaFieldWidth) > 0); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::bitsPerPixel() const': /usr/include/qt5/QtGui/qpixelformat.h:206:115: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 202 | Q_DECL_CONSTEXPR inline uchar bitsPerPixel() const noexcept { return get(FirstField, FirstFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 203 | get(SecondField, SecondFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 204 | get(ThirdField, ThirdFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 205 | get(FourthField, FourthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 206 | get(FifthField, FifthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 207 | get(AlphaField, AlphaFieldWidth); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/QFrame:1, from ui_fileview.h:15, from fileview.h:10, from moc_fileview.cpp:10: /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt5/QtGui/qpalette.h:107:76: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 107 | inline void setCurrentColorGroup(ColorGroup cg) { data.current_group = cg; } | ^~ /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt5/QtGui/qpalette.h:163:58: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] 163 | inline void resolve(uint mask) { data.resolve_mask = mask; } | ^~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/QFrame:1, from ui_fileview.h:15, from fileview.h:10, from moc_fileview.cpp:10: /usr/include/qt5/QtWidgets/qsizepolicy.h: In constructor 'constexpr QSizePolicy::QSizePolicy(QSizePolicy::Policy, QSizePolicy::Policy, QSizePolicy::ControlType)': /usr/include/qt5/QtWidgets/qsizepolicy.h:117:22: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:117:43: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:118:36: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:5' may change value [-Wconversion] 118 | type == DefaultType ? 0 : toControlTypeFieldValue(type), 0, 0, 0} | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:132:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 132 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalPolicy(Policy d) noexcept { bits.horPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:133:91: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 133 | Q_DECL_RELAXED_CONSTEXPR void setVerticalPolicy(Policy d) noexcept { bits.verPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:155:95: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 155 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalStretch(int stretchFactor) { bits.horStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/QFrame:1, from ui_fileview.h:15, from fileview.h:10, from moc_fileview.cpp:10: /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:156:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 156 | Q_DECL_RELAXED_CONSTEXPR void setVerticalStretch(int stretchFactor) { bits.verStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qtextedit.h:46, from /usr/include/qt5/QtWidgets/QTextEdit:1, from filecontent.h:11, from ui_fileview.h:25, from fileview.h:10, from moc_fileview.cpp:10: /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setTextDirection(Qt::LayoutDirection)': /usr/include/qt5/QtGui/qtextoption.h:95:86: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:2' may change value [-Wconversion] 95 | inline void setTextDirection(Qt::LayoutDirection aDirection) { this->direction = aDirection; } | ^~~~~~~~~~ /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setWrapMode(QTextOption::WrapMode)': /usr/include/qt5/QtGui/qtextoption.h:105:57: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 105 | inline void setWrapMode(WrapMode wrap) { wordWrap = wrap; } | ^~~~ /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setAlignment(Qt::Alignment)': /usr/include/qt5/QtGui/qtextoption.h:152:11: warning: conversion from 'QFlags::Int' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 152 | { align = aalignment; } | ^~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../src -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o moc_patchcontent.o moc_patchcontent.cpp In file included from /usr/include/qt5/QtCore/qrect.h:45, from /usr/include/qt5/QtGui/qpaintdevice.h:45, from /usr/include/qt5/QtWidgets/qwidget.h:47, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/qabstractscrollarea.h:44, from /usr/include/qt5/QtWidgets/qtextedit.h:44, from /usr/include/qt5/QtWidgets/QTextEdit:1, from patchcontent.h:11, from moc_patchcontent.cpp:10: /usr/include/qt5/QtCore/qpoint.h: In member function 'constexpr QPoint& QPoint::operator*=(float)': /usr/include/qt5/QtCore/qpoint.h:157:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h:157:39: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(const QPoint&, float)': /usr/include/qt5/QtCore/qpoint.h:178:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:178:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(float, const QPoint&)': /usr/include/qt5/QtCore/qpoint.h:187:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:187:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ In file included from /usr/include/qt5/QtGui/qcolor.h:47, from /usr/include/qt5/QtGui/qpalette.h:45, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/qabstractscrollarea.h:44, from /usr/include/qt5/QtWidgets/qtextedit.h:44, from /usr/include/qt5/QtWidgets/QTextEdit:1, from patchcontent.h:11, from moc_patchcontent.cpp:10: /usr/include/qt5/QtGui/qrgba64.h: In member function 'constexpr uint QRgba64::toArgb32() const': /usr/include/qt5/QtGui/qrgba64.h:137:14: warning: conversion from 'quint64' {aka 'long long unsigned int'} to 'uint' {aka 'unsigned int'} may change value [-Wconversion] 134 | return ((ag >> 16) & 0xff000000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | | ((br << 16) & 0xff0000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | | (ag & 0xff00) | ~~~~~~~~~~~~~~~~~~~~~~~ 137 | | ((br >> 32) & 0xff); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qimage.h:47, from /usr/include/qt5/QtGui/qbrush.h:51, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/qabstractscrollarea.h:44, from /usr/include/qt5/QtWidgets/qtextedit.h:44, from /usr/include/qt5/QtWidgets/QTextEdit:1, from patchcontent.h:11, from moc_patchcontent.cpp:10: /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::channelCount() const': /usr/include/qt5/QtGui/qpixelformat.h:183:121: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 179 | Q_DECL_CONSTEXPR inline uchar channelCount() const noexcept { return (get(FirstField, FirstFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 180 | (get(SecondField, SecondFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 181 | (get(ThirdField, ThirdFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 182 | (get(FourthField, FourthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 183 | (get(FifthField, FifthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 184 | (get(AlphaField, AlphaFieldWidth) > 0); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::bitsPerPixel() const': /usr/include/qt5/QtGui/qpixelformat.h:206:115: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 202 | Q_DECL_CONSTEXPR inline uchar bitsPerPixel() const noexcept { return get(FirstField, FirstFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 203 | get(SecondField, SecondFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 204 | get(ThirdField, ThirdFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 205 | get(FourthField, FourthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 206 | get(FifthField, FifthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 207 | get(AlphaField, AlphaFieldWidth); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/qabstractscrollarea.h:44, from /usr/include/qt5/QtWidgets/qtextedit.h:44, from /usr/include/qt5/QtWidgets/QTextEdit:1, from patchcontent.h:11, from moc_patchcontent.cpp:10: /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt5/QtGui/qpalette.h:107:76: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 107 | inline void setCurrentColorGroup(ColorGroup cg) { data.current_group = cg; } | ^~ /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt5/QtGui/qpalette.h:163:58: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] 163 | inline void resolve(uint mask) { data.resolve_mask = mask; } | ^~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/qabstractscrollarea.h:44, from /usr/include/qt5/QtWidgets/qtextedit.h:44, from /usr/include/qt5/QtWidgets/QTextEdit:1, from patchcontent.h:11, from moc_patchcontent.cpp:10: /usr/include/qt5/QtWidgets/qsizepolicy.h: In constructor 'constexpr QSizePolicy::QSizePolicy(QSizePolicy::Policy, QSizePolicy::Policy, QSizePolicy::ControlType)': /usr/include/qt5/QtWidgets/qsizepolicy.h:117:22: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:117:43: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:118:36: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:5' may change value [-Wconversion] 118 | type == DefaultType ? 0 : toControlTypeFieldValue(type), 0, 0, 0} | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:132:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 132 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalPolicy(Policy d) noexcept { bits.horPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:133:91: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 133 | Q_DECL_RELAXED_CONSTEXPR void setVerticalPolicy(Policy d) noexcept { bits.verPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:155:95: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 155 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalStretch(int stretchFactor) { bits.horStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/qabstractscrollarea.h:44, from /usr/include/qt5/QtWidgets/qtextedit.h:44, from /usr/include/qt5/QtWidgets/QTextEdit:1, from patchcontent.h:11, from moc_patchcontent.cpp:10: /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:156:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 156 | Q_DECL_RELAXED_CONSTEXPR void setVerticalStretch(int stretchFactor) { bits.verStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qtextdocument.h:47, from /usr/include/qt5/QtWidgets/qtextedit.h:45, from /usr/include/qt5/QtWidgets/QTextEdit:1, from patchcontent.h:11, from moc_patchcontent.cpp:10: /usr/include/qt5/QtCore/qvariant.h: In constructor 'QVariant::Private::Private(uint)': /usr/include/qt5/QtCore/qvariant.h:401:20: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 401 | : type(variantType), is_shared(false), is_null(false) | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qtextedit.h:46, from /usr/include/qt5/QtWidgets/QTextEdit:1, from patchcontent.h:11, from moc_patchcontent.cpp:10: /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setTextDirection(Qt::LayoutDirection)': /usr/include/qt5/QtGui/qtextoption.h:95:86: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:2' may change value [-Wconversion] 95 | inline void setTextDirection(Qt::LayoutDirection aDirection) { this->direction = aDirection; } | ^~~~~~~~~~ /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setWrapMode(QTextOption::WrapMode)': /usr/include/qt5/QtGui/qtextoption.h:105:57: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 105 | inline void setWrapMode(WrapMode wrap) { wordWrap = wrap; } | ^~~~ /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setAlignment(Qt::Alignment)': /usr/include/qt5/QtGui/qtextoption.h:152:11: warning: conversion from 'QFlags::Int' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 152 | { align = aalignment; } | ^~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../src -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o moc_mainimpl.o moc_mainimpl.cpp In file included from /usr/include/qt5/QtGui/qcolor.h:47, from /usr/include/qt5/QtGui/QColor:1, from common.h:10, from mainimpl.h:14, from moc_mainimpl.cpp:10: /usr/include/qt5/QtGui/qrgba64.h: In member function 'constexpr uint QRgba64::toArgb32() const': /usr/include/qt5/QtGui/qrgba64.h:137:14: warning: conversion from 'quint64' {aka 'long long unsigned int'} to 'uint' {aka 'unsigned int'} may change value [-Wconversion] 134 | return ((ag >> 16) & 0xff000000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | | ((br << 16) & 0xff0000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | | (ag & 0xff00) | ~~~~~~~~~~~~~~~~~~~~~~~ 137 | | ((br >> 32) & 0xff); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QVariant:1, from common.h:16, from mainimpl.h:14, from moc_mainimpl.cpp:10: /usr/include/qt5/QtCore/qvariant.h: In constructor 'QVariant::Private::Private(uint)': /usr/include/qt5/QtCore/qvariant.h:401:20: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 401 | : type(variantType), is_shared(false), is_null(false) | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qrect.h:45, from /usr/include/qt5/QtGui/qpaintdevice.h:45, from /usr/include/qt5/QtGui/qpixmap.h:44, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from ui_mainview.h:13, from mainimpl.h:15, from moc_mainimpl.cpp:10: /usr/include/qt5/QtCore/qpoint.h: In member function 'constexpr QPoint& QPoint::operator*=(float)': /usr/include/qt5/QtCore/qpoint.h:157:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h:157:39: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(const QPoint&, float)': /usr/include/qt5/QtCore/qpoint.h:178:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:178:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(float, const QPoint&)': /usr/include/qt5/QtCore/qpoint.h:187:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:187:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ In file included from /usr/include/qt5/QtGui/qimage.h:47, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from ui_mainview.h:13, from mainimpl.h:15, from moc_mainimpl.cpp:10: /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::channelCount() const': /usr/include/qt5/QtGui/qpixelformat.h:183:121: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 179 | Q_DECL_CONSTEXPR inline uchar channelCount() const noexcept { return (get(FirstField, FirstFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 180 | (get(SecondField, SecondFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 181 | (get(ThirdField, ThirdFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 182 | (get(FourthField, FourthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 183 | (get(FifthField, FifthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 184 | (get(AlphaField, AlphaFieldWidth) > 0); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::bitsPerPixel() const': /usr/include/qt5/QtGui/qpixelformat.h:206:115: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 202 | Q_DECL_CONSTEXPR inline uchar bitsPerPixel() const noexcept { return get(FirstField, FirstFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 203 | get(SecondField, SecondFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 204 | get(ThirdField, ThirdFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 205 | get(FourthField, FourthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 206 | get(FifthField, FifthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 207 | get(AlphaField, AlphaFieldWidth); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qaction.h:46, from /usr/include/qt5/QtWidgets/QAction:1, from ui_mainview.h:14, from mainimpl.h:15, from moc_mainimpl.cpp:10: /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt5/QtGui/qpalette.h:107:76: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 107 | inline void setCurrentColorGroup(ColorGroup cg) { data.current_group = cg; } | ^~ /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt5/QtGui/qpalette.h:163:58: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] 163 | inline void resolve(uint mask) { data.resolve_mask = mask; } | ^~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qaction.h:46, from /usr/include/qt5/QtWidgets/QAction:1, from ui_mainview.h:14, from mainimpl.h:15, from moc_mainimpl.cpp:10: /usr/include/qt5/QtWidgets/qsizepolicy.h: In constructor 'constexpr QSizePolicy::QSizePolicy(QSizePolicy::Policy, QSizePolicy::Policy, QSizePolicy::ControlType)': /usr/include/qt5/QtWidgets/qsizepolicy.h:117:22: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:117:43: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:118:36: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:5' may change value [-Wconversion] 118 | type == DefaultType ? 0 : toControlTypeFieldValue(type), 0, 0, 0} | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:132:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 132 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalPolicy(Policy d) noexcept { bits.horPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:133:91: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 133 | Q_DECL_RELAXED_CONSTEXPR void setVerticalPolicy(Policy d) noexcept { bits.verPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:155:95: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 155 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalStretch(int stretchFactor) { bits.horStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qaction.h:46, from /usr/include/qt5/QtWidgets/QAction:1, from ui_mainview.h:14, from mainimpl.h:15, from moc_mainimpl.cpp:10: /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:156:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 156 | Q_DECL_RELAXED_CONSTEXPR void setVerticalStretch(int stretchFactor) { bits.verStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../src -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o moc_git.o moc_git.cpp In file included from /usr/include/qt5/QtGui/qcolor.h:47, from /usr/include/qt5/QtGui/QColor:1, from common.h:10, from git.h:11, from moc_git.cpp:10: /usr/include/qt5/QtGui/qrgba64.h: In member function 'constexpr uint QRgba64::toArgb32() const': /usr/include/qt5/QtGui/qrgba64.h:137:14: warning: conversion from 'quint64' {aka 'long long unsigned int'} to 'uint' {aka 'unsigned int'} may change value [-Wconversion] 134 | return ((ag >> 16) & 0xff000000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | | ((br << 16) & 0xff0000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | | (ag & 0xff00) | ~~~~~~~~~~~~~~~~~~~~~~~ 137 | | ((br >> 32) & 0xff); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QVariant:1, from common.h:16, from git.h:11, from moc_git.cpp:10: /usr/include/qt5/QtCore/qvariant.h: In constructor 'QVariant::Private::Private(uint)': /usr/include/qt5/QtCore/qvariant.h:401:20: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 401 | : type(variantType), is_shared(false), is_null(false) | ^~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../src -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o moc_listview.o moc_listview.cpp In file included from /usr/include/qt5/QtCore/qrect.h:45, from /usr/include/qt5/QtGui/qpaintdevice.h:45, from /usr/include/qt5/QtWidgets/qwidget.h:47, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/qabstractscrollarea.h:44, from /usr/include/qt5/QtWidgets/qabstractitemview.h:44, from /usr/include/qt5/QtWidgets/qtreeview.h:44, from /usr/include/qt5/QtWidgets/QTreeView:1, from listview.h:9, from moc_listview.cpp:10: /usr/include/qt5/QtCore/qpoint.h: In member function 'constexpr QPoint& QPoint::operator*=(float)': /usr/include/qt5/QtCore/qpoint.h:157:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h:157:39: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(const QPoint&, float)': /usr/include/qt5/QtCore/qpoint.h:178:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:178:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(float, const QPoint&)': /usr/include/qt5/QtCore/qpoint.h:187:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:187:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ In file included from /usr/include/qt5/QtGui/qcolor.h:47, from /usr/include/qt5/QtGui/qpalette.h:45, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/qabstractscrollarea.h:44, from /usr/include/qt5/QtWidgets/qabstractitemview.h:44, from /usr/include/qt5/QtWidgets/qtreeview.h:44, from /usr/include/qt5/QtWidgets/QTreeView:1, from listview.h:9, from moc_listview.cpp:10: /usr/include/qt5/QtGui/qrgba64.h: In member function 'constexpr uint QRgba64::toArgb32() const': /usr/include/qt5/QtGui/qrgba64.h:137:14: warning: conversion from 'quint64' {aka 'long long unsigned int'} to 'uint' {aka 'unsigned int'} may change value [-Wconversion] 134 | return ((ag >> 16) & 0xff000000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | | ((br << 16) & 0xff0000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | | (ag & 0xff00) | ~~~~~~~~~~~~~~~~~~~~~~~ 137 | | ((br >> 32) & 0xff); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qimage.h:47, from /usr/include/qt5/QtGui/qbrush.h:51, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/qabstractscrollarea.h:44, from /usr/include/qt5/QtWidgets/qabstractitemview.h:44, from /usr/include/qt5/QtWidgets/qtreeview.h:44, from /usr/include/qt5/QtWidgets/QTreeView:1, from listview.h:9, from moc_listview.cpp:10: /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::channelCount() const': /usr/include/qt5/QtGui/qpixelformat.h:183:121: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 179 | Q_DECL_CONSTEXPR inline uchar channelCount() const noexcept { return (get(FirstField, FirstFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 180 | (get(SecondField, SecondFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 181 | (get(ThirdField, ThirdFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 182 | (get(FourthField, FourthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 183 | (get(FifthField, FifthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 184 | (get(AlphaField, AlphaFieldWidth) > 0); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::bitsPerPixel() const': /usr/include/qt5/QtGui/qpixelformat.h:206:115: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 202 | Q_DECL_CONSTEXPR inline uchar bitsPerPixel() const noexcept { return get(FirstField, FirstFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 203 | get(SecondField, SecondFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 204 | get(ThirdField, ThirdFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 205 | get(FourthField, FourthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 206 | get(FifthField, FifthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 207 | get(AlphaField, AlphaFieldWidth); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/qabstractscrollarea.h:44, from /usr/include/qt5/QtWidgets/qabstractitemview.h:44, from /usr/include/qt5/QtWidgets/qtreeview.h:44, from /usr/include/qt5/QtWidgets/QTreeView:1, from listview.h:9, from moc_listview.cpp:10: /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt5/QtGui/qpalette.h:107:76: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 107 | inline void setCurrentColorGroup(ColorGroup cg) { data.current_group = cg; } | ^~ /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt5/QtGui/qpalette.h:163:58: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] 163 | inline void resolve(uint mask) { data.resolve_mask = mask; } | ^~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/qabstractscrollarea.h:44, from /usr/include/qt5/QtWidgets/qabstractitemview.h:44, from /usr/include/qt5/QtWidgets/qtreeview.h:44, from /usr/include/qt5/QtWidgets/QTreeView:1, from listview.h:9, from moc_listview.cpp:10: /usr/include/qt5/QtWidgets/qsizepolicy.h: In constructor 'constexpr QSizePolicy::QSizePolicy(QSizePolicy::Policy, QSizePolicy::Policy, QSizePolicy::ControlType)': /usr/include/qt5/QtWidgets/qsizepolicy.h:117:22: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:117:43: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:118:36: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:5' may change value [-Wconversion] 118 | type == DefaultType ? 0 : toControlTypeFieldValue(type), 0, 0, 0} | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:132:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 132 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalPolicy(Policy d) noexcept { bits.horPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:133:91: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 133 | Q_DECL_RELAXED_CONSTEXPR void setVerticalPolicy(Policy d) noexcept { bits.verPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:155:95: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 155 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalStretch(int stretchFactor) { bits.horStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/qabstractscrollarea.h:44, from /usr/include/qt5/QtWidgets/qabstractitemview.h:44, from /usr/include/qt5/QtWidgets/qtreeview.h:44, from /usr/include/qt5/QtWidgets/QTreeView:1, from listview.h:9, from moc_listview.cpp:10: /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:156:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 156 | Q_DECL_RELAXED_CONSTEXPR void setVerticalStretch(int stretchFactor) { bits.verStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qabstractitemmodel.h:43, from /usr/include/qt5/QtWidgets/qabstractitemview.h:45, from /usr/include/qt5/QtWidgets/qtreeview.h:44, from /usr/include/qt5/QtWidgets/QTreeView:1, from listview.h:9, from moc_listview.cpp:10: /usr/include/qt5/QtCore/qvariant.h: In constructor 'QVariant::Private::Private(uint)': /usr/include/qt5/QtCore/qvariant.h:401:20: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 401 | : type(variantType), is_shared(false), is_null(false) | ^~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../src -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o moc_patchview.o moc_patchview.cpp In file included from /usr/include/qt5/QtCore/QVariant:1, from ui_patchview.h:12, from patchview.h:10, from moc_patchview.cpp:10: /usr/include/qt5/QtCore/qvariant.h: In constructor 'QVariant::Private::Private(uint)': /usr/include/qt5/QtCore/qvariant.h:401:20: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 401 | : type(variantType), is_shared(false), is_null(false) | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qapplication.h:46, from /usr/include/qt5/QtWidgets/QApplication:1, from ui_patchview.h:13, from patchview.h:10, from moc_patchview.cpp:10: /usr/include/qt5/QtCore/qpoint.h: In member function 'constexpr QPoint& QPoint::operator*=(float)': /usr/include/qt5/QtCore/qpoint.h:157:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h:157:39: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(const QPoint&, float)': /usr/include/qt5/QtCore/qpoint.h:178:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:178:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(float, const QPoint&)': /usr/include/qt5/QtCore/qpoint.h:187:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:187:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ In file included from /usr/include/qt5/QtWidgets/qlayoutitem.h:44, from /usr/include/qt5/QtWidgets/qlayout.h:45, from /usr/include/qt5/QtWidgets/qboxlayout.h:44, from /usr/include/qt5/QtWidgets/QHBoxLayout:1, from ui_patchview.h:14, from patchview.h:10, from moc_patchview.cpp:10: /usr/include/qt5/QtWidgets/qsizepolicy.h: In constructor 'constexpr QSizePolicy::QSizePolicy(QSizePolicy::Policy, QSizePolicy::Policy, QSizePolicy::ControlType)': /usr/include/qt5/QtWidgets/qsizepolicy.h:117:22: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:117:43: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:118:36: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:5' may change value [-Wconversion] 118 | type == DefaultType ? 0 : toControlTypeFieldValue(type), 0, 0, 0} | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:132:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 132 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalPolicy(Policy d) noexcept { bits.horPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:133:91: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 133 | Q_DECL_RELAXED_CONSTEXPR void setVerticalPolicy(Policy d) noexcept { bits.verPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:155:95: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 155 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalStretch(int stretchFactor) { bits.horStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qlayoutitem.h:44, from /usr/include/qt5/QtWidgets/qlayout.h:45, from /usr/include/qt5/QtWidgets/qboxlayout.h:44, from /usr/include/qt5/QtWidgets/QHBoxLayout:1, from ui_patchview.h:14, from patchview.h:10, from moc_patchview.cpp:10: /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:156:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 156 | Q_DECL_RELAXED_CONSTEXPR void setVerticalStretch(int stretchFactor) { bits.verStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qcolor.h:47, from /usr/include/qt5/QtGui/qpalette.h:45, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/qlabel.h:44, from /usr/include/qt5/QtWidgets/QLabel:1, from ui_patchview.h:15, from patchview.h:10, from moc_patchview.cpp:10: /usr/include/qt5/QtGui/qrgba64.h: In member function 'constexpr uint QRgba64::toArgb32() const': /usr/include/qt5/QtGui/qrgba64.h:137:14: warning: conversion from 'quint64' {aka 'long long unsigned int'} to 'uint' {aka 'unsigned int'} may change value [-Wconversion] 134 | return ((ag >> 16) & 0xff000000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | | ((br << 16) & 0xff0000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | | (ag & 0xff00) | ~~~~~~~~~~~~~~~~~~~~~~~ 137 | | ((br >> 32) & 0xff); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qimage.h:47, from /usr/include/qt5/QtGui/qbrush.h:51, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/qlabel.h:44, from /usr/include/qt5/QtWidgets/QLabel:1, from ui_patchview.h:15, from patchview.h:10, from moc_patchview.cpp:10: /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::channelCount() const': /usr/include/qt5/QtGui/qpixelformat.h:183:121: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 179 | Q_DECL_CONSTEXPR inline uchar channelCount() const noexcept { return (get(FirstField, FirstFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 180 | (get(SecondField, SecondFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 181 | (get(ThirdField, ThirdFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 182 | (get(FourthField, FourthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 183 | (get(FifthField, FifthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 184 | (get(AlphaField, AlphaFieldWidth) > 0); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::bitsPerPixel() const': /usr/include/qt5/QtGui/qpixelformat.h:206:115: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 202 | Q_DECL_CONSTEXPR inline uchar bitsPerPixel() const noexcept { return get(FirstField, FirstFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 203 | get(SecondField, SecondFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 204 | get(ThirdField, ThirdFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 205 | get(FourthField, FourthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 206 | get(FifthField, FifthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 207 | get(AlphaField, AlphaFieldWidth); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/qlabel.h:44, from /usr/include/qt5/QtWidgets/QLabel:1, from ui_patchview.h:15, from patchview.h:10, from moc_patchview.cpp:10: /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt5/QtGui/qpalette.h:107:76: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 107 | inline void setCurrentColorGroup(ColorGroup cg) { data.current_group = cg; } | ^~ /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt5/QtGui/qpalette.h:163:58: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] 163 | inline void resolve(uint mask) { data.resolve_mask = mask; } | ^~~~ In file included from /usr/include/qt5/QtGui/qtextformat.h:51, from /usr/include/qt5/QtGui/qtextcursor.h:46, from /usr/include/qt5/QtWidgets/qlineedit.h:45, from /usr/include/qt5/QtWidgets/QLineEdit:1, from ui_patchview.h:16, from patchview.h:10, from moc_patchview.cpp:10: /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setTextDirection(Qt::LayoutDirection)': /usr/include/qt5/QtGui/qtextoption.h:95:86: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:2' may change value [-Wconversion] 95 | inline void setTextDirection(Qt::LayoutDirection aDirection) { this->direction = aDirection; } | ^~~~~~~~~~ /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setWrapMode(QTextOption::WrapMode)': /usr/include/qt5/QtGui/qtextoption.h:105:57: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 105 | inline void setWrapMode(WrapMode wrap) { wordWrap = wrap; } | ^~~~ /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setAlignment(Qt::Alignment)': /usr/include/qt5/QtGui/qtextoption.h:152:11: warning: conversion from 'QFlags::Int' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 152 | { align = aalignment; } | ^~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../src -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o moc_rangeselectimpl.o moc_rangeselectimpl.cpp In file included from /usr/include/qt5/QtCore/QVariant:1, from ui_rangeselect.h:12, from rangeselectimpl.h:10, from moc_rangeselectimpl.cpp:10: /usr/include/qt5/QtCore/qvariant.h: In constructor 'QVariant::Private::Private(uint)': /usr/include/qt5/QtCore/qvariant.h:401:20: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 401 | : type(variantType), is_shared(false), is_null(false) | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qrect.h:45, from /usr/include/qt5/QtGui/qpaintdevice.h:45, from /usr/include/qt5/QtGui/qpixmap.h:44, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from ui_rangeselect.h:13, from rangeselectimpl.h:10, from moc_rangeselectimpl.cpp:10: /usr/include/qt5/QtCore/qpoint.h: In member function 'constexpr QPoint& QPoint::operator*=(float)': /usr/include/qt5/QtCore/qpoint.h:157:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h:157:39: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(const QPoint&, float)': /usr/include/qt5/QtCore/qpoint.h:178:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:178:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(float, const QPoint&)': /usr/include/qt5/QtCore/qpoint.h:187:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:187:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ In file included from /usr/include/qt5/QtGui/qcolor.h:47, from /usr/include/qt5/QtGui/qpixmap.h:45, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from ui_rangeselect.h:13, from rangeselectimpl.h:10, from moc_rangeselectimpl.cpp:10: /usr/include/qt5/QtGui/qrgba64.h: In member function 'constexpr uint QRgba64::toArgb32() const': /usr/include/qt5/QtGui/qrgba64.h:137:14: warning: conversion from 'quint64' {aka 'long long unsigned int'} to 'uint' {aka 'unsigned int'} may change value [-Wconversion] 134 | return ((ag >> 16) & 0xff000000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | | ((br << 16) & 0xff0000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | | (ag & 0xff00) | ~~~~~~~~~~~~~~~~~~~~~~~ 137 | | ((br >> 32) & 0xff); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qimage.h:47, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from ui_rangeselect.h:13, from rangeselectimpl.h:10, from moc_rangeselectimpl.cpp:10: /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::channelCount() const': /usr/include/qt5/QtGui/qpixelformat.h:183:121: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 179 | Q_DECL_CONSTEXPR inline uchar channelCount() const noexcept { return (get(FirstField, FirstFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 180 | (get(SecondField, SecondFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 181 | (get(ThirdField, ThirdFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 182 | (get(FourthField, FourthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 183 | (get(FifthField, FifthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 184 | (get(AlphaField, AlphaFieldWidth) > 0); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::bitsPerPixel() const': /usr/include/qt5/QtGui/qpixelformat.h:206:115: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 202 | Q_DECL_CONSTEXPR inline uchar bitsPerPixel() const noexcept { return get(FirstField, FirstFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 203 | get(SecondField, SecondFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 204 | get(ThirdField, ThirdFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 205 | get(FourthField, FourthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 206 | get(FifthField, FifthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 207 | get(AlphaField, AlphaFieldWidth); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qabstractbutton.h:46, from /usr/include/qt5/QtWidgets/qcheckbox.h:44, from /usr/include/qt5/QtWidgets/QCheckBox:1, from ui_rangeselect.h:15, from rangeselectimpl.h:10, from moc_rangeselectimpl.cpp:10: /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt5/QtGui/qpalette.h:107:76: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 107 | inline void setCurrentColorGroup(ColorGroup cg) { data.current_group = cg; } | ^~ /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt5/QtGui/qpalette.h:163:58: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] 163 | inline void resolve(uint mask) { data.resolve_mask = mask; } | ^~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qabstractbutton.h:46, from /usr/include/qt5/QtWidgets/qcheckbox.h:44, from /usr/include/qt5/QtWidgets/QCheckBox:1, from ui_rangeselect.h:15, from rangeselectimpl.h:10, from moc_rangeselectimpl.cpp:10: /usr/include/qt5/QtWidgets/qsizepolicy.h: In constructor 'constexpr QSizePolicy::QSizePolicy(QSizePolicy::Policy, QSizePolicy::Policy, QSizePolicy::ControlType)': /usr/include/qt5/QtWidgets/qsizepolicy.h:117:22: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:117:43: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:118:36: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:5' may change value [-Wconversion] 118 | type == DefaultType ? 0 : toControlTypeFieldValue(type), 0, 0, 0} | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:132:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 132 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalPolicy(Policy d) noexcept { bits.horPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:133:91: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 133 | Q_DECL_RELAXED_CONSTEXPR void setVerticalPolicy(Policy d) noexcept { bits.verPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:155:95: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 155 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalStretch(int stretchFactor) { bits.horStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qabstractbutton.h:46, from /usr/include/qt5/QtWidgets/qcheckbox.h:44, from /usr/include/qt5/QtWidgets/QCheckBox:1, from ui_rangeselect.h:15, from rangeselectimpl.h:10, from moc_rangeselectimpl.cpp:10: /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:156:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 156 | Q_DECL_RELAXED_CONSTEXPR void setVerticalStretch(int stretchFactor) { bits.verStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qtextformat.h:51, from /usr/include/qt5/QtGui/qtextcursor.h:46, from /usr/include/qt5/QtWidgets/qlineedit.h:45, from /usr/include/qt5/QtWidgets/QLineEdit:1, from ui_rangeselect.h:22, from rangeselectimpl.h:10, from moc_rangeselectimpl.cpp:10: /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setTextDirection(Qt::LayoutDirection)': /usr/include/qt5/QtGui/qtextoption.h:95:86: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:2' may change value [-Wconversion] 95 | inline void setTextDirection(Qt::LayoutDirection aDirection) { this->direction = aDirection; } | ^~~~~~~~~~ /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setWrapMode(QTextOption::WrapMode)': /usr/include/qt5/QtGui/qtextoption.h:105:57: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 105 | inline void setWrapMode(WrapMode wrap) { wordWrap = wrap; } | ^~~~ /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setAlignment(Qt::Alignment)': /usr/include/qt5/QtGui/qtextoption.h:152:11: warning: conversion from 'QFlags::Int' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 152 | { align = aalignment; } | ^~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../src -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o moc_revsview.o moc_revsview.cpp In file included from /usr/include/qt5/QtCore/QVariant:1, from ui_revsview.h:12, from revsview.h:11, from moc_revsview.cpp:10: /usr/include/qt5/QtCore/qvariant.h: In constructor 'QVariant::Private::Private(uint)': /usr/include/qt5/QtCore/qvariant.h:401:20: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 401 | : type(variantType), is_shared(false), is_null(false) | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qapplication.h:46, from /usr/include/qt5/QtWidgets/QApplication:1, from ui_revsview.h:13, from revsview.h:11, from moc_revsview.cpp:10: /usr/include/qt5/QtCore/qpoint.h: In member function 'constexpr QPoint& QPoint::operator*=(float)': /usr/include/qt5/QtCore/qpoint.h:157:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h:157:39: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(const QPoint&, float)': /usr/include/qt5/QtCore/qpoint.h:178:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:178:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(float, const QPoint&)': /usr/include/qt5/QtCore/qpoint.h:187:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:187:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ In file included from /usr/include/qt5/QtWidgets/qlayoutitem.h:44, from /usr/include/qt5/QtWidgets/qlayout.h:45, from /usr/include/qt5/QtWidgets/qboxlayout.h:44, from /usr/include/qt5/QtWidgets/QHBoxLayout:1, from ui_revsview.h:14, from revsview.h:11, from moc_revsview.cpp:10: /usr/include/qt5/QtWidgets/qsizepolicy.h: In constructor 'constexpr QSizePolicy::QSizePolicy(QSizePolicy::Policy, QSizePolicy::Policy, QSizePolicy::ControlType)': /usr/include/qt5/QtWidgets/qsizepolicy.h:117:22: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:117:43: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:118:36: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:5' may change value [-Wconversion] 118 | type == DefaultType ? 0 : toControlTypeFieldValue(type), 0, 0, 0} | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:132:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 132 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalPolicy(Policy d) noexcept { bits.horPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:133:91: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 133 | Q_DECL_RELAXED_CONSTEXPR void setVerticalPolicy(Policy d) noexcept { bits.verPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:155:95: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 155 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalStretch(int stretchFactor) { bits.horStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qlayoutitem.h:44, from /usr/include/qt5/QtWidgets/qlayout.h:45, from /usr/include/qt5/QtWidgets/qboxlayout.h:44, from /usr/include/qt5/QtWidgets/QHBoxLayout:1, from ui_revsview.h:14, from revsview.h:11, from moc_revsview.cpp:10: /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:156:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 156 | Q_DECL_RELAXED_CONSTEXPR void setVerticalStretch(int stretchFactor) { bits.verStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qcolor.h:47, from /usr/include/qt5/QtGui/qpalette.h:45, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/qabstractscrollarea.h:44, from /usr/include/qt5/QtWidgets/qabstractitemview.h:44, from /usr/include/qt5/QtWidgets/qheaderview.h:44, from /usr/include/qt5/QtWidgets/QHeaderView:1, from ui_revsview.h:15, from revsview.h:11, from moc_revsview.cpp:10: /usr/include/qt5/QtGui/qrgba64.h: In member function 'constexpr uint QRgba64::toArgb32() const': /usr/include/qt5/QtGui/qrgba64.h:137:14: warning: conversion from 'quint64' {aka 'long long unsigned int'} to 'uint' {aka 'unsigned int'} may change value [-Wconversion] 134 | return ((ag >> 16) & 0xff000000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | | ((br << 16) & 0xff0000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | | (ag & 0xff00) | ~~~~~~~~~~~~~~~~~~~~~~~ 137 | | ((br >> 32) & 0xff); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qimage.h:47, from /usr/include/qt5/QtGui/qbrush.h:51, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/qabstractscrollarea.h:44, from /usr/include/qt5/QtWidgets/qabstractitemview.h:44, from /usr/include/qt5/QtWidgets/qheaderview.h:44, from /usr/include/qt5/QtWidgets/QHeaderView:1, from ui_revsview.h:15, from revsview.h:11, from moc_revsview.cpp:10: /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::channelCount() const': /usr/include/qt5/QtGui/qpixelformat.h:183:121: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 179 | Q_DECL_CONSTEXPR inline uchar channelCount() const noexcept { return (get(FirstField, FirstFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 180 | (get(SecondField, SecondFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 181 | (get(ThirdField, ThirdFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 182 | (get(FourthField, FourthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 183 | (get(FifthField, FifthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 184 | (get(AlphaField, AlphaFieldWidth) > 0); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::bitsPerPixel() const': /usr/include/qt5/QtGui/qpixelformat.h:206:115: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 202 | Q_DECL_CONSTEXPR inline uchar bitsPerPixel() const noexcept { return get(FirstField, FirstFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 203 | get(SecondField, SecondFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 204 | get(ThirdField, ThirdFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 205 | get(FourthField, FourthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 206 | get(FifthField, FifthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 207 | get(AlphaField, AlphaFieldWidth); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/qabstractscrollarea.h:44, from /usr/include/qt5/QtWidgets/qabstractitemview.h:44, from /usr/include/qt5/QtWidgets/qheaderview.h:44, from /usr/include/qt5/QtWidgets/QHeaderView:1, from ui_revsview.h:15, from revsview.h:11, from moc_revsview.cpp:10: /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt5/QtGui/qpalette.h:107:76: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 107 | inline void setCurrentColorGroup(ColorGroup cg) { data.current_group = cg; } | ^~ /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt5/QtGui/qpalette.h:163:58: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] 163 | inline void resolve(uint mask) { data.resolve_mask = mask; } | ^~~~ In file included from /usr/include/qt5/QtWidgets/qtextedit.h:46, from /usr/include/qt5/QtWidgets/QTextEdit:1, from patchcontent.h:11, from ui_revsview.h:23, from revsview.h:11, from moc_revsview.cpp:10: /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setTextDirection(Qt::LayoutDirection)': /usr/include/qt5/QtGui/qtextoption.h:95:86: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:2' may change value [-Wconversion] 95 | inline void setTextDirection(Qt::LayoutDirection aDirection) { this->direction = aDirection; } | ^~~~~~~~~~ /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setWrapMode(QTextOption::WrapMode)': /usr/include/qt5/QtGui/qtextoption.h:105:57: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 105 | inline void setWrapMode(WrapMode wrap) { wordWrap = wrap; } | ^~~~ /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setAlignment(Qt::Alignment)': /usr/include/qt5/QtGui/qtextoption.h:152:11: warning: conversion from 'QFlags::Int' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 152 | { align = aalignment; } | ^~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../src -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o moc_settingsimpl.o moc_settingsimpl.cpp In file included from /usr/include/qt5/QtCore/QVariant:1, from ui_settings.h:12, from settingsimpl.h:10, from moc_settingsimpl.cpp:10: /usr/include/qt5/QtCore/qvariant.h: In constructor 'QVariant::Private::Private(uint)': /usr/include/qt5/QtCore/qvariant.h:401:20: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 401 | : type(variantType), is_shared(false), is_null(false) | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qrect.h:45, from /usr/include/qt5/QtGui/qpaintdevice.h:45, from /usr/include/qt5/QtGui/qpixmap.h:44, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from ui_settings.h:13, from settingsimpl.h:10, from moc_settingsimpl.cpp:10: /usr/include/qt5/QtCore/qpoint.h: In member function 'constexpr QPoint& QPoint::operator*=(float)': /usr/include/qt5/QtCore/qpoint.h:157:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h:157:39: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(const QPoint&, float)': /usr/include/qt5/QtCore/qpoint.h:178:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:178:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(float, const QPoint&)': /usr/include/qt5/QtCore/qpoint.h:187:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:187:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ In file included from /usr/include/qt5/QtGui/qcolor.h:47, from /usr/include/qt5/QtGui/qpixmap.h:45, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from ui_settings.h:13, from settingsimpl.h:10, from moc_settingsimpl.cpp:10: /usr/include/qt5/QtGui/qrgba64.h: In member function 'constexpr uint QRgba64::toArgb32() const': /usr/include/qt5/QtGui/qrgba64.h:137:14: warning: conversion from 'quint64' {aka 'long long unsigned int'} to 'uint' {aka 'unsigned int'} may change value [-Wconversion] 134 | return ((ag >> 16) & 0xff000000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | | ((br << 16) & 0xff0000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | | (ag & 0xff00) | ~~~~~~~~~~~~~~~~~~~~~~~ 137 | | ((br >> 32) & 0xff); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qimage.h:47, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from ui_settings.h:13, from settingsimpl.h:10, from moc_settingsimpl.cpp:10: /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::channelCount() const': /usr/include/qt5/QtGui/qpixelformat.h:183:121: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 179 | Q_DECL_CONSTEXPR inline uchar channelCount() const noexcept { return (get(FirstField, FirstFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 180 | (get(SecondField, SecondFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 181 | (get(ThirdField, ThirdFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 182 | (get(FourthField, FourthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 183 | (get(FifthField, FifthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 184 | (get(AlphaField, AlphaFieldWidth) > 0); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::bitsPerPixel() const': /usr/include/qt5/QtGui/qpixelformat.h:206:115: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 202 | Q_DECL_CONSTEXPR inline uchar bitsPerPixel() const noexcept { return get(FirstField, FirstFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 203 | get(SecondField, SecondFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 204 | get(ThirdField, ThirdFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 205 | get(FourthField, FourthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 206 | get(FifthField, FifthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 207 | get(AlphaField, AlphaFieldWidth); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qabstractbutton.h:46, from /usr/include/qt5/QtWidgets/qcheckbox.h:44, from /usr/include/qt5/QtWidgets/QCheckBox:1, from ui_settings.h:15, from settingsimpl.h:10, from moc_settingsimpl.cpp:10: /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt5/QtGui/qpalette.h:107:76: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 107 | inline void setCurrentColorGroup(ColorGroup cg) { data.current_group = cg; } | ^~ /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt5/QtGui/qpalette.h:163:58: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] 163 | inline void resolve(uint mask) { data.resolve_mask = mask; } | ^~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qabstractbutton.h:46, from /usr/include/qt5/QtWidgets/qcheckbox.h:44, from /usr/include/qt5/QtWidgets/QCheckBox:1, from ui_settings.h:15, from settingsimpl.h:10, from moc_settingsimpl.cpp:10: /usr/include/qt5/QtWidgets/qsizepolicy.h: In constructor 'constexpr QSizePolicy::QSizePolicy(QSizePolicy::Policy, QSizePolicy::Policy, QSizePolicy::ControlType)': /usr/include/qt5/QtWidgets/qsizepolicy.h:117:22: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:117:43: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:118:36: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:5' may change value [-Wconversion] 118 | type == DefaultType ? 0 : toControlTypeFieldValue(type), 0, 0, 0} | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:132:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 132 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalPolicy(Policy d) noexcept { bits.horPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:133:91: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 133 | Q_DECL_RELAXED_CONSTEXPR void setVerticalPolicy(Policy d) noexcept { bits.verPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:155:95: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 155 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalStretch(int stretchFactor) { bits.horStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qabstractbutton.h:46, from /usr/include/qt5/QtWidgets/qcheckbox.h:44, from /usr/include/qt5/QtWidgets/QCheckBox:1, from ui_settings.h:15, from settingsimpl.h:10, from moc_settingsimpl.cpp:10: /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:156:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 156 | Q_DECL_RELAXED_CONSTEXPR void setVerticalStretch(int stretchFactor) { bits.verStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qtextformat.h:51, from /usr/include/qt5/QtGui/qtextcursor.h:46, from /usr/include/qt5/QtWidgets/qlineedit.h:45, from /usr/include/qt5/QtWidgets/QLineEdit:1, from ui_settings.h:24, from settingsimpl.h:10, from moc_settingsimpl.cpp:10: /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setTextDirection(Qt::LayoutDirection)': /usr/include/qt5/QtGui/qtextoption.h:95:86: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:2' may change value [-Wconversion] 95 | inline void setTextDirection(Qt::LayoutDirection aDirection) { this->direction = aDirection; } | ^~~~~~~~~~ /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setWrapMode(QTextOption::WrapMode)': /usr/include/qt5/QtGui/qtextoption.h:105:57: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 105 | inline void setWrapMode(WrapMode wrap) { wordWrap = wrap; } | ^~~~ /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setAlignment(Qt::Alignment)': /usr/include/qt5/QtGui/qtextoption.h:152:11: warning: conversion from 'QFlags::Int' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 152 | { align = aalignment; } | ^~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../src -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o moc_revdesc.o moc_revdesc.cpp In file included from /usr/include/qt5/QtCore/qrect.h:45, from /usr/include/qt5/QtGui/qpaintdevice.h:45, from /usr/include/qt5/QtWidgets/qwidget.h:47, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/qabstractscrollarea.h:44, from /usr/include/qt5/QtWidgets/qtextedit.h:44, from /usr/include/qt5/QtWidgets/qtextbrowser.h:44, from /usr/include/qt5/QtWidgets/QTextBrowser:1, from revdesc.h:9, from moc_revdesc.cpp:10: /usr/include/qt5/QtCore/qpoint.h: In member function 'constexpr QPoint& QPoint::operator*=(float)': /usr/include/qt5/QtCore/qpoint.h:157:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h:157:39: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(const QPoint&, float)': /usr/include/qt5/QtCore/qpoint.h:178:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:178:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(float, const QPoint&)': /usr/include/qt5/QtCore/qpoint.h:187:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:187:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ In file included from /usr/include/qt5/QtGui/qcolor.h:47, from /usr/include/qt5/QtGui/qpalette.h:45, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/qabstractscrollarea.h:44, from /usr/include/qt5/QtWidgets/qtextedit.h:44, from /usr/include/qt5/QtWidgets/qtextbrowser.h:44, from /usr/include/qt5/QtWidgets/QTextBrowser:1, from revdesc.h:9, from moc_revdesc.cpp:10: /usr/include/qt5/QtGui/qrgba64.h: In member function 'constexpr uint QRgba64::toArgb32() const': /usr/include/qt5/QtGui/qrgba64.h:137:14: warning: conversion from 'quint64' {aka 'long long unsigned int'} to 'uint' {aka 'unsigned int'} may change value [-Wconversion] 134 | return ((ag >> 16) & 0xff000000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | | ((br << 16) & 0xff0000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | | (ag & 0xff00) | ~~~~~~~~~~~~~~~~~~~~~~~ 137 | | ((br >> 32) & 0xff); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qimage.h:47, from /usr/include/qt5/QtGui/qbrush.h:51, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/qabstractscrollarea.h:44, from /usr/include/qt5/QtWidgets/qtextedit.h:44, from /usr/include/qt5/QtWidgets/qtextbrowser.h:44, from /usr/include/qt5/QtWidgets/QTextBrowser:1, from revdesc.h:9, from moc_revdesc.cpp:10: /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::channelCount() const': /usr/include/qt5/QtGui/qpixelformat.h:183:121: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 179 | Q_DECL_CONSTEXPR inline uchar channelCount() const noexcept { return (get(FirstField, FirstFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 180 | (get(SecondField, SecondFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 181 | (get(ThirdField, ThirdFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 182 | (get(FourthField, FourthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 183 | (get(FifthField, FifthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 184 | (get(AlphaField, AlphaFieldWidth) > 0); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::bitsPerPixel() const': /usr/include/qt5/QtGui/qpixelformat.h:206:115: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 202 | Q_DECL_CONSTEXPR inline uchar bitsPerPixel() const noexcept { return get(FirstField, FirstFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 203 | get(SecondField, SecondFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 204 | get(ThirdField, ThirdFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 205 | get(FourthField, FourthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 206 | get(FifthField, FifthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 207 | get(AlphaField, AlphaFieldWidth); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/qabstractscrollarea.h:44, from /usr/include/qt5/QtWidgets/qtextedit.h:44, from /usr/include/qt5/QtWidgets/qtextbrowser.h:44, from /usr/include/qt5/QtWidgets/QTextBrowser:1, from revdesc.h:9, from moc_revdesc.cpp:10: /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt5/QtGui/qpalette.h:107:76: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 107 | inline void setCurrentColorGroup(ColorGroup cg) { data.current_group = cg; } | ^~ /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt5/QtGui/qpalette.h:163:58: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] 163 | inline void resolve(uint mask) { data.resolve_mask = mask; } | ^~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/qabstractscrollarea.h:44, from /usr/include/qt5/QtWidgets/qtextedit.h:44, from /usr/include/qt5/QtWidgets/qtextbrowser.h:44, from /usr/include/qt5/QtWidgets/QTextBrowser:1, from revdesc.h:9, from moc_revdesc.cpp:10: /usr/include/qt5/QtWidgets/qsizepolicy.h: In constructor 'constexpr QSizePolicy::QSizePolicy(QSizePolicy::Policy, QSizePolicy::Policy, QSizePolicy::ControlType)': /usr/include/qt5/QtWidgets/qsizepolicy.h:117:22: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:117:43: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:118:36: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:5' may change value [-Wconversion] 118 | type == DefaultType ? 0 : toControlTypeFieldValue(type), 0, 0, 0} | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:132:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 132 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalPolicy(Policy d) noexcept { bits.horPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:133:91: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 133 | Q_DECL_RELAXED_CONSTEXPR void setVerticalPolicy(Policy d) noexcept { bits.verPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:155:95: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 155 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalStretch(int stretchFactor) { bits.horStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/qabstractscrollarea.h:44, from /usr/include/qt5/QtWidgets/qtextedit.h:44, from /usr/include/qt5/QtWidgets/qtextbrowser.h:44, from /usr/include/qt5/QtWidgets/QTextBrowser:1, from revdesc.h:9, from moc_revdesc.cpp:10: /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:156:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 156 | Q_DECL_RELAXED_CONSTEXPR void setVerticalStretch(int stretchFactor) { bits.verStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qtextdocument.h:47, from /usr/include/qt5/QtWidgets/qtextedit.h:45, from /usr/include/qt5/QtWidgets/qtextbrowser.h:44, from /usr/include/qt5/QtWidgets/QTextBrowser:1, from revdesc.h:9, from moc_revdesc.cpp:10: /usr/include/qt5/QtCore/qvariant.h: In constructor 'QVariant::Private::Private(uint)': /usr/include/qt5/QtCore/qvariant.h:401:20: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 401 | : type(variantType), is_shared(false), is_null(false) | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qtextedit.h:46, from /usr/include/qt5/QtWidgets/qtextbrowser.h:44, from /usr/include/qt5/QtWidgets/QTextBrowser:1, from revdesc.h:9, from moc_revdesc.cpp:10: /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setTextDirection(Qt::LayoutDirection)': /usr/include/qt5/QtGui/qtextoption.h:95:86: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:2' may change value [-Wconversion] 95 | inline void setTextDirection(Qt::LayoutDirection aDirection) { this->direction = aDirection; } | ^~~~~~~~~~ /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setWrapMode(QTextOption::WrapMode)': /usr/include/qt5/QtGui/qtextoption.h:105:57: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 105 | inline void setWrapMode(WrapMode wrap) { wordWrap = wrap; } | ^~~~ /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setAlignment(Qt::Alignment)': /usr/include/qt5/QtGui/qtextoption.h:152:11: warning: conversion from 'QFlags::Int' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 152 | { align = aalignment; } | ^~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../src -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o moc_smartbrowse.o moc_smartbrowse.cpp In file included from /usr/include/qt5/QtCore/qrect.h:45, from /usr/include/qt5/QtGui/qpaintdevice.h:45, from /usr/include/qt5/QtWidgets/qwidget.h:47, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/qlabel.h:44, from /usr/include/qt5/QtWidgets/QLabel:1, from smartbrowse.h:10, from moc_smartbrowse.cpp:10: /usr/include/qt5/QtCore/qpoint.h: In member function 'constexpr QPoint& QPoint::operator*=(float)': /usr/include/qt5/QtCore/qpoint.h:157:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h:157:39: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(const QPoint&, float)': /usr/include/qt5/QtCore/qpoint.h:178:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:178:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(float, const QPoint&)': /usr/include/qt5/QtCore/qpoint.h:187:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:187:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ In file included from /usr/include/qt5/QtGui/qcolor.h:47, from /usr/include/qt5/QtGui/qpalette.h:45, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/qlabel.h:44, from /usr/include/qt5/QtWidgets/QLabel:1, from smartbrowse.h:10, from moc_smartbrowse.cpp:10: /usr/include/qt5/QtGui/qrgba64.h: In member function 'constexpr uint QRgba64::toArgb32() const': /usr/include/qt5/QtGui/qrgba64.h:137:14: warning: conversion from 'quint64' {aka 'long long unsigned int'} to 'uint' {aka 'unsigned int'} may change value [-Wconversion] 134 | return ((ag >> 16) & 0xff000000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | | ((br << 16) & 0xff0000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | | (ag & 0xff00) | ~~~~~~~~~~~~~~~~~~~~~~~ 137 | | ((br >> 32) & 0xff); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qimage.h:47, from /usr/include/qt5/QtGui/qbrush.h:51, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/qlabel.h:44, from /usr/include/qt5/QtWidgets/QLabel:1, from smartbrowse.h:10, from moc_smartbrowse.cpp:10: /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::channelCount() const': /usr/include/qt5/QtGui/qpixelformat.h:183:121: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 179 | Q_DECL_CONSTEXPR inline uchar channelCount() const noexcept { return (get(FirstField, FirstFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 180 | (get(SecondField, SecondFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 181 | (get(ThirdField, ThirdFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 182 | (get(FourthField, FourthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 183 | (get(FifthField, FifthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 184 | (get(AlphaField, AlphaFieldWidth) > 0); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::bitsPerPixel() const': /usr/include/qt5/QtGui/qpixelformat.h:206:115: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 202 | Q_DECL_CONSTEXPR inline uchar bitsPerPixel() const noexcept { return get(FirstField, FirstFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 203 | get(SecondField, SecondFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 204 | get(ThirdField, ThirdFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 205 | get(FourthField, FourthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 206 | get(FifthField, FifthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 207 | get(AlphaField, AlphaFieldWidth); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/qlabel.h:44, from /usr/include/qt5/QtWidgets/QLabel:1, from smartbrowse.h:10, from moc_smartbrowse.cpp:10: /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt5/QtGui/qpalette.h:107:76: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 107 | inline void setCurrentColorGroup(ColorGroup cg) { data.current_group = cg; } | ^~ /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt5/QtGui/qpalette.h:163:58: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] 163 | inline void resolve(uint mask) { data.resolve_mask = mask; } | ^~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/qlabel.h:44, from /usr/include/qt5/QtWidgets/QLabel:1, from smartbrowse.h:10, from moc_smartbrowse.cpp:10: /usr/include/qt5/QtWidgets/qsizepolicy.h: In constructor 'constexpr QSizePolicy::QSizePolicy(QSizePolicy::Policy, QSizePolicy::Policy, QSizePolicy::ControlType)': /usr/include/qt5/QtWidgets/qsizepolicy.h:117:22: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:117:43: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:118:36: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:5' may change value [-Wconversion] 118 | type == DefaultType ? 0 : toControlTypeFieldValue(type), 0, 0, 0} | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:132:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 132 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalPolicy(Policy d) noexcept { bits.horPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:133:91: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 133 | Q_DECL_RELAXED_CONSTEXPR void setVerticalPolicy(Policy d) noexcept { bits.verPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:155:95: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 155 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalStretch(int stretchFactor) { bits.horStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/qlabel.h:44, from /usr/include/qt5/QtWidgets/QLabel:1, from smartbrowse.h:10, from moc_smartbrowse.cpp:10: /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:156:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 156 | Q_DECL_RELAXED_CONSTEXPR void setVerticalStretch(int stretchFactor) { bits.verStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QVariant:1, from ui_revsview.h:12, from revsview.h:11, from smartbrowse.h:12, from moc_smartbrowse.cpp:10: /usr/include/qt5/QtCore/qvariant.h: In constructor 'QVariant::Private::Private(uint)': /usr/include/qt5/QtCore/qvariant.h:401:20: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 401 | : type(variantType), is_shared(false), is_null(false) | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qtextedit.h:46, from /usr/include/qt5/QtWidgets/QTextEdit:1, from patchcontent.h:11, from ui_revsview.h:23, from revsview.h:11, from smartbrowse.h:12, from moc_smartbrowse.cpp:10: /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setTextDirection(Qt::LayoutDirection)': /usr/include/qt5/QtGui/qtextoption.h:95:86: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:2' may change value [-Wconversion] 95 | inline void setTextDirection(Qt::LayoutDirection aDirection) { this->direction = aDirection; } | ^~~~~~~~~~ /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setWrapMode(QTextOption::WrapMode)': /usr/include/qt5/QtGui/qtextoption.h:105:57: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 105 | inline void setWrapMode(WrapMode wrap) { wordWrap = wrap; } | ^~~~ /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setAlignment(Qt::Alignment)': /usr/include/qt5/QtGui/qtextoption.h:152:11: warning: conversion from 'QFlags::Int' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 152 | { align = aalignment; } | ^~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../src -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o moc_FileHistory.o moc_FileHistory.cpp In file included from /usr/include/qt5/QtCore/qabstractitemmodel.h:43, from /usr/include/qt5/QtCore/QAbstractItemModel:1, from FileHistory.h:13, from moc_FileHistory.cpp:10: /usr/include/qt5/QtCore/qvariant.h: In constructor 'QVariant::Private::Private(uint)': /usr/include/qt5/QtCore/qvariant.h:401:20: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 401 | : type(variantType), is_shared(false), is_null(false) | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qcolor.h:47, from /usr/include/qt5/QtGui/QColor:1, from common.h:10, from FileHistory.h:14, from moc_FileHistory.cpp:10: /usr/include/qt5/QtGui/qrgba64.h: In member function 'constexpr uint QRgba64::toArgb32() const': /usr/include/qt5/QtGui/qrgba64.h:137:14: warning: conversion from 'quint64' {aka 'long long unsigned int'} to 'uint' {aka 'unsigned int'} may change value [-Wconversion] 134 | return ((ag >> 16) & 0xff000000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | | ((br << 16) & 0xff0000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | | (ag & 0xff00) | ~~~~~~~~~~~~~~~~~~~~~~~ 137 | | ((br >> 32) & 0xff); | ^~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../src -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o moc_treeview.o moc_treeview.cpp In file included from /usr/include/qt5/QtCore/qrect.h:45, from /usr/include/qt5/QtGui/qpaintdevice.h:45, from /usr/include/qt5/QtWidgets/qwidget.h:47, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/qabstractscrollarea.h:44, from /usr/include/qt5/QtWidgets/qabstractitemview.h:44, from /usr/include/qt5/QtWidgets/qtreeview.h:44, from /usr/include/qt5/QtWidgets/qtreewidget.h:44, from /usr/include/qt5/QtWidgets/QTreeWidget:1, from treeview.h:12, from moc_treeview.cpp:10: /usr/include/qt5/QtCore/qpoint.h: In member function 'constexpr QPoint& QPoint::operator*=(float)': /usr/include/qt5/QtCore/qpoint.h:157:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h:157:39: warning: conversion from 'int' to 'float' may change value [-Wconversion] 157 | { xp = qRound(xp*factor); yp = qRound(yp*factor); return *this; } | ^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(const QPoint&, float)': /usr/include/qt5/QtCore/qpoint.h:178:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:178:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 178 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h: In function 'constexpr const QPoint operator*(float, const QPoint&)': /usr/include/qt5/QtCore/qpoint.h:187:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ /usr/include/qt5/QtCore/qpoint.h:187:47: warning: conversion from 'int' to 'float' may change value [-Wconversion] 187 | { return QPoint(qRound(p.xp*factor), qRound(p.yp*factor)); } | ~~^~ In file included from /usr/include/qt5/QtGui/qcolor.h:47, from /usr/include/qt5/QtGui/qpalette.h:45, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/qabstractscrollarea.h:44, from /usr/include/qt5/QtWidgets/qabstractitemview.h:44, from /usr/include/qt5/QtWidgets/qtreeview.h:44, from /usr/include/qt5/QtWidgets/qtreewidget.h:44, from /usr/include/qt5/QtWidgets/QTreeWidget:1, from treeview.h:12, from moc_treeview.cpp:10: /usr/include/qt5/QtGui/qrgba64.h: In member function 'constexpr uint QRgba64::toArgb32() const': /usr/include/qt5/QtGui/qrgba64.h:137:14: warning: conversion from 'quint64' {aka 'long long unsigned int'} to 'uint' {aka 'unsigned int'} may change value [-Wconversion] 134 | return ((ag >> 16) & 0xff000000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | | ((br << 16) & 0xff0000) | ~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | | (ag & 0xff00) | ~~~~~~~~~~~~~~~~~~~~~~~ 137 | | ((br >> 32) & 0xff); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qimage.h:47, from /usr/include/qt5/QtGui/qbrush.h:51, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/qabstractscrollarea.h:44, from /usr/include/qt5/QtWidgets/qabstractitemview.h:44, from /usr/include/qt5/QtWidgets/qtreeview.h:44, from /usr/include/qt5/QtWidgets/qtreewidget.h:44, from /usr/include/qt5/QtWidgets/QTreeWidget:1, from treeview.h:12, from moc_treeview.cpp:10: /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::channelCount() const': /usr/include/qt5/QtGui/qpixelformat.h:183:121: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 179 | Q_DECL_CONSTEXPR inline uchar channelCount() const noexcept { return (get(FirstField, FirstFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 180 | (get(SecondField, SecondFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 181 | (get(ThirdField, ThirdFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 182 | (get(FourthField, FourthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 183 | (get(FifthField, FifthFieldWidth) > 0) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 184 | (get(AlphaField, AlphaFieldWidth) > 0); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpixelformat.h: In member function 'constexpr uchar QPixelFormat::bitsPerPixel() const': /usr/include/qt5/QtGui/qpixelformat.h:206:115: warning: conversion from 'int' to 'uchar' {aka 'unsigned char'} may change value [-Wconversion] 202 | Q_DECL_CONSTEXPR inline uchar bitsPerPixel() const noexcept { return get(FirstField, FirstFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 203 | get(SecondField, SecondFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 204 | get(ThirdField, ThirdFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 205 | get(FourthField, FourthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 206 | get(FifthField, FifthFieldWidth) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 207 | get(AlphaField, AlphaFieldWidth); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/qabstractscrollarea.h:44, from /usr/include/qt5/QtWidgets/qabstractitemview.h:44, from /usr/include/qt5/QtWidgets/qtreeview.h:44, from /usr/include/qt5/QtWidgets/qtreewidget.h:44, from /usr/include/qt5/QtWidgets/QTreeWidget:1, from treeview.h:12, from moc_treeview.cpp:10: /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt5/QtGui/qpalette.h:107:76: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 107 | inline void setCurrentColorGroup(ColorGroup cg) { data.current_group = cg; } | ^~ /usr/include/qt5/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt5/QtGui/qpalette.h:163:58: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] 163 | inline void resolve(uint mask) { data.resolve_mask = mask; } | ^~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/qabstractscrollarea.h:44, from /usr/include/qt5/QtWidgets/qabstractitemview.h:44, from /usr/include/qt5/QtWidgets/qtreeview.h:44, from /usr/include/qt5/QtWidgets/qtreewidget.h:44, from /usr/include/qt5/QtWidgets/QTreeWidget:1, from treeview.h:12, from moc_treeview.cpp:10: /usr/include/qt5/QtWidgets/qsizepolicy.h: In constructor 'constexpr QSizePolicy::QSizePolicy(QSizePolicy::Policy, QSizePolicy::Policy, QSizePolicy::ControlType)': /usr/include/qt5/QtWidgets/qsizepolicy.h:117:22: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:117:43: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 117 | : bits{0, 0, quint32(horizontal), quint32(vertical), | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:118:36: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:5' may change value [-Wconversion] 118 | type == DefaultType ? 0 : toControlTypeFieldValue(type), 0, 0, 0} | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:132:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 132 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalPolicy(Policy d) noexcept { bits.horPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalPolicy(QSizePolicy::Policy)': /usr/include/qt5/QtWidgets/qsizepolicy.h:133:91: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] 133 | Q_DECL_RELAXED_CONSTEXPR void setVerticalPolicy(Policy d) noexcept { bits.verPolicy = d; } | ^ /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setHorizontalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:155:95: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 155 | Q_DECL_RELAXED_CONSTEXPR void setHorizontalStretch(int stretchFactor) { bits.horStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/qabstractscrollarea.h:44, from /usr/include/qt5/QtWidgets/qabstractitemview.h:44, from /usr/include/qt5/QtWidgets/qtreeview.h:44, from /usr/include/qt5/QtWidgets/qtreewidget.h:44, from /usr/include/qt5/QtWidgets/QTreeWidget:1, from treeview.h:12, from moc_treeview.cpp:10: /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'constexpr void QSizePolicy::setVerticalStretch(int)': /usr/include/qt5/QtWidgets/qsizepolicy.h:156:93: warning: conversion from 'quint32' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] 156 | Q_DECL_RELAXED_CONSTEXPR void setVerticalStretch(int stretchFactor) { bits.verStretch = static_cast(qBound(0, stretchFactor, 255)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qabstractitemmodel.h:43, from /usr/include/qt5/QtWidgets/qabstractitemview.h:45, from /usr/include/qt5/QtWidgets/qtreeview.h:44, from /usr/include/qt5/QtWidgets/qtreewidget.h:44, from /usr/include/qt5/QtWidgets/QTreeWidget:1, from treeview.h:12, from moc_treeview.cpp:10: /usr/include/qt5/QtCore/qvariant.h: In constructor 'QVariant::Private::Private(uint)': /usr/include/qt5/QtCore/qvariant.h:401:20: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:30' may change value [-Wconversion] 401 | : type(variantType), is_shared(false), is_null(false) | ^~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.9/src' g++ -Wl,-O1 -o ../bin/qgit annotate.o cache.o commitimpl.o consoleimpl.o customactionimpl.o dataloader.o domain.o exceptionmanager.o filecontent.o filelist.o fileview.o git.o inputdialog.o lanes.o listview.o mainimpl.o myprocess.o namespace_def.o patchcontent.o patchview.o qgit.o rangeselectimpl.o revdesc.o revsview.o settingsimpl.o smartbrowse.o treeview.o FileHistory.o common.o qrc_icons.o moc_annotate.o moc_cache.o moc_commitimpl.o moc_consoleimpl.o moc_customactionimpl.o moc_dataloader.o moc_domain.o moc_filecontent.o moc_filelist.o moc_fileview.o moc_git.o moc_inputdialog.o moc_listview.o moc_mainimpl.o moc_myprocess.o moc_patchcontent.o moc_patchview.o moc_rangeselectimpl.o moc_revdesc.o moc_revsview.o moc_settingsimpl.o moc_smartbrowse.o moc_treeview.o moc_FileHistory.o /usr/lib/libQt5Widgets.so /usr/lib/libQt5Gui.so /usr/lib/libQt5Core.so -lGL -lpthread -lXext -lX11 -lm make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.9/src' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.24648 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/qgit-buildroot + : + /bin/rm -rf -- /usr/src/tmp/qgit-buildroot + cd qgit-2.9 + install -pDm755 bin/qgit /usr/src/tmp/qgit-buildroot/usr/bin/qgit + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/qgit-buildroot (auto) Verifying and fixing files in /usr/src/tmp/qgit-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/qgit-buildroot/ (default) Compressing files in /usr/src/tmp/qgit-buildroot (auto) Verifying ELF objects in /usr/src/tmp/qgit-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Hardlinking identical .pyc and .pyo files Processing files: qgit-2.9-alt2.git8b3b822 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.7490 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd qgit-2.9 + DOCDIR=/usr/src/tmp/qgit-buildroot/usr/share/doc/qgit-2.9 + export DOCDIR + rm -rf /usr/src/tmp/qgit-buildroot/usr/share/doc/qgit-2.9 + /bin/mkdir -p /usr/src/tmp/qgit-buildroot/usr/share/doc/qgit-2.9 + cp -prL README.adoc /usr/src/tmp/qgit-buildroot/usr/share/doc/qgit-2.9 + chmod -R go-w /usr/src/tmp/qgit-buildroot/usr/share/doc/qgit-2.9 + chmod -R a+rX /usr/src/tmp/qgit-buildroot/usr/share/doc/qgit-2.9 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.lHX3ZM find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.xE5Y7M find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) Provides: qgit4 = 1:2.9-alt2.git8b3b822 Requires: /lib/ld-linux.so.2, libQt5Core.so.5 >= set:qhe8Cn0xeqA89hAvLZFuHH2tY0jSzwjJ4wWWTDZy6Nr9fezvKznAYZacQGYBnUCaHq1hLwJ4as9fJ01epErOUpuQspFWHm4O7e8QDJraSgBMOVxVw5ZKSajZiZ67zvcXmS9CUhIzYHcxbSrbcRhkE4lh3Z60J0fONaI6bX9co1AECxTy3WgiAiUTxrwRpVbzYlEmsCiaa86hgqXmlZsHyCiO2ZqH6O3oGahrWYpAiDOr35f2JsJLdGlx59T21OYZ4E0Q8KkohptqRjDsyfsosy9OfNUY9ifX8cyHxQetoCpLugxHlJlTbUGP6IY37NVc64mKfqhAxbOSZaJuaPxh5jIWajE8SsZd7OqjbwnhU9j3fBnSMxZsrBZ62DdBLipMppx0lEVm99e26mux5z3vPDWQfuFqxHruMbDyXXlpZmcTj5ZATVMQZjmki1VufjGoOTqGZDj7cXzeiILRZgZ4ZaTZlGdm41Rn1XoshM5kPJXVJGNUgKJJO5xI0qxDFZ8fAY4JTmgKwKj0deLXbSXj72qeg6im48VrI70ZhQms48SIA7N2cwh0fppjr9pxaZ38oknZIXhODuyq2xsXojSP1R92fChNHrqmWnyMMyc8q4ht1FdG7zGLYT3lKMKXtc3n7kLTmbMF9AfPi6tabz1IErZpzEz8a9qZkkal27D5oJexsKZLZ0kQ5L7j332ljOfvcxzHmCDZ20DI9Qhfx8g2OXZKDbuT4E4ZtZi9kiF5sgTQRe41xb69QTczu9RttRPFbxFjHXfV1ZyRHwCy83CX6JwrhXQGSkuYLPWa2bd7sQM84U4FoccuKWZ1j0dKZyewiFIebpyRuQ2vpzrw85uB4qILe323TddhPdSS0swoWMbb7ZeZKCJ7hnagGC7Hkk8mZjy4XypYCwKUrGbNTYWXuNZuzCuWgZGyxh4BS8aNNeu5DmlvoynCE8h9hwgNoekvGgI9EqHLZFyQjQfocdoKIbb9abTrr1U58KBMMBUi7q7ziZoYTZmOMmABm5T60xqgmJXkjvgt5MvVM58ZEJBBbDhGXAquphMJ3J2cswOsAlZmTsBR8gV0tg5euOsoCWianmGrYj0FthNbqyYkyX4gBYOMw7jtZ1MpSTEPvAjCixazMl1F2uqZrrndHICLxPOrMIjH9NSDXkhCGEKvyqZxoy4YQZr6JxDmZfYkIDbtF65wzZ6Eh4yELLlv9, libQt5Core.so.5(Qt_5), libQt5Core.so.5(Qt_5.15), libQt5Gui.so.5 >= set:rjitImZh2Cb9oaFBZKU3f3HZe3vBXOR4ONgfpMqnJCT5CsB68h24b1yuGyWScmyTymFElyeYCsZ07V2lPbm8mMwCQe9X7KKLJEDI3hzEpQDRr14pTjLhiQJLdzvYlAw2qOxtcmsdXaYH65tTZCwJzGaG5df17S5qznm4xL1CPFjnaRYBb1BGXeRycuboVyiEQwk8n7oepZHfkwK0h829Jn1Asb4lbqzAjv1xfIfCLZHnf4yKo850L2IZ3hTfhKdy16LKGAeYXzx9FZkZI8wryBDhMPt0ihcBuc0stnorwpb3e3yCw4BC5C6u6uzBTF4SzZK6NZywZe9ti9U3sdgjX6xA2dVq13P15WfQPdaNKOIRZhqa1Gnkh6W1slwj3y7TPDHiW6sSnDeLE0lvXAQtXw2L3fJqU4P0kEf0xx0OR9VgacGnYOarF8yUOSRcVKP1Z7Ehlka4RIpBtbjMlcSXLJQ77Anq1eu5lZsgcU0cSZ8kSAyZjQcA0, libQt5Gui.so.5(Qt_5), libQt5Widgets.so.5 >= set:rh9zar9TGZksvv1Ovm6t6FdVB7d0ZiLubmSLEkYznxyxZy0psk7RoZwRdeMwPke4UgYCeDaGkO0SS9fQZdCcQy8dB759Xugi08ZIAWe9j2wDqm2eNzKDNOaQFjlsPoHIf68W5cgbDszzGH1o4ivxpw63IANBUZFQhfVifbQABm9uY7o2yPWM2NnEnqd0JZKBqzSMD5XBxp6jNpDfdUetjkbz2jq1JVUBt1qDlnVQsQZb8Y9yzrV1VYf8dczEvXmjOiHEP60bmGJl3j517Nh8XLFS7ULYBzGfpzUgkPA9o2HQ2xHrNCscFFTrjFSGEr6lgXrslgqJyK6rSkFuir45PNnngq2Dv7Ne67nYwPftbekIyiFZiFgei8DEME7Q2sSytLZCmB4LslpA1hI2nHZoZKZhaehwWweB6jZqqPMNTiyzFaAR0aV0FXwEEgSL6G3n8f97ZKWdQAQkr8Q7pmRM7Mq6m23C7JSJNGdfar89FoK7Zt09YgEzdYZytW71up2Bci4K5ayrBpZxkC4i1ckDEmMZAnXVfw04Nt3r4MWE4j2NkeZnbj894lIl0Eo3kw8MgqSykqL2oIKCRaPXWdQJZoY7yda692A3zsss9eFZJ0rk8i1FMTh70Qmqgi5nf8jcgfcEoErIkjjJb4GaAoodFMDdKGxsGkLcfi3u60gxbqhH6FkFYXH8C8W87GImuhbBi1jZuSTv9EOexW3ZHnRJFuv5N1JmaIbPaYVnmZiDOgIED8CxzlLW6an3sAoJG4A1twnDZ1KfIzslqWBMXgKByaF9uw6BEePVwvI0ZAaujoEEKL2IPFmUYxtq0ZLtIsaP6PkzyFOc49t0Eoz5VAkcAZL4ZKGqpwUsKBMukkdRpxfix7A4KBG04mEVZh3vhWk3SBbZB0s6cRrDygNdjhmqIi7FU0A2sDtmh1c7Zd7wzEZCyYIaTlUoTGBh1yZ9SqU4f0pCgBZhJQHgrkM11CWepFeXmFfFNALojQCwCzCc9aUX9TvtKZGUmiF063Kw0iG7mwfVW4N9hEdw2ZklflEzmntIqJGUZxZpiH6DLZoqX4pd1990wMvY3syBNJP5ZCWvTUZAcsK6MEB3Zbm9j03LRhkNxFkW0Ci2ismTwxzQ6NxiRfqMOAMAgd8Pth0P1eXWshYZv2r0ZF5VrF3P2QtyjpnZaKBaZb9jkKVOICk0v8YTeqAisEdKBnZKFbakAZbTZpnsSw8G1jYnfiRHMSVxzU0cVGQtakH7GRC83cOuP0QCnSgNzOWvxzY7BiR22oqkY8wb7Za07AGalpEnk9JCPzyeUCsR92GiBfSgyOh7cpIXOuxT2aA8T78W0ZGZxbjM6uykHcQaA2Pz5gdhXRwN6NzWI1PZ2lw0ZhyOhVB06VdZ6DsddizmgP6L4tTmohOsgGRDGxhOrdG6Ukr1JwGcFaVhL9QpBVGH0XI1ygpvxMws07B4gIZEVI0dszQL8HTYx5uV0nTZDQeJFodFOftLalnRIyo2y8nNZhZAuzvWs68U22grvDYrSZLeb2J1bSRoev4lY8IwnpWN2Ii3jRfHWzajSZsy9IDFllHX6JhJlqYXDm6LJifyRUmeZfZ1AgLSiZ0G4mXDYNkeVgYlh4jHNxXqjkKhcRqrbazRyf3cLCZH4rS01owqes8BA70xltc5Qn2kAGu6kzpMcpVioW3V6L7LQefThCYKUSHP5kfjoYi7Gz1mpEAOnEGwkemoE3xJH14ZKzTM0r9MRX2ZbLxF8aujeKlSzZhnlT8bmkAwv4thpyM9Ipzy9vn8gGtmKRUv8cI4InLVKwEXpwI33TmkNGSyi1pSeq1mrTr1Wkq1uM0Zootc77, libQt5Widgets.so.5(Qt_5), libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.4), libgcc_s.so.1(GCC_3.0), libstdc++.so.6(CXXABI_1.3), libstdc++.so.6(CXXABI_1.3.9), libstdc++.so.6(GLIBCXX_3.4), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Obsoletes: qgit4 < 1:2.9-alt2.git8b3b822 Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.84bWNM Creating qgit-debuginfo package Processing files: qgit-debuginfo-2.9-alt2.git8b3b822 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.77AkMK find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.xL5nxL find-requires: running scripts (debuginfo) Requires: qgit = 1:2.9-alt2.git8b3b822, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libQt5Core.so.5), debug(libQt5Gui.so.5), debug(libQt5Widgets.so.5), debug(libc.so.6), debug(libgcc_s.so.1), debug(libstdc++.so.6) Adding to qgit-debuginfo a strict dependency on qgit Wrote: /usr/src/RPM/RPMS/i586/qgit-2.9-alt2.git8b3b822.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/qgit-debuginfo-2.9-alt2.git8b3b822.i586.rpm 315.31user 16.84system 2:04.52elapsed 266%CPU (0avgtext+0avgdata 258436maxresident)k 0inputs+0outputs (0major+3439796minor)pagefaults 0swaps 337.29user 25.14system 2:51.08elapsed 211%CPU (0avgtext+0avgdata 258436maxresident)k 0inputs+0outputs (0major+3820828minor)pagefaults 0swaps