<86>Jan 2 02:09:53 userdel[21773]: delete user 'rooter' <86>Jan 2 02:09:53 userdel[21773]: removed group 'rooter' owned by 'rooter' <86>Jan 2 02:09:53 userdel[21773]: removed shadow group 'rooter' owned by 'rooter' <86>Jan 2 02:09:53 groupadd[21780]: group added to /etc/group: name=rooter, GID=591 <86>Jan 2 02:09:53 groupadd[21780]: group added to /etc/gshadow: name=rooter <86>Jan 2 02:09:53 groupadd[21780]: new group: name=rooter, GID=591 <86>Jan 2 02:09:53 useradd[21786]: new user: name=rooter, UID=591, GID=591, home=/root, shell=/bin/bash <86>Jan 2 02:09:53 userdel[21797]: delete user 'builder' <86>Jan 2 02:09:53 userdel[21797]: removed group 'builder' owned by 'builder' <86>Jan 2 02:09:53 userdel[21797]: removed shadow group 'builder' owned by 'builder' <86>Jan 2 02:09:53 groupadd[21804]: group added to /etc/group: name=builder, GID=592 <86>Jan 2 02:09:53 groupadd[21804]: group added to /etc/gshadow: name=builder <86>Jan 2 02:09:53 groupadd[21804]: new group: name=builder, GID=592 <86>Jan 2 02:09:53 useradd[21810]: new user: name=builder, UID=592, GID=592, home=/usr/src, shell=/bin/bash <13>Jan 2 02:09:58 rpmi: xorg-proto-devel-2018.4-alt3 1527685079 installed <13>Jan 2 02:09:58 rpmi: libjpeg-2:1.5.1-alt1 1498218302 installed <13>Jan 2 02:09:58 rpmi: libglvnd-7:1.1.0-alt3 sisyphus.215982.100 1541498630 installed <13>Jan 2 02:09:58 rpmi: libpng16-1.6.35-alt1 sisyphus.214397.100 1539159326 installed <13>Jan 2 02:09:58 rpmi: libexpat-2.2.4-alt1 1503305341 installed <13>Jan 2 02:09:58 rpmi: libogg-1.3.3-alt1 sisyphus.217914.100 1545006089 installed <13>Jan 2 02:09:58 rpmi: libICE-1.0.9-alt1 1409902719 installed <13>Jan 2 02:09:58 rpmi: libwayland-client-1.16.0-alt1 1535614868 installed <13>Jan 2 02:09:58 rpmi: libICE-devel-1.0.9-alt1 1409902719 installed <13>Jan 2 02:09:58 rpmi: libSM-1.2.3-alt1 sisyphus.215747.100 1540812760 installed <13>Jan 2 02:09:58 rpmi: libsqlite3-3.25.2-alt2 sisyphus.215082.100 1539700192 installed <13>Jan 2 02:09:58 rpmi: zlib-devel-1.2.11-alt1 sisyphus.217171.100 1543710738 installed <13>Jan 2 02:09:58 rpmi: qt4-common-4.8.7-alt13.S1 1535591089 installed <13>Jan 2 02:09:58 rpmi: libqt4-core-4.8.7-alt13.S1 1535591089 installed <13>Jan 2 02:09:58 rpmi: libqt4-sql-4.8.7-alt13.S1 1535591089 installed <13>Jan 2 02:09:58 rpmi: libXau-1.0.8-alt1 1369565807 installed <13>Jan 2 02:09:58 rpmi: libwayland-server-1.16.0-alt1 1535614868 installed <13>Jan 2 02:09:59 rpmi: libicu63-1:6.3.1-alt1 sisyphus.215328.100 1540049981 installed <13>Jan 2 02:09:59 rpmi: libgraphite2-1.3.13-alt1 sisyphus.218545.100 1545686499 installed <13>Jan 2 02:09:59 rpmi: libharfbuzz-2.2.0-alt1 sisyphus.218134.500 1545261457 installed <13>Jan 2 02:09:59 rpmi: libfreetype-2.9.1-alt1.S1 1530781049 installed <13>Jan 2 02:09:59 rpmi: fontconfig-2.13.1-alt1 sisyphus.215917.100 1540973883 installed Updating fonts cache: <29>Jan 2 02:10:00 fontconfig: Updating fonts cache: succeeded [ DONE ] <13>Jan 2 02:10:00 rpmi: libharfbuzz-icu-2.2.0-alt1 sisyphus.218134.500 1545261457 installed <13>Jan 2 02:10:00 rpmi: libgraphite2-devel-1.3.13-alt1 sisyphus.218545.100 1545686499 installed <13>Jan 2 02:10:01 rpmi: icu-utils-1:6.3.1-alt1 sisyphus.215328.100 1540049981 installed <13>Jan 2 02:10:01 rpmi: libicu-devel-1:6.3.1-alt1 sisyphus.215328.100 1540049981 installed <13>Jan 2 02:10:01 rpmi: libXau-devel-1.0.8-alt1 1369565807 installed <13>Jan 2 02:10:01 rpmi: libqt4-sql-sqlite-4.8.7-alt13.S1 1535591089 installed <13>Jan 2 02:10:01 rpmi: libqt4-xml-4.8.7-alt13.S1 1535591089 installed <13>Jan 2 02:10:01 rpmi: libqt4-clucene-4.8.7-alt13.S1 1535591089 installed <13>Jan 2 02:10:01 rpmi: libqt4-test-4.8.7-alt13.S1 1535591089 installed <13>Jan 2 02:10:01 rpmi: rpm-macros-qt4-4.8.7-alt13.S1 1535591089 installed <13>Jan 2 02:10:01 rpmi: libpng-devel-1.6.35-alt1 sisyphus.214397.100 1539159326 installed <13>Jan 2 02:10:01 rpmi: libSM-devel-1.2.3-alt1 sisyphus.215747.100 1540812760 installed <13>Jan 2 02:10:01 rpmi: libwayland-egl-4:18.1.0-alt1 1535614868 installed <13>Jan 2 02:10:01 rpmi: libflac8-1.3.2-alt1 1507623526 installed <13>Jan 2 02:10:01 rpmi: libvorbis-1.3.6-alt1 1528307803 installed <13>Jan 2 02:10:01 rpmi: libOpenGL-7:1.1.0-alt3 sisyphus.215982.100 1541498630 installed <13>Jan 2 02:10:01 rpmi: libGLES-7:1.1.0-alt3 sisyphus.215982.100 1541498630 installed <13>Jan 2 02:10:01 rpmi: libtiff5-4.0.3-alt1 1348347498 installed <13>Jan 2 02:10:01 rpmi: libwebp7-1.0.1-alt1 sisyphus.216740.100 1542890906 installed <13>Jan 2 02:10:01 rpmi: libalsa-1:1.1.7-alt1 sisyphus.215150.100 1539797654 installed <13>Jan 2 02:10:01 rpmi: libltdl7-2.4.2-alt7 sisyphus.216946.100 1543650626 installed <13>Jan 2 02:10:01 rpmi: libunixODBC2-2.3.4-alt2 1487857369 installed <13>Jan 2 02:10:01 rpmi: libunixODBC-devel-compat-2.3.4-alt2 1487857369 installed <13>Jan 2 02:10:01 rpmi: libunixODBC-devel-2.3.4-alt2 1487857369 installed <13>Jan 2 02:10:01 rpmi: liblcms2-2.9-alt1 1516411888 installed <13>Jan 2 02:10:01 rpmi: libmng-2.0.3-alt2 sisyphus.215736.100 1540804098 installed <13>Jan 2 02:10:01 rpmi: liborc-0.4.28-alt1 1511201491 installed <13>Jan 2 02:10:01 rpmi: libgudev-1:232-alt3 1523738515 installed <13>Jan 2 02:10:01 rpmi: libgsm-1.0.17-alt1 1523356157 installed <13>Jan 2 02:10:01 rpmi: libsndfile-1.0.28-alt2 sisyphus.212728.100 1536333060 installed <13>Jan 2 02:10:01 rpmi: shared-mime-info-1.10-alt1.1 1530525597 installed <13>Jan 2 02:10:01 rpmi: liblz4-1:1.8.3-alt1 sisyphus.213737.100 1538009646 installed <13>Jan 2 02:10:01 rpmi: libgpg-error-1.31-alt1.S1 1529015796 installed <13>Jan 2 02:10:01 rpmi: libgcrypt20-1.8.3-alt4 sisyphus.218050.200 1545223148 installed <13>Jan 2 02:10:01 rpmi: libsystemd-1:240-alt1 sisyphus.218867.200 1546345217 installed <13>Jan 2 02:10:01 rpmi: libdbus-1.12.12-alt1 sisyphus.217336.100 1544000947 installed <13>Jan 2 02:10:01 rpmi: libqt4-dbus-4.8.7-alt13.S1 1535591089 installed <13>Jan 2 02:10:01 rpmi: libqt4-script-4.8.7-alt13.S1 1535591089 installed <13>Jan 2 02:10:02 rpmi: libdbus-devel-1.12.12-alt1 sisyphus.217336.100 1544000947 installed <13>Jan 2 02:10:02 rpmi: libxslt-1.1.32-alt2 1517429962 installed <13>Jan 2 02:10:02 rpmi: libasyncns-0.8-alt2.qa1 1365949819 installed <13>Jan 2 02:10:02 rpmi: libxshmfence-1.2-alt2 1518613549 installed <13>Jan 2 02:10:02 rpmi: libX11-locales-3:1.6.7-alt1 sisyphus.214413.200 1539171080 installed <13>Jan 2 02:10:02 rpmi: libXdmcp-1.1.1-alt1 1334617699 installed <13>Jan 2 02:10:02 rpmi: libxcb-1.13.1-alt1 sisyphus.214413.100 1539170828 installed <13>Jan 2 02:10:02 rpmi: libX11-3:1.6.7-alt1 sisyphus.214413.200 1539171080 installed <13>Jan 2 02:10:02 rpmi: libXext-1.3.3-alt1 1409902932 installed <13>Jan 2 02:10:02 rpmi: libXrender-0.9.8-alt1 1371312110 installed <13>Jan 2 02:10:02 rpmi: libXfixes-5.0.3-alt1 sisyphus.216396.300 1542022144 installed <13>Jan 2 02:10:02 rpmi: libXcursor-1.1.15-alt1.S1 1512373363 installed <13>Jan 2 02:10:02 rpmi: libXrandr-1.5.0-alt1 1431936188 installed <13>Jan 2 02:10:02 rpmi: libXi-1.7.9-alt1.S1 1515755338 installed <13>Jan 2 02:10:02 rpmi: libXinerama-1.1.3-alt2 1527671624 installed <13>Jan 2 02:10:02 rpmi: libqt4-gui-4.8.7-alt13.S1 1535591089 installed <13>Jan 2 02:10:02 rpmi: libqt4-designer-4.8.7-alt13.S1 1535591089 installed <13>Jan 2 02:10:02 rpmi: libqt4-svg-4.8.7-alt13.S1 1535591089 installed <13>Jan 2 02:10:02 rpmi: libqt4-uitools-4.8.7-alt13.S1 1535591089 installed <13>Jan 2 02:10:02 rpmi: libqt4-multimedia-4.8.7-alt13.S1 1535591089 installed <13>Jan 2 02:10:03 rpmi: libqt4-scripttools-4.8.7-alt13.S1 1535591089 installed <13>Jan 2 02:10:03 rpmi: libXxf86vm-1.1.4-alt2 1527672159 installed <13>Jan 2 02:10:03 rpmi: libXtst-1.2.2-alt1 1369984880 installed <13>Jan 2 02:10:03 rpmi: libXv-1.0.11-alt1 1527685497 installed <13>Jan 2 02:10:03 rpmi: libXdamage-1.1.3-alt4 1297162596 installed <13>Jan 2 02:10:04 rpmi: libxcb-devel-1.13.1-alt1 sisyphus.214413.100 1539170828 installed <13>Jan 2 02:10:05 rpmi: libX11-devel-3:1.6.7-alt1 sisyphus.214413.200 1539171080 installed <13>Jan 2 02:10:05 rpmi: libXext-devel-1.3.3-alt1 1409902932 installed <13>Jan 2 02:10:05 rpmi: libXfixes-devel-5.0.3-alt1 sisyphus.216396.300 1542022144 installed <13>Jan 2 02:10:05 rpmi: libXi-devel-1.7.9-alt1.S1 1515755338 installed <13>Jan 2 02:10:05 rpmi: libXrender-devel-0.9.8-alt1 1371312110 installed <13>Jan 2 02:10:05 rpmi: libXrandr-devel-1.5.0-alt1 1431936188 installed <13>Jan 2 02:10:05 rpmi: libXtst-devel-1.2.2-alt1 1369984880 installed <13>Jan 2 02:10:05 rpmi: libXv-devel-1.0.11-alt1 1527685497 installed <13>Jan 2 02:10:05 rpmi: libXcursor-devel-1.1.15-alt1.S1 1512373363 installed <13>Jan 2 02:10:05 rpmi: libXinerama-devel-1.1.3-alt2 1527671624 installed <13>Jan 2 02:10:05 rpmi: libpulseaudio-12.2-alt1 1535623578 installed <13>Jan 2 02:10:05 rpmi: libphonon-4.8.3-alt1 1418134063 installed <13>Jan 2 02:10:05 rpmi: libphononexperimental-4.8.3-alt1 1418134063 installed <13>Jan 2 02:10:05 rpmi: libpciaccess-1:0.14-alt1 1528969624 installed <13>Jan 2 02:10:05 rpmi: libdrm-1:2.4.96-alt1 sisyphus.215486.100 1540374008 installed <13>Jan 2 02:10:05 rpmi: libGLX-mesa-4:18.3.1-alt1 sisyphus.218704.100 1545993911 installed <13>Jan 2 02:10:05 rpmi: libgbm-4:18.3.1-alt1 sisyphus.218704.100 1545993911 installed <13>Jan 2 02:10:05 rpmi: libEGL-mesa-4:18.3.1-alt1 sisyphus.218704.100 1545993911 installed <13>Jan 2 02:10:05 rpmi: libEGL-7:1.1.0-alt3 sisyphus.215982.100 1541498630 installed <13>Jan 2 02:10:05 rpmi: libGLX-7:1.1.0-alt3 sisyphus.215982.100 1541498630 installed <13>Jan 2 02:10:05 rpmi: libGL-7:1.1.0-alt3 sisyphus.215982.100 1541498630 installed <13>Jan 2 02:10:05 rpmi: libqt4-opengl-4.8.7-alt13.S1 1535591089 installed <13>Jan 2 02:10:05 rpmi: libglvnd-devel-7:1.1.0-alt3 sisyphus.215982.100 1541498630 installed <13>Jan 2 02:10:05 rpmi: libEGL-devel-4:18.3.1-alt1 sisyphus.218704.100 1545993911 installed <13>Jan 2 02:10:05 rpmi: libGL-devel-4:18.3.1-alt1 sisyphus.218704.100 1545993911 installed <13>Jan 2 02:10:05 rpmi: libGLU-4:9.0.0-alt1 1347643776 installed <13>Jan 2 02:10:05 rpmi: libGLU-devel-4:9.0.0-alt1 1347643776 installed <13>Jan 2 02:10:05 rpmi: gsettings-desktop-schemas-data-3.28.1-alt1 sisyphus.212587.100 1536082062 installed <13>Jan 2 02:10:05 rpmi: libgio-2.58.2-alt1 sisyphus.218134.100 1545260899 installed <13>Jan 2 02:10:05 rpmi: gsettings-desktop-schemas-3.28.1-alt1 sisyphus.212587.100 1536082062 installed <13>Jan 2 02:10:05 rpmi: libgstreamer1.0-1.14.4-alt1 sisyphus.214120.2200 1538778549 installed <13>Jan 2 02:10:05 rpmi: libgst-plugins1.0-1.14.4-alt3 sisyphus.216849.100 1543144417 installed <13>Jan 2 02:10:05 rpmi: gcc-c++-common-1.4.23-alt1 sisyphus.218115.200 1545282875 installed <13>Jan 2 02:10:06 rpmi: libstdc++8-devel-8.2.1-alt2 sisyphus.218691.100 1545948574 installed <13>Jan 2 02:10:07 rpmi: gcc8-c++-8.2.1-alt2 sisyphus.218691.100 1545948574 installed <13>Jan 2 02:10:07 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>Jan 2 02:10:07 rpmi: xml-utils-1:2.9.4.0.12.e905-alt1.1 1525115736 installed <13>Jan 2 02:10:07 rpmi: rpm-build-gir-0.7.2-alt4 1534675014 installed <13>Jan 2 02:10:07 rpmi: libtasn1-4.13-alt2 1521133848 installed <13>Jan 2 02:10:07 rpmi: libp11-kit-0.23.9-alt5 1525798241 installed <13>Jan 2 02:10:07 rpmi: ed-1:0.2-alt10 1449768441 installed <13>Jan 2 02:10:07 rpmi: rpm-macros-alternatives-0.4.5-alt1.1 1404382149 installed <13>Jan 2 02:10:07 rpmi: alternatives-0.4.5-alt1.1 1404382149 installed <13>Jan 2 02:10:07 rpmi: ca-certificates-2018.11.12-alt1 sisyphus.216395.300 1542114035 installed <13>Jan 2 02:10:07 rpmi: ca-trust-0.1.1-alt2 1515595785 installed <13>Jan 2 02:10:07 rpmi: p11-kit-trust-0.23.9-alt5 1525798241 installed <13>Jan 2 02:10:07 rpmi: libcrypto1.1-1.1.0j-alt1 sisyphus.216647.100 1542743840 installed <13>Jan 2 02:10:07 rpmi: libssl1.1-1.1.0j-alt1 sisyphus.216647.100 1542743840 installed <13>Jan 2 02:10:07 rpmi: libpython3-3.6.5-alt1.1 1535734400 installed <13>Jan 2 02:10:07 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Jan 2 02:10:07 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Jan 2 02:10:07 rpmi: python3-3.6.5-alt1.1 1535734400 installed <13>Jan 2 02:10:08 rpmi: python3-base-3.6.5-alt1.1 1535734400 installed <13>Jan 2 02:10:08 rpmi: libqt4-network-4.8.7-alt13.S1 1535591089 installed <13>Jan 2 02:10:08 rpmi: libqt4-qt3support-4.8.7-alt13.S1 1535591089 installed <13>Jan 2 02:10:08 rpmi: libqt4-help-4.8.7-alt13.S1 1535591089 installed <13>Jan 2 02:10:08 rpmi: libqt4-xmlpatterns-4.8.7-alt13.S1 1535591089 installed <13>Jan 2 02:10:08 rpmi: libqt4-declarative-4.8.7-alt13.S1 1535591089 installed <13>Jan 2 02:10:08 rpmi: libqt4-4.8.7-alt13.S1 1535591089 installed <13>Jan 2 02:10:09 rpmi: libqt4-webkit-1:2.3.4-alt6 sisyphus.215264.100 1540024162 installed <13>Jan 2 02:10:09 rpmi: glib2-devel-2.58.2-alt1 sisyphus.218134.100 1545260899 installed <13>Jan 2 02:10:09 rpmi: libharfbuzz-devel-2.2.0-alt1 sisyphus.218134.500 1545261457 installed <13>Jan 2 02:10:09 rpmi: libfreetype-devel-2.9.1-alt1.S1 1530781049 installed <13>Jan 2 02:10:10 rpmi: fontconfig-devel-2.13.1-alt1 sisyphus.215917.100 1540973883 installed <13>Jan 2 02:10:10 rpmi: libssl-devel-1.1.0j-alt1 sisyphus.216647.100 1542743840 installed <13>Jan 2 02:10:10 rpmi: phonon-devel-4.8.3-alt1 1418134063 installed <13>Jan 2 02:10:10 rpmi: libqt4-devel-4.8.7-alt13.S1 1535591089 installed <13>Jan 2 02:10:10 rpmi: libqt4-webkit-devel-1:2.3.4-alt6 sisyphus.215264.100 1540024162 installed <13>Jan 2 02:10:10 rpmi: gcc-c++-8-alt1 sisyphus.214000.40 1542664792 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/qgit-2.5-alt1.nosrc.rpm Installing qgit-2.5-alt1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.64648 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf qgit-2.5 + echo 'Source #0 (qgit-2.5.tar):' Source #0 (qgit-2.5.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/qgit-2.5.tar + cd qgit-2.5 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (qgit-2.5-alt1.patch):' Patch #0 (qgit-2.5-alt1.patch): + /usr/bin/patch -p1 patching file .gear-rules patching file .gear/tags/list patching file qgit4.spec + sed -i s,debug_and_release,release, qgit.pro + sed -i s,debug_and_release,release, src/src.pro + sed -i 's,VERSION "2.3",VERSION "2.5",' src/config.h + sed -i '/QMAKE_CXXFLAGS_RELEASE/s,-O2 ,-pipe -frecord-gcc-switches -Wall -g -O2 ,g' src/src.pro + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.40996 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd qgit-2.5 + qmake-qt4 qgit.pro + make -j8 make: Entering directory '/usr/src/RPM/BUILD/qgit-2.5' cd src/ && /usr/bin/qmake-qt4 /usr/src/RPM/BUILD/qgit-2.5/src/src.pro -o Makefile make: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5' cd src/ && make -f Makefile make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' /usr/lib64/qt4/bin/uic console.ui -o ../build/ui_console.h make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' /usr/lib64/qt4/bin/uic customaction.ui -o ../build/ui_customaction.h make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' /usr/lib64/qt4/bin/uic fileview.ui -o ../build/ui_fileview.h make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' /usr/lib64/qt4/bin/uic help.ui -o ../build/ui_help.h make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' /usr/lib64/qt4/bin/uic commit.ui -o ../build/ui_commit.h make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' /usr/lib64/qt4/bin/uic mainview.ui -o ../build/ui_mainview.h make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' /usr/lib64/qt4/bin/uic rangeselect.ui -o ../build/ui_rangeselect.h make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' /usr/lib64/qt4/bin/uic revsview.ui -o ../build/ui_revsview.h make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' /usr/lib64/qt4/bin/uic settings.ui -o ../build/ui_settings.h make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' /usr/lib64/qt4/bin/uic patchview.ui -o ../build/ui_patchview.h make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build -o ../build/cache.o cache.cpp In file included from /usr/include/qt4/QtCore/qnamespace.h:45, from /usr/include/qt4/QtCore/qobjectdefs.h:45, from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qfile.h:45, from /usr/include/qt4/QtCore/QFile:1, from cache.cpp:9: /usr/include/qt4/QtCore/qglobal.h:1098:62: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] template struct QIntegerForSizeof: QIntegerForSize { }; ^~~~~~~~~ In file included from /usr/include/qt4/QtCore/QVector:1, from exceptionmanager.h:10, from git.h:10, from cache.h:10, from cache.cpp:11: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = const RevFile*]': /usr/include/qt4/QtCore/qvector.h:340:25: required from 'void QVector::reserve(int) [with T = const RevFile*]' cache.cpp:62:22: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QString]': /usr/include/qt4/QtCore/qvector.h:343:3: required from 'void QVector::resize(int) [with T = QString]' cache.cpp:132:21: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector::Data' {aka 'struct QVectorTypedData'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/QVector:1, from exceptionmanager.h:10, from git.h:10, from cache.h:10, from cache.cpp:11: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector::Data' {aka 'struct QVectorTypedData'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/QVector:1, from exceptionmanager.h:10, from git.h:10, from cache.h:10, from cache.cpp:11: /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = const RevFile*]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = const RevFile*]' /usr/include/qt4/QtCore/qvector.h:340:25: required from 'void QVector::reserve(int) [with T = const RevFile*]' cache.cpp:62:22: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QString]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QString]' /usr/include/qt4/QtCore/qvector.h:343:3: required from 'void QVector::resize(int) [with T = QString]' cache.cpp:132:21: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build -o ../build/consoleimpl.o consoleimpl.cpp In file included from /usr/include/qt4/QtCore/qnamespace.h:45, from /usr/include/qt4/QtCore/qobjectdefs.h:45, from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsettings.h:45, from /usr/include/qt4/QtCore/QSettings:1, from consoleimpl.cpp:9: /usr/include/qt4/QtCore/qglobal.h:1098:62: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] template struct QIntegerForSizeof: QIntegerForSize { }; ^~~~~~~~~ In file included from /usr/include/qt4/QtCore/qrect.h:46, from /usr/include/qt4/QtGui/qpaintdevice.h:46, from /usr/include/qt4/QtGui/qwidget.h:49, from /usr/include/qt4/QtGui/qstatusbar.h:45, from /usr/include/qt4/QtGui/QStatusBar:1, from consoleimpl.cpp:10: /usr/include/qt4/QtCore/qpoint.h: In member function 'QPoint& QPoint::operator*=(float)': /usr/include/qt4/QtCore/qpoint.h:153:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h:153:34: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(const QPoint&, float)': /usr/include/qt4/QtCore/qpoint.h:174:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:174:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(float, const QPoint&)': /usr/include/qt4/QtCore/qpoint.h:183:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:183:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ In file included from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qstatusbar.h:45, from /usr/include/qt4/QtGui/QStatusBar:1, from consoleimpl.cpp:10: /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt4/QtGui/qpalette.h:105:71: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] inline void setCurrentColorGroup(ColorGroup cg) { current_group = cg; } ^~ /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt4/QtGui/qpalette.h:167:53: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] inline void resolve(uint mask) { resolve_mask = mask; } ^~~~ In file included from /usr/include/qt4/QtGui/qtextedit.h:47, from /usr/include/qt4/QtGui/QTextEdit:1, from ../build/ui_console.h:23, from consoleimpl.h:14, from consoleimpl.cpp:14: /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setTextDirection(Qt::LayoutDirection)': /usr/include/qt4/QtGui/qtextoption.h:99:86: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:2' may change value [-Wconversion] inline void setTextDirection(Qt::LayoutDirection aDirection) { this->direction = aDirection; } ^~~~~~~~~~ /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setWrapMode(QTextOption::WrapMode)': /usr/include/qt4/QtGui/qtextoption.h:109:57: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] inline void setWrapMode(WrapMode wrap) { wordWrap = wrap; } ^~~~ /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setAlignment(Qt::Alignment)': /usr/include/qt4/QtGui/qtextoption.h:149:11: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] { align = aalignment; } ^~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qstatusbar.h:45, from /usr/include/qt4/QtGui/QStatusBar:1, from consoleimpl.cpp:10: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:99:61: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:165:64: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPoint]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:66:59: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPointF]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:140:62: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QTextLength]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QTextLength]' /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QTextLength]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QTextLength]' /usr/include/qt4/QtGui/qtextformat.h:857:62: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build -o ../build/exceptionmanager.o exceptionmanager.cpp In file included from /usr/include/qt4/QtCore/qiterator.h:45, from /usr/include/qt4/QtCore/qlist.h:45, from /usr/include/qt4/QtCore/QList:1, from exceptionmanager.cpp:12: /usr/include/qt4/QtCore/qglobal.h:1098:62: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] template struct QIntegerForSizeof: QIntegerForSize { }; ^~~~~~~~~ In file included from /usr/include/qt4/QtCore/QVector:1, from exceptionmanager.h:10, from exceptionmanager.cpp:13: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QString]': /usr/include/qt4/QtCore/qvector.h:577:9: required from 'void QVector::append(const T&) [with T = QString]' exceptionmanager.cpp:18:39: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector::Data' {aka 'struct QVectorTypedData'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/QVector:1, from exceptionmanager.h:10, from exceptionmanager.cpp:13: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector::Data' {aka 'struct QVectorTypedData'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/QVector:1, from exceptionmanager.h:10, from exceptionmanager.cpp:13: /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QString]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QString]' /usr/include/qt4/QtCore/qvector.h:577:9: required from 'void QVector::append(const T&) [with T = QString]' exceptionmanager.cpp:18:39: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build -o ../build/customactionimpl.o customactionimpl.cpp In file included from /usr/include/qt4/QtCore/qnamespace.h:45, from /usr/include/qt4/QtCore/qobjectdefs.h:45, from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsettings.h:45, from /usr/include/qt4/QtCore/QSettings:1, from customactionimpl.cpp:9: /usr/include/qt4/QtCore/qglobal.h:1098:62: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] template struct QIntegerForSizeof: QIntegerForSize { }; ^~~~~~~~~ In file included from /usr/include/qt4/QtCore/qrect.h:46, from /usr/include/qt4/QtGui/qpaintdevice.h:46, from /usr/include/qt4/QtGui/qwidget.h:49, from /usr/include/qt4/QtGui/qdialog.h:45, from /usr/include/qt4/QtGui/qmessagebox.h:45, from /usr/include/qt4/QtGui/QMessageBox:1, from customactionimpl.cpp:10: /usr/include/qt4/QtCore/qpoint.h: In member function 'QPoint& QPoint::operator*=(float)': /usr/include/qt4/QtCore/qpoint.h:153:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h:153:34: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(const QPoint&, float)': /usr/include/qt4/QtCore/qpoint.h:174:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:174:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(float, const QPoint&)': /usr/include/qt4/QtCore/qpoint.h:183:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:183:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ In file included from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdialog.h:45, from /usr/include/qt4/QtGui/qmessagebox.h:45, from /usr/include/qt4/QtGui/QMessageBox:1, from customactionimpl.cpp:10: /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt4/QtGui/qpalette.h:105:71: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] inline void setCurrentColorGroup(ColorGroup cg) { current_group = cg; } ^~ /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt4/QtGui/qpalette.h:167:53: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] inline void resolve(uint mask) { resolve_mask = mask; } ^~~~ In file included from /usr/include/qt4/QtGui/qtextformat.h:52, from /usr/include/qt4/QtGui/qtextcursor.h:47, from /usr/include/qt4/QtGui/qlineedit.h:46, from /usr/include/qt4/QtGui/qinputdialog.h:47, from /usr/include/qt4/QtGui/QInputDialog:1, from customactionimpl.cpp:11: /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setTextDirection(Qt::LayoutDirection)': /usr/include/qt4/QtGui/qtextoption.h:99:86: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:2' may change value [-Wconversion] inline void setTextDirection(Qt::LayoutDirection aDirection) { this->direction = aDirection; } ^~~~~~~~~~ /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setWrapMode(QTextOption::WrapMode)': /usr/include/qt4/QtGui/qtextoption.h:109:57: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] inline void setWrapMode(WrapMode wrap) { wordWrap = wrap; } ^~~~ /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setAlignment(Qt::Alignment)': /usr/include/qt4/QtGui/qtextoption.h:149:11: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] { align = aalignment; } ^~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdialog.h:45, from /usr/include/qt4/QtGui/qmessagebox.h:45, from /usr/include/qt4/QtGui/QMessageBox:1, from customactionimpl.cpp:10: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:99:61: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:165:64: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPoint]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:66:59: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPointF]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:140:62: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QTextLength]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QTextLength]' /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QTextLength]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QTextLength]' /usr/include/qt4/QtGui/qtextformat.h:857:62: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build -o ../build/dataloader.o dataloader.cpp In file included from /usr/include/qt4/QtCore/qchar.h:45, from /usr/include/qt4/QtCore/qstring.h:45, from /usr/include/qt4/QtCore/qdir.h:45, from /usr/include/qt4/QtCore/QDir:1, from dataloader.cpp:9: /usr/include/qt4/QtCore/qglobal.h:1098:62: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] template struct QIntegerForSizeof: QIntegerForSize { }; ^~~~~~~~~ dataloader.cpp: In member function 'ulong DataLoader::readNewData(bool)': dataloader.cpp:244:41: warning: conversion from 'qint64' {aka 'long long int'} to 'int' may change value [-Wconversion] int len = dataFile->read(ba->data(), READ_BLOCK_SIZE); ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build -o ../build/filelist.o filelist.cpp In file included from /usr/include/qt4/QtCore/qnamespace.h:45, from /usr/include/qt4/QtCore/qobjectdefs.h:45, from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtGui/qdrag.h:45, from /usr/include/qt4/QtGui/QDrag:1, from filelist.cpp:6: /usr/include/qt4/QtCore/qglobal.h:1098:62: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] template struct QIntegerForSizeof: QIntegerForSize { }; ^~~~~~~~~ In file included from /usr/include/qt4/QtGui/qapplication.h:47, from /usr/include/qt4/QtGui/QApplication:1, from filelist.cpp:7: /usr/include/qt4/QtCore/qpoint.h: In member function 'QPoint& QPoint::operator*=(float)': /usr/include/qt4/QtCore/qpoint.h:153:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h:153:34: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(const QPoint&, float)': /usr/include/qt4/QtCore/qpoint.h:174:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:174:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(float, const QPoint&)': /usr/include/qt4/QtCore/qpoint.h:183:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:183:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ In file included from /usr/include/qt4/QtGui/QPalette:1, from filelist.cpp:8: /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt4/QtGui/qpalette.h:105:71: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] inline void setCurrentColorGroup(ColorGroup cg) { current_group = cg; } ^~ /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt4/QtGui/qpalette.h:167:53: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] inline void resolve(uint mask) { resolve_mask = mask; } ^~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/QPalette:1, from filelist.cpp:8: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:99:61: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:165:64: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPoint]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:66:59: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPointF]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:140:62: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build -o ../build/lanes.o lanes.cpp In file included from /usr/include/qt4/QtCore/qalgorithms.h:45, from /usr/include/qt4/QtCore/qstringlist.h:45, from /usr/include/qt4/QtCore/QStringList:1, from lanes.cpp:9: /usr/include/qt4/QtCore/qglobal.h:1098:62: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] template struct QIntegerForSizeof: QIntegerForSize { }; ^~~~~~~~~ In file included from /usr/include/qt4/QtCore/QVector:1, from common.h:17, from lanes.cpp:10: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = int]': /usr/include/qt4/QtCore/qvector.h:577:9: required from 'void QVector::append(const T&) [with T = int]' lanes.cpp:294:21: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QString]': /usr/include/qt4/QtCore/qvector.h:577:9: required from 'void QVector::append(const T&) [with T = QString]' lanes.cpp:295:24: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector::Data' {aka 'struct QVectorTypedData'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/QVector:1, from common.h:17, from lanes.cpp:10: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector::Data' {aka 'struct QVectorTypedData'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/QVector:1, from common.h:17, from lanes.cpp:10: /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'T* QVector::erase(QVector::iterator, QVector::iterator) [with T = QString; QVector::iterator = QString*]': /usr/include/qt4/QtCore/qvector.h:256:66: required from 'T* QVector::erase(QVector::iterator) [with T = QString; QVector::iterator = QString*]' /usr/include/qt4/QtCore/qvector.h:283:45: required from 'void QVector::pop_back() [with T = QString]' lanes.cpp:242:23: required from here /usr/include/qt4/QtCore/qvector.h:642:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class QString' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(p->array + f, p->array + l, (d->size-l)*sizeof(T)); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qobject.h:48, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qdatastream.h:46, from /usr/include/qt4/QtCore/qstringlist.h:46, from /usr/include/qt4/QtCore/QStringList:1, from lanes.cpp:9: /usr/include/qt4/QtCore/qstring.h:83:21: note: 'class QString' declared here class Q_CORE_EXPORT QString ^~~~~~~ In file included from /usr/include/qt4/QtCore/QVector:1, from common.h:17, from lanes.cpp:10: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = int]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = int]' /usr/include/qt4/QtCore/qvector.h:577:9: required from 'void QVector::append(const T&) [with T = int]' lanes.cpp:294:21: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QString]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QString]' /usr/include/qt4/QtCore/qvector.h:577:9: required from 'void QVector::append(const T&) [with T = QString]' lanes.cpp:295:24: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build -o ../build/annotate.o annotate.cpp In file included from /usr/include/qt4/QtCore/qnamespace.h:45, from /usr/include/qt4/QtCore/qobjectdefs.h:45, from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qcoreapplication.h:45, from /usr/include/qt4/QtGui/qapplication.h:45, from /usr/include/qt4/QtGui/QApplication:1, from annotate.cpp:9: /usr/include/qt4/QtCore/qglobal.h:1098:62: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] template struct QIntegerForSizeof: QIntegerForSize { }; ^~~~~~~~~ In file included from /usr/include/qt4/QtGui/qapplication.h:47, from /usr/include/qt4/QtGui/QApplication:1, from annotate.cpp:9: /usr/include/qt4/QtCore/qpoint.h: In member function 'QPoint& QPoint::operator*=(float)': /usr/include/qt4/QtCore/qpoint.h:153:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h:153:34: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(const QPoint&, float)': /usr/include/qt4/QtCore/qpoint.h:174:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:174:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(float, const QPoint&)': /usr/include/qt4/QtCore/qpoint.h:183:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:183:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ In file included from /usr/include/qt4/QtCore/QVector:1, from common.h:17, from FileHistory.h:14, from annotate.cpp:11: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = ShaString]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = ShaString]' /usr/include/qt4/QtCore/qvector.h:398:9: required from 'QVector& QVector::operator=(const QVector&) [with T = ShaString]' annotate.cpp:76:21: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector::Data' {aka 'struct QVectorTypedData'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/QVector:1, from common.h:17, from FileHistory.h:14, from annotate.cpp:11: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector::Data' {aka 'struct QVectorTypedData'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/QVector:1, from common.h:17, from FileHistory.h:14, from annotate.cpp:11: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = ShaString]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = ShaString]' /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = ShaString]' /usr/include/qt4/QtCore/qvector.h:398:9: required from 'QVector& QVector::operator=(const QVector&) [with T = ShaString]' annotate.cpp:76:21: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build -o ../build/domain.o domain.cpp In file included from /usr/include/qt4/QtCore/qnamespace.h:45, from /usr/include/qt4/QtCore/qobjectdefs.h:45, from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qcoreapplication.h:45, from /usr/include/qt4/QtGui/qapplication.h:45, from /usr/include/qt4/QtGui/QApplication:1, from domain.cpp:7: /usr/include/qt4/QtCore/qglobal.h:1098:62: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] template struct QIntegerForSizeof: QIntegerForSize { }; ^~~~~~~~~ In file included from /usr/include/qt4/QtGui/qapplication.h:47, from /usr/include/qt4/QtGui/QApplication:1, from domain.cpp:7: /usr/include/qt4/QtCore/qpoint.h: In member function 'QPoint& QPoint::operator*=(float)': /usr/include/qt4/QtCore/qpoint.h:153:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h:153:34: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(const QPoint&, float)': /usr/include/qt4/QtCore/qpoint.h:174:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:174:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(float, const QPoint&)': /usr/include/qt4/QtCore/qpoint.h:183:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:183:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ In file included from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qstatusbar.h:45, from /usr/include/qt4/QtGui/QStatusBar:1, from domain.cpp:8: /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt4/QtGui/qpalette.h:105:71: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] inline void setCurrentColorGroup(ColorGroup cg) { current_group = cg; } ^~ /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt4/QtGui/qpalette.h:167:53: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] inline void resolve(uint mask) { resolve_mask = mask; } ^~~~ domain.cpp: In member function 'virtual bool Domain::event(QEvent*)': domain.cpp:243:2: warning: case value '65436' not in enumerated type 'QEvent::Type' [-Wswitch] case MSG_EV: ^~~~ domain.cpp:240:2: warning: case value '65438' not in enumerated type 'QEvent::Type' [-Wswitch] case UPD_DM_EV: ^~~~ domain.cpp:237:2: warning: case value '65439' not in enumerated type 'QEvent::Type' [-Wswitch] case UPD_DM_MST_EV: ^~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qstatusbar.h:45, from /usr/include/qt4/QtGui/QStatusBar:1, from domain.cpp:8: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:99:61: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:165:64: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPoint]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:66:59: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPointF]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:140:62: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build -o ../build/fileview.o fileview.cpp In file included from /usr/include/qt4/QtCore/qnamespace.h:45, from /usr/include/qt4/QtCore/qobjectdefs.h:45, from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qevent.h:45, from /usr/include/qt4/QtGui/QHelpEvent:1, from fileview.cpp:9: /usr/include/qt4/QtCore/qglobal.h:1098:62: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] template struct QIntegerForSizeof: QIntegerForSize { }; ^~~~~~~~~ In file included from /usr/include/qt4/QtCore/qrect.h:46, from /usr/include/qt4/QtGui/qregion.h:46, from /usr/include/qt4/QtGui/qevent.h:47, from /usr/include/qt4/QtGui/QHelpEvent:1, from fileview.cpp:9: /usr/include/qt4/QtCore/qpoint.h: In member function 'QPoint& QPoint::operator*=(float)': /usr/include/qt4/QtCore/qpoint.h:153:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h:153:34: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(const QPoint&, float)': /usr/include/qt4/QtCore/qpoint.h:174:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:174:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(float, const QPoint&)': /usr/include/qt4/QtCore/qpoint.h:183:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:183:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ In file included from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qaction.h:47, from /usr/include/qt4/QtGui/QAction:1, from ../build/ui_mainview.h:13, from mainimpl.h:15, from fileview.cpp:11: /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt4/QtGui/qpalette.h:105:71: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] inline void setCurrentColorGroup(ColorGroup cg) { current_group = cg; } ^~ /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt4/QtGui/qpalette.h:167:53: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] inline void resolve(uint mask) { resolve_mask = mask; } ^~~~ In file included from /usr/include/qt4/QtGui/qtextedit.h:47, from /usr/include/qt4/QtGui/QTextEdit:1, from filecontent.h:11, from fileview.cpp:15: /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setTextDirection(Qt::LayoutDirection)': /usr/include/qt4/QtGui/qtextoption.h:99:86: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:2' may change value [-Wconversion] inline void setTextDirection(Qt::LayoutDirection aDirection) { this->direction = aDirection; } ^~~~~~~~~~ /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setWrapMode(QTextOption::WrapMode)': /usr/include/qt4/QtGui/qtextoption.h:109:57: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] inline void setWrapMode(WrapMode wrap) { wordWrap = wrap; } ^~~~ /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setAlignment(Qt::Alignment)': /usr/include/qt4/QtGui/qtextoption.h:149:11: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] { align = aalignment; } ^~~~~~~~~~ In file included from /usr/include/qt4/QtCore/QVector:1, from common.h:17, from FileHistory.h:14, from fileview.cpp:10: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:99:61: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:165:64: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPoint]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:66:59: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPointF]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:140:62: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QTextLength]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QTextLength]' /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QTextLength]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QTextLength]' /usr/include/qt4/QtGui/qtextformat.h:857:62: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build -o ../build/filecontent.o filecontent.cpp In file included from /usr/include/qt4/QtCore/qnamespace.h:45, from /usr/include/qt4/QtCore/qobjectdefs.h:45, from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qframe.h:45, from /usr/include/qt4/QtGui/qabstractscrollarea.h:45, from /usr/include/qt4/QtGui/qabstractitemview.h:45, from /usr/include/qt4/QtGui/qlistview.h:45, from /usr/include/qt4/QtGui/qlistwidget.h:45, from /usr/include/qt4/QtGui/QListWidget:1, from filecontent.cpp:7: /usr/include/qt4/QtCore/qglobal.h:1098:62: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] template struct QIntegerForSizeof: QIntegerForSize { }; ^~~~~~~~~ In file included from /usr/include/qt4/QtCore/qrect.h:46, from /usr/include/qt4/QtGui/qpaintdevice.h:46, from /usr/include/qt4/QtGui/qwidget.h:49, from /usr/include/qt4/QtGui/qframe.h:45, from /usr/include/qt4/QtGui/qabstractscrollarea.h:45, from /usr/include/qt4/QtGui/qabstractitemview.h:45, from /usr/include/qt4/QtGui/qlistview.h:45, from /usr/include/qt4/QtGui/qlistwidget.h:45, from /usr/include/qt4/QtGui/QListWidget:1, from filecontent.cpp:7: /usr/include/qt4/QtCore/qpoint.h: In member function 'QPoint& QPoint::operator*=(float)': /usr/include/qt4/QtCore/qpoint.h:153:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h:153:34: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(const QPoint&, float)': /usr/include/qt4/QtCore/qpoint.h:174:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:174:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(float, const QPoint&)': /usr/include/qt4/QtCore/qpoint.h:183:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:183:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ In file included from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qframe.h:45, from /usr/include/qt4/QtGui/qabstractscrollarea.h:45, from /usr/include/qt4/QtGui/qabstractitemview.h:45, from /usr/include/qt4/QtGui/qlistview.h:45, from /usr/include/qt4/QtGui/qlistwidget.h:45, from /usr/include/qt4/QtGui/QListWidget:1, from filecontent.cpp:7: /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt4/QtGui/qpalette.h:105:71: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] inline void setCurrentColorGroup(ColorGroup cg) { current_group = cg; } ^~ /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt4/QtGui/qpalette.h:167:53: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] inline void resolve(uint mask) { resolve_mask = mask; } ^~~~ In file included from /usr/include/qt4/QtGui/qtextformat.h:52, from /usr/include/qt4/QtGui/qtextobject.h:46, from /usr/include/qt4/QtGui/qsyntaxhighlighter.h:50, from /usr/include/qt4/QtGui/QSyntaxHighlighter:1, from filecontent.cpp:8: /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setTextDirection(Qt::LayoutDirection)': /usr/include/qt4/QtGui/qtextoption.h:99:86: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:2' may change value [-Wconversion] inline void setTextDirection(Qt::LayoutDirection aDirection) { this->direction = aDirection; } ^~~~~~~~~~ /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setWrapMode(QTextOption::WrapMode)': /usr/include/qt4/QtGui/qtextoption.h:109:57: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] inline void setWrapMode(WrapMode wrap) { wordWrap = wrap; } ^~~~ /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setAlignment(Qt::Alignment)': /usr/include/qt4/QtGui/qtextoption.h:149:11: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] { align = aalignment; } ^~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qframe.h:45, from /usr/include/qt4/QtGui/qabstractscrollarea.h:45, from /usr/include/qt4/QtGui/qabstractitemview.h:45, from /usr/include/qt4/QtGui/qlistview.h:45, from /usr/include/qt4/QtGui/qlistwidget.h:45, from /usr/include/qt4/QtGui/QListWidget:1, from filecontent.cpp:7: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:99:61: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:165:64: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = int]': /usr/include/qt4/QtCore/qvector.h:577:9: required from 'void QVector::append(const T&) [with T = int]' filecontent.cpp:573:24: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPoint]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:66:59: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPointF]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:140:62: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = int]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = int]' /usr/include/qt4/QtCore/qvector.h:577:9: required from 'void QVector::append(const T&) [with T = int]' filecontent.cpp:573:24: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QTextLength]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QTextLength]' /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QTextLength]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QTextLength]' /usr/include/qt4/QtGui/qtextformat.h:857:62: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build -o ../build/myprocess.o myprocess.cpp In file included from /usr/include/qt4/QtCore/qnamespace.h:45, from /usr/include/qt4/QtCore/qobjectdefs.h:45, from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qcoreapplication.h:45, from /usr/include/qt4/QtGui/qapplication.h:45, from /usr/include/qt4/QtGui/QApplication:1, from myprocess.cpp:9: /usr/include/qt4/QtCore/qglobal.h:1098:62: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] template struct QIntegerForSizeof: QIntegerForSize { }; ^~~~~~~~~ In file included from /usr/include/qt4/QtGui/qapplication.h:47, from /usr/include/qt4/QtGui/QApplication:1, from myprocess.cpp:9: /usr/include/qt4/QtCore/qpoint.h: In member function 'QPoint& QPoint::operator*=(float)': /usr/include/qt4/QtCore/qpoint.h:153:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h:153:34: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(const QPoint&, float)': /usr/include/qt4/QtCore/qpoint.h:174:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:174:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(float, const QPoint&)': /usr/include/qt4/QtCore/qpoint.h:183:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:183:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build -o ../build/patchcontent.o patchcontent.cpp In file included from /usr/include/qt4/QtCore/qnamespace.h:45, from /usr/include/qt4/QtCore/qobjectdefs.h:45, from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qscrollbar.h:45, from /usr/include/qt4/QtGui/QScrollBar:1, from patchcontent.cpp:7: /usr/include/qt4/QtCore/qglobal.h:1098:62: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] template struct QIntegerForSizeof: QIntegerForSize { }; ^~~~~~~~~ In file included from /usr/include/qt4/QtCore/qrect.h:46, from /usr/include/qt4/QtGui/qpaintdevice.h:46, from /usr/include/qt4/QtGui/qwidget.h:49, from /usr/include/qt4/QtGui/qscrollbar.h:45, from /usr/include/qt4/QtGui/QScrollBar:1, from patchcontent.cpp:7: /usr/include/qt4/QtCore/qpoint.h: In member function 'QPoint& QPoint::operator*=(float)': /usr/include/qt4/QtCore/qpoint.h:153:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h:153:34: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(const QPoint&, float)': /usr/include/qt4/QtCore/qpoint.h:174:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:174:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(float, const QPoint&)': /usr/include/qt4/QtCore/qpoint.h:183:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:183:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ In file included from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qscrollbar.h:45, from /usr/include/qt4/QtGui/QScrollBar:1, from patchcontent.cpp:7: /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt4/QtGui/qpalette.h:105:71: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] inline void setCurrentColorGroup(ColorGroup cg) { current_group = cg; } ^~ /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt4/QtGui/qpalette.h:167:53: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] inline void resolve(uint mask) { resolve_mask = mask; } ^~~~ In file included from /usr/include/qt4/QtGui/qtextformat.h:52, from /usr/include/qt4/QtGui/QTextCharFormat:1, from patchcontent.cpp:8: /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setTextDirection(Qt::LayoutDirection)': /usr/include/qt4/QtGui/qtextoption.h:99:86: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:2' may change value [-Wconversion] inline void setTextDirection(Qt::LayoutDirection aDirection) { this->direction = aDirection; } ^~~~~~~~~~ /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setWrapMode(QTextOption::WrapMode)': /usr/include/qt4/QtGui/qtextoption.h:109:57: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] inline void setWrapMode(WrapMode wrap) { wordWrap = wrap; } ^~~~ /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setAlignment(Qt::Alignment)': /usr/include/qt4/QtGui/qtextoption.h:149:11: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] { align = aalignment; } ^~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qscrollbar.h:45, from /usr/include/qt4/QtGui/QScrollBar:1, from patchcontent.cpp:7: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:99:61: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:165:64: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = int]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = int]' patchcontent.cpp:231:24: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = int]': /usr/include/qt4/QtCore/qvector.h:577:9: required from 'void QVector::append(const T&) [with T = int]' patchcontent.cpp:251:27: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPoint]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:66:59: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPointF]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:140:62: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = PatchContent::MatchSelection]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = PatchContent::MatchSelection]' /usr/include/qt4/QtCore/qvector.h:577:9: required from 'void QVector::append(const T&) [with T = PatchContent::MatchSelection]' patchcontent.cpp:339:34: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QTextLength]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QTextLength]' /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QTextLength]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QTextLength]' /usr/include/qt4/QtGui/qtextformat.h:857:62: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build -o ../build/qgit.o qgit.cpp In file included from /usr/include/qt4/QtCore/qnamespace.h:45, from /usr/include/qt4/QtCore/qobjectdefs.h:45, from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsettings.h:45, from /usr/include/qt4/QtCore/QSettings:1, from qgit.cpp:7: /usr/include/qt4/QtCore/qglobal.h:1098:62: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] template struct QIntegerForSizeof: QIntegerForSize { }; ^~~~~~~~~ In file included from /usr/include/qt4/QtCore/qrect.h:46, from /usr/include/qt4/QtGui/qpaintdevice.h:46, from /usr/include/qt4/QtGui/qwidget.h:49, from /usr/include/qt4/QtGui/qaction.h:47, from /usr/include/qt4/QtGui/QAction:1, from ../build/ui_mainview.h:13, from mainimpl.h:15, from qgit.cpp:9: /usr/include/qt4/QtCore/qpoint.h: In member function 'QPoint& QPoint::operator*=(float)': /usr/include/qt4/QtCore/qpoint.h:153:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h:153:34: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(const QPoint&, float)': /usr/include/qt4/QtCore/qpoint.h:174:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:174:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(float, const QPoint&)': /usr/include/qt4/QtCore/qpoint.h:183:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:183:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ In file included from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qaction.h:47, from /usr/include/qt4/QtGui/QAction:1, from ../build/ui_mainview.h:13, from mainimpl.h:15, from qgit.cpp:9: /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt4/QtGui/qpalette.h:105:71: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] inline void setCurrentColorGroup(ColorGroup cg) { current_group = cg; } ^~ /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt4/QtGui/qpalette.h:167:53: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] inline void resolve(uint mask) { resolve_mask = mask; } ^~~~ In file included from /usr/include/qt4/QtCore/QVector:1, from common.h:17, from qgit.cpp:8: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:99:61: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:165:64: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPoint]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:66:59: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPointF]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:140:62: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build -o ../build/patchview.o patchview.cpp In file included from /usr/include/qt4/QtCore/qnamespace.h:45, from /usr/include/qt4/QtCore/qobjectdefs.h:45, from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qscrollbar.h:45, from /usr/include/qt4/QtGui/QScrollBar:1, from patchview.cpp:9: /usr/include/qt4/QtCore/qglobal.h:1098:62: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] template struct QIntegerForSizeof: QIntegerForSize { }; ^~~~~~~~~ In file included from /usr/include/qt4/QtCore/qrect.h:46, from /usr/include/qt4/QtGui/qpaintdevice.h:46, from /usr/include/qt4/QtGui/qwidget.h:49, from /usr/include/qt4/QtGui/qscrollbar.h:45, from /usr/include/qt4/QtGui/QScrollBar:1, from patchview.cpp:9: /usr/include/qt4/QtCore/qpoint.h: In member function 'QPoint& QPoint::operator*=(float)': /usr/include/qt4/QtCore/qpoint.h:153:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h:153:34: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(const QPoint&, float)': /usr/include/qt4/QtCore/qpoint.h:174:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:174:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(float, const QPoint&)': /usr/include/qt4/QtCore/qpoint.h:183:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:183:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ In file included from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qscrollbar.h:45, from /usr/include/qt4/QtGui/QScrollBar:1, from patchview.cpp:9: /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt4/QtGui/qpalette.h:105:71: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] inline void setCurrentColorGroup(ColorGroup cg) { current_group = cg; } ^~ /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt4/QtGui/qpalette.h:167:53: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] inline void resolve(uint mask) { resolve_mask = mask; } ^~~~ In file included from /usr/include/qt4/QtGui/qtextedit.h:47, from /usr/include/qt4/QtGui/QTextEdit:1, from patchcontent.h:11, from patchview.cpp:13: /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setTextDirection(Qt::LayoutDirection)': /usr/include/qt4/QtGui/qtextoption.h:99:86: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:2' may change value [-Wconversion] inline void setTextDirection(Qt::LayoutDirection aDirection) { this->direction = aDirection; } ^~~~~~~~~~ /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setWrapMode(QTextOption::WrapMode)': /usr/include/qt4/QtGui/qtextoption.h:109:57: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] inline void setWrapMode(WrapMode wrap) { wordWrap = wrap; } ^~~~ /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setAlignment(Qt::Alignment)': /usr/include/qt4/QtGui/qtextoption.h:149:11: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] { align = aalignment; } ^~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qscrollbar.h:45, from /usr/include/qt4/QtGui/QScrollBar:1, from patchview.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:99:61: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:165:64: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPoint]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:66:59: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPointF]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:140:62: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QTextLength]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QTextLength]' /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QTextLength]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QTextLength]' /usr/include/qt4/QtGui/qtextformat.h:857:62: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build -o ../build/revdesc.o revdesc.cpp In file included from /usr/include/qt4/QtCore/qnamespace.h:45, from /usr/include/qt4/QtCore/qobjectdefs.h:45, from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qcoreapplication.h:45, from /usr/include/qt4/QtGui/qapplication.h:45, from /usr/include/qt4/QtGui/QApplication:1, from revdesc.cpp:6: /usr/include/qt4/QtCore/qglobal.h:1098:62: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] template struct QIntegerForSizeof: QIntegerForSize { }; ^~~~~~~~~ In file included from /usr/include/qt4/QtGui/qapplication.h:47, from /usr/include/qt4/QtGui/QApplication:1, from revdesc.cpp:6: /usr/include/qt4/QtCore/qpoint.h: In member function 'QPoint& QPoint::operator*=(float)': /usr/include/qt4/QtCore/qpoint.h:153:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h:153:34: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(const QPoint&, float)': /usr/include/qt4/QtCore/qpoint.h:174:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:174:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(float, const QPoint&)': /usr/include/qt4/QtCore/qpoint.h:183:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:183:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ In file included from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qmenu.h:45, from /usr/include/qt4/QtGui/QMenu:1, from revdesc.cpp:7: /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt4/QtGui/qpalette.h:105:71: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] inline void setCurrentColorGroup(ColorGroup cg) { current_group = cg; } ^~ /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt4/QtGui/qpalette.h:167:53: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] inline void resolve(uint mask) { resolve_mask = mask; } ^~~~ In file included from /usr/include/qt4/QtGui/qtextedit.h:47, from /usr/include/qt4/QtGui/qtextbrowser.h:45, from /usr/include/qt4/QtGui/QTextBrowser:1, from revdesc.h:9, from revdesc.cpp:12: /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setTextDirection(Qt::LayoutDirection)': /usr/include/qt4/QtGui/qtextoption.h:99:86: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:2' may change value [-Wconversion] inline void setTextDirection(Qt::LayoutDirection aDirection) { this->direction = aDirection; } ^~~~~~~~~~ /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setWrapMode(QTextOption::WrapMode)': /usr/include/qt4/QtGui/qtextoption.h:109:57: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] inline void setWrapMode(WrapMode wrap) { wordWrap = wrap; } ^~~~ /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setAlignment(Qt::Alignment)': /usr/include/qt4/QtGui/qtextoption.h:149:11: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] { align = aalignment; } ^~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qmenu.h:45, from /usr/include/qt4/QtGui/QMenu:1, from revdesc.cpp:7: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:99:61: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:165:64: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPoint]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:66:59: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPointF]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:140:62: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QTextLength]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QTextLength]' /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QTextLength]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QTextLength]' /usr/include/qt4/QtGui/qtextformat.h:857:62: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build -o ../build/listview.o listview.cpp In file included from /usr/include/qt4/QtCore/qnamespace.h:45, from /usr/include/qt4/QtCore/qobjectdefs.h:45, from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qcoreapplication.h:45, from /usr/include/qt4/QtGui/qapplication.h:45, from /usr/include/qt4/QtGui/QApplication:1, from listview.cpp:9: /usr/include/qt4/QtCore/qglobal.h:1098:62: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] template struct QIntegerForSizeof: QIntegerForSize { }; ^~~~~~~~~ In file included from /usr/include/qt4/QtGui/qapplication.h:47, from /usr/include/qt4/QtGui/QApplication:1, from listview.cpp:9: /usr/include/qt4/QtCore/qpoint.h: In member function 'QPoint& QPoint::operator*=(float)': /usr/include/qt4/QtCore/qpoint.h:153:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h:153:34: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(const QPoint&, float)': /usr/include/qt4/QtCore/qpoint.h:174:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:174:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(float, const QPoint&)': /usr/include/qt4/QtCore/qpoint.h:183:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:183:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ In file included from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qframe.h:45, from /usr/include/qt4/QtGui/qabstractscrollarea.h:45, from /usr/include/qt4/QtGui/qabstractitemview.h:45, from /usr/include/qt4/QtGui/qheaderview.h:45, from /usr/include/qt4/QtGui/QHeaderView:1, from listview.cpp:10: /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt4/QtGui/qpalette.h:105:71: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] inline void setCurrentColorGroup(ColorGroup cg) { current_group = cg; } ^~ /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt4/QtGui/qpalette.h:167:53: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] inline void resolve(uint mask) { resolve_mask = mask; } ^~~~ In file included from /usr/include/qt4/QtGui/qpainter.h:51, from /usr/include/qt4/QtGui/QPainter:1, from listview.cpp:12: /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setTextDirection(Qt::LayoutDirection)': /usr/include/qt4/QtGui/qtextoption.h:99:86: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:2' may change value [-Wconversion] inline void setTextDirection(Qt::LayoutDirection aDirection) { this->direction = aDirection; } ^~~~~~~~~~ /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setWrapMode(QTextOption::WrapMode)': /usr/include/qt4/QtGui/qtextoption.h:109:57: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] inline void setWrapMode(WrapMode wrap) { wordWrap = wrap; } ^~~~ /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setAlignment(Qt::Alignment)': /usr/include/qt4/QtGui/qtextoption.h:149:11: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] { align = aalignment; } ^~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qframe.h:45, from /usr/include/qt4/QtGui/qabstractscrollarea.h:45, from /usr/include/qt4/QtGui/qabstractitemview.h:45, from /usr/include/qt4/QtGui/qheaderview.h:45, from /usr/include/qt4/QtGui/QHeaderView:1, from listview.cpp:10: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:99:61: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:165:64: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPoint]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:66:59: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPointF]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:140:62: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build -o ../build/rangeselectimpl.o rangeselectimpl.cpp In file included from /usr/include/qt4/QtCore/qnamespace.h:45, from /usr/include/qt4/QtCore/qobjectdefs.h:45, from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qsettings.h:45, from /usr/include/qt4/QtCore/QSettings:1, from rangeselectimpl.cpp:9: /usr/include/qt4/QtCore/qglobal.h:1098:62: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] template struct QIntegerForSizeof: QIntegerForSize { }; ^~~~~~~~~ In file included from /usr/include/qt4/QtCore/qrect.h:46, from /usr/include/qt4/QtGui/qpaintdevice.h:46, from /usr/include/qt4/QtGui/qwidget.h:49, from /usr/include/qt4/QtGui/qaction.h:47, from /usr/include/qt4/QtGui/QAction:1, from ../build/ui_rangeselect.h:13, from rangeselectimpl.h:10, from rangeselectimpl.cpp:13: /usr/include/qt4/QtCore/qpoint.h: In member function 'QPoint& QPoint::operator*=(float)': /usr/include/qt4/QtCore/qpoint.h:153:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h:153:34: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(const QPoint&, float)': /usr/include/qt4/QtCore/qpoint.h:174:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:174:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(float, const QPoint&)': /usr/include/qt4/QtCore/qpoint.h:183:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:183:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ In file included from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qaction.h:47, from /usr/include/qt4/QtGui/QAction:1, from ../build/ui_rangeselect.h:13, from rangeselectimpl.h:10, from rangeselectimpl.cpp:13: /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt4/QtGui/qpalette.h:105:71: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] inline void setCurrentColorGroup(ColorGroup cg) { current_group = cg; } ^~ /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt4/QtGui/qpalette.h:167:53: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] inline void resolve(uint mask) { resolve_mask = mask; } ^~~~ In file included from /usr/include/qt4/QtGui/qtextformat.h:52, from /usr/include/qt4/QtGui/qtextcursor.h:47, from /usr/include/qt4/QtGui/qlineedit.h:46, from /usr/include/qt4/QtGui/QLineEdit:1, from ../build/ui_rangeselect.h:24, from rangeselectimpl.h:10, from rangeselectimpl.cpp:13: /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setTextDirection(Qt::LayoutDirection)': /usr/include/qt4/QtGui/qtextoption.h:99:86: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:2' may change value [-Wconversion] inline void setTextDirection(Qt::LayoutDirection aDirection) { this->direction = aDirection; } ^~~~~~~~~~ /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setWrapMode(QTextOption::WrapMode)': /usr/include/qt4/QtGui/qtextoption.h:109:57: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] inline void setWrapMode(WrapMode wrap) { wordWrap = wrap; } ^~~~ /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setAlignment(Qt::Alignment)': /usr/include/qt4/QtGui/qtextoption.h:149:11: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] { align = aalignment; } ^~~~~~~~~~ In file included from /usr/include/qt4/QtCore/QVector:1, from common.h:17, from rangeselectimpl.cpp:11: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:99:61: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:165:64: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPoint]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:66:59: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPointF]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:140:62: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QTextLength]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QTextLength]' /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QTextLength]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QTextLength]' /usr/include/qt4/QtGui/qtextformat.h:857:62: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build -o ../build/treeview.o treeview.cpp In file included from /usr/include/qt4/QtCore/qnamespace.h:45, from /usr/include/qt4/QtCore/qobjectdefs.h:45, from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qcoreapplication.h:45, from /usr/include/qt4/QtGui/qapplication.h:45, from /usr/include/qt4/QtGui/QApplication:1, from treeview.cpp:9: /usr/include/qt4/QtCore/qglobal.h:1098:62: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] template struct QIntegerForSizeof: QIntegerForSize { }; ^~~~~~~~~ In file included from /usr/include/qt4/QtGui/qapplication.h:47, from /usr/include/qt4/QtGui/QApplication:1, from treeview.cpp:9: /usr/include/qt4/QtCore/qpoint.h: In member function 'QPoint& QPoint::operator*=(float)': /usr/include/qt4/QtCore/qpoint.h:153:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h:153:34: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(const QPoint&, float)': /usr/include/qt4/QtCore/qpoint.h:174:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:174:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(float, const QPoint&)': /usr/include/qt4/QtCore/qpoint.h:183:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:183:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ In file included from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qaction.h:47, from /usr/include/qt4/QtGui/QAction:1, from ../build/ui_mainview.h:13, from mainimpl.h:15, from treeview.cpp:13: /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt4/QtGui/qpalette.h:105:71: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] inline void setCurrentColorGroup(ColorGroup cg) { current_group = cg; } ^~ /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt4/QtGui/qpalette.h:167:53: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] inline void resolve(uint mask) { resolve_mask = mask; } ^~~~ In file included from /usr/include/qt4/QtCore/QVector:1, from exceptionmanager.h:10, from git.h:10, from treeview.cpp:11: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:99:61: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:165:64: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPoint]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:66:59: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPointF]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:140:62: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build -o ../build/common.o common.cpp In file included from /usr/include/qt4/QtGui/qrgb.h:45, from /usr/include/qt4/QtGui/qcolor.h:45, from /usr/include/qt4/QtGui/QColor:1, from common.h:10, from common.cpp:10: /usr/include/qt4/QtCore/qglobal.h:1098:62: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] template struct QIntegerForSizeof: QIntegerForSize { }; ^~~~~~~~~ In file included from /usr/include/qt4/QtCore/QVector:1, from common.h:17, from common.cpp:10: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = int]': /usr/include/qt4/QtCore/qvector.h:343:3: required from 'void QVector::resize(int) [with T = int]' /usr/include/qt4/QtCore/qdatastream.h:302:5: required from 'QDataStream& operator>>(QDataStream&, QVector&) [with T = int]' common.cpp:254:27: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QString]': /usr/include/qt4/QtCore/qvector.h:343:3: required from 'void QVector::resize(int) [with T = QString]' /usr/include/qt4/QtCore/qdatastream.h:302:5: required from 'QDataStream& operator>>(QDataStream&, QVector&) [with T = QString]' common.cpp:264:27: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector::Data' {aka 'struct QVectorTypedData'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/QVector:1, from common.h:17, from common.cpp:10: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector::Data' {aka 'struct QVectorTypedData'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/QVector:1, from common.h:17, from common.cpp:10: /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = int]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = int]' /usr/include/qt4/QtCore/qvector.h:343:3: required from 'void QVector::resize(int) [with T = int]' /usr/include/qt4/QtCore/qdatastream.h:302:5: required from 'QDataStream& operator>>(QDataStream&, QVector&) [with T = int]' common.cpp:254:27: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QString]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QString]' /usr/include/qt4/QtCore/qvector.h:343:3: required from 'void QVector::resize(int) [with T = QString]' /usr/include/qt4/QtCore/qdatastream.h:302:5: required from 'QDataStream& operator>>(QDataStream&, QVector&) [with T = QString]' common.cpp:264:27: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build -o ../build/namespace_def.o namespace_def.cpp In file included from /usr/include/qt4/QtCore/qchar.h:45, from /usr/include/qt4/QtCore/qstring.h:45, from /usr/include/qt4/QtCore/qdir.h:45, from /usr/include/qt4/QtCore/QDir:1, from namespace_def.cpp:14: /usr/include/qt4/QtCore/qglobal.h:1098:62: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] template struct QIntegerForSizeof: QIntegerForSize { }; ^~~~~~~~~ In file included from /usr/include/qt4/QtCore/qrect.h:46, from /usr/include/qt4/QtGui/qpaintdevice.h:46, from /usr/include/qt4/QtGui/qpixmap.h:45, from /usr/include/qt4/QtGui/QPixmap:1, from namespace_def.cpp:16: /usr/include/qt4/QtCore/qpoint.h: In member function 'QPoint& QPoint::operator*=(float)': /usr/include/qt4/QtCore/qpoint.h:153:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h:153:34: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(const QPoint&, float)': /usr/include/qt4/QtCore/qpoint.h:174:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:174:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(float, const QPoint&)': /usr/include/qt4/QtCore/qpoint.h:183:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:183:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ In file included from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qframe.h:45, from /usr/include/qt4/QtGui/qsplitter.h:45, from /usr/include/qt4/QtGui/QSplitter:1, from namespace_def.cpp:19: /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt4/QtGui/qpalette.h:105:71: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] inline void setCurrentColorGroup(ColorGroup cg) { current_group = cg; } ^~ /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt4/QtGui/qpalette.h:167:53: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] inline void resolve(uint mask) { resolve_mask = mask; } ^~~~ In file included from /usr/include/qt4/QtGui/qpolygon.h:45, from /usr/include/qt4/QtGui/qmatrix.h:45, from /usr/include/qt4/QtGui/qtransform.h:44, from /usr/include/qt4/QtGui/qimage.h:45, from /usr/include/qt4/QtGui/qpixmap.h:50, from /usr/include/qt4/QtGui/QPixmap:1, from namespace_def.cpp:16: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:99:61: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:165:64: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QByteArray]': /usr/include/qt4/QtCore/qvector.h:577:9: required from 'void QVector::append(const T&) [with T = QByteArray]' namespace_def.cpp:121:25: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector::Data' {aka 'struct QVectorTypedData'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qpolygon.h:45, from /usr/include/qt4/QtGui/qmatrix.h:45, from /usr/include/qt4/QtGui/qtransform.h:44, from /usr/include/qt4/QtGui/qimage.h:45, from /usr/include/qt4/QtGui/qpixmap.h:50, from /usr/include/qt4/QtGui/QPixmap:1, from namespace_def.cpp:16: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector::Data' {aka 'struct QVectorTypedData'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qpolygon.h:45, from /usr/include/qt4/QtGui/qmatrix.h:45, from /usr/include/qt4/QtGui/qtransform.h:44, from /usr/include/qt4/QtGui/qimage.h:45, from /usr/include/qt4/QtGui/qpixmap.h:50, from /usr/include/qt4/QtGui/QPixmap:1, from namespace_def.cpp:16: /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPoint]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:66:59: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPointF]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:140:62: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QByteArray]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QByteArray]' /usr/include/qt4/QtCore/qvector.h:577:9: required from 'void QVector::append(const T&) [with T = QByteArray]' namespace_def.cpp:121:25: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' /usr/lib64/qt4/bin/moc -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build cache.h -o ../build/moc_cache.cpp make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' /usr/lib64/qt4/bin/moc -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build annotate.h -o ../build/moc_annotate.cpp make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' /usr/lib64/qt4/bin/moc -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build commitimpl.h -o ../build/moc_commitimpl.cpp make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build -o ../build/FileHistory.o FileHistory.cc In file included from /usr/include/qt4/QtCore/qatomic.h:45, from /usr/include/qt4/QtCore/qvariant.h:45, from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractItemModel:1, from FileHistory.h:13, from FileHistory.cc:10: /usr/include/qt4/QtCore/qglobal.h:1098:62: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] template struct QIntegerForSizeof: QIntegerForSize { }; ^~~~~~~~~ In file included from /usr/include/qt4/QtGui/qapplication.h:47, from /usr/include/qt4/QtGui/QApplication:1, from FileHistory.cc:12: /usr/include/qt4/QtCore/qpoint.h: In member function 'QPoint& QPoint::operator*=(float)': /usr/include/qt4/QtCore/qpoint.h:153:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h:153:34: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(const QPoint&, float)': /usr/include/qt4/QtCore/qpoint.h:174:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:174:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(float, const QPoint&)': /usr/include/qt4/QtCore/qpoint.h:183:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:183:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ In file included from /usr/include/qt4/QtCore/QVector:1, from common.h:17, from FileHistory.h:14, from FileHistory.cc:10: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = int]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = int]' /usr/include/qt4/QtCore/qvector.h:398:9: required from 'QVector& QVector::operator=(const QVector&) [with T = int]' lanes.h:47:41: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'T* QVector::erase(QVector::iterator, QVector::iterator) [with T = ShaString; QVector::iterator = ShaString*]': /usr/include/qt4/QtCore/qvector.h:256:66: required from 'T* QVector::erase(QVector::iterator) [with T = ShaString; QVector::iterator = ShaString*]' /usr/include/qt4/QtCore/qvector.h:283:45: required from 'void QVector::pop_back() [with T = ShaString]' FileHistory.cc:84:23: required from here /usr/include/qt4/QtCore/qvector.h:642:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class ShaString' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(p->array + f, p->array + l, (d->size-l)*sizeof(T)); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from FileHistory.h:14, from FileHistory.cc:10: common.h:279:7: note: 'class ShaString' declared here class ShaString : public QLatin1String { ^~~~~~~~~ In file included from /usr/include/qt4/QtCore/QVector:1, from common.h:17, from FileHistory.h:14, from FileHistory.cc:10: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = int]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = int]' /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = int]' /usr/include/qt4/QtCore/qvector.h:398:9: required from 'QVector& QVector::operator=(const QVector&) [with T = int]' lanes.h:47:41: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = ShaString]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = ShaString]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = ShaString]' /usr/include/qt4/QtCore/qvector.h:250:29: required from 'T* QVector::end() [with T = ShaString; QVector::iterator = ShaString*]' /usr/include/qt4/QtCore/qvector.h:262:60: required from 'T& QVector::last() [with T = ShaString]' FileHistory.cc:80:42: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector::Data' {aka 'struct QVectorTypedData'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/QVector:1, from common.h:17, from FileHistory.h:14, from FileHistory.cc:10: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector::Data' {aka 'struct QVectorTypedData'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/QVector:1, from common.h:17, from FileHistory.h:14, from FileHistory.cc:10: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = ShaString]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = ShaString]' /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = ShaString]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = ShaString]' /usr/include/qt4/QtCore/qvector.h:250:29: required from 'T* QVector::end() [with T = ShaString; QVector::iterator = ShaString*]' /usr/include/qt4/QtCore/qvector.h:262:60: required from 'T& QVector::last() [with T = ShaString]' FileHistory.cc:80:42: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' /usr/lib64/qt4/bin/moc -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build dataloader.h -o ../build/moc_dataloader.cpp make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' /usr/lib64/qt4/bin/moc -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build consoleimpl.h -o ../build/moc_consoleimpl.cpp make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' /usr/lib64/qt4/bin/moc -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build domain.h -o ../build/moc_domain.cpp make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' /usr/lib64/qt4/bin/moc -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build filecontent.h -o ../build/moc_filecontent.cpp make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' /usr/lib64/qt4/bin/moc -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build filelist.h -o ../build/moc_filelist.cpp make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' /usr/lib64/qt4/bin/moc -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build git.h -o ../build/moc_git.cpp make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' /usr/lib64/qt4/bin/moc -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build customactionimpl.h -o ../build/moc_customactionimpl.cpp make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' /usr/lib64/qt4/bin/moc -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build mainimpl.h -o ../build/moc_mainimpl.cpp make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' /usr/lib64/qt4/bin/moc -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build fileview.h -o ../build/moc_fileview.cpp make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' /usr/lib64/qt4/bin/moc -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build listview.h -o ../build/moc_listview.cpp make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' /usr/lib64/qt4/bin/moc -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build patchview.h -o ../build/moc_patchview.cpp make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' /usr/lib64/qt4/bin/moc -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build myprocess.h -o ../build/moc_myprocess.cpp make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' /usr/lib64/qt4/bin/moc -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build revdesc.h -o ../build/moc_revdesc.cpp make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' /usr/lib64/qt4/bin/moc -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build patchcontent.h -o ../build/moc_patchcontent.cpp make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' /usr/lib64/qt4/bin/moc -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build rangeselectimpl.h -o ../build/moc_rangeselectimpl.cpp make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' /usr/lib64/qt4/bin/moc -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build revsview.h -o ../build/moc_revsview.cpp make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' /usr/lib64/qt4/bin/moc -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build settingsimpl.h -o ../build/moc_settingsimpl.cpp make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' /usr/lib64/qt4/bin/moc -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build smartbrowse.h -o ../build/moc_smartbrowse.cpp make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' /usr/lib64/qt4/bin/moc -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build FileHistory.h -o ../build/moc_FileHistory.cpp make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' /usr/lib64/qt4/bin/rcc -name icons icons.qrc -o ../build/qrc_icons.cpp make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' /usr/lib64/qt4/bin/moc -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build treeview.h -o ../build/moc_treeview.cpp make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build -o ../build/moc_cache.o ../build/moc_cache.cpp In file included from /usr/include/qt4/QtCore/qiterator.h:45, from /usr/include/qt4/QtCore/qvector.h:45, from /usr/include/qt4/QtCore/QVector:1, from ../build/../src/exceptionmanager.h:10, from ../build/../src/git.h:10, from ../build/../src/cache.h:10, from ../build/moc_cache.cpp:9: /usr/include/qt4/QtCore/qglobal.h:1098:62: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] template struct QIntegerForSizeof: QIntegerForSize { }; ^~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build -o ../build/smartbrowse.o smartbrowse.cpp In file included from /usr/include/qt4/QtCore/qnamespace.h:45, from /usr/include/qt4/QtCore/qobjectdefs.h:45, from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qevent.h:45, from /usr/include/qt4/QtGui/QContextMenuEvent:1, from smartbrowse.cpp:7: /usr/include/qt4/QtCore/qglobal.h:1098:62: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] template struct QIntegerForSizeof: QIntegerForSize { }; ^~~~~~~~~ In file included from /usr/include/qt4/QtCore/qrect.h:46, from /usr/include/qt4/QtGui/qregion.h:46, from /usr/include/qt4/QtGui/qevent.h:47, from /usr/include/qt4/QtGui/QContextMenuEvent:1, from smartbrowse.cpp:7: /usr/include/qt4/QtCore/qpoint.h: In member function 'QPoint& QPoint::operator*=(float)': /usr/include/qt4/QtCore/qpoint.h:153:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h:153:34: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(const QPoint&, float)': /usr/include/qt4/QtCore/qpoint.h:174:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:174:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(float, const QPoint&)': /usr/include/qt4/QtCore/qpoint.h:183:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:183:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ In file included from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qmenu.h:45, from /usr/include/qt4/QtGui/QMenu:1, from smartbrowse.cpp:8: /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt4/QtGui/qpalette.h:105:71: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] inline void setCurrentColorGroup(ColorGroup cg) { current_group = cg; } ^~ /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt4/QtGui/qpalette.h:167:53: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] inline void resolve(uint mask) { resolve_mask = mask; } ^~~~ In file included from /usr/include/qt4/QtGui/qpainter.h:51, from /usr/include/qt4/QtGui/QPainter:1, from smartbrowse.cpp:9: /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setTextDirection(Qt::LayoutDirection)': /usr/include/qt4/QtGui/qtextoption.h:99:86: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:2' may change value [-Wconversion] inline void setTextDirection(Qt::LayoutDirection aDirection) { this->direction = aDirection; } ^~~~~~~~~~ /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setWrapMode(QTextOption::WrapMode)': /usr/include/qt4/QtGui/qtextoption.h:109:57: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] inline void setWrapMode(WrapMode wrap) { wordWrap = wrap; } ^~~~ /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setAlignment(Qt::Alignment)': /usr/include/qt4/QtGui/qtextoption.h:149:11: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] { align = aalignment; } ^~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qmenu.h:45, from /usr/include/qt4/QtGui/QMenu:1, from smartbrowse.cpp:8: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:99:61: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:165:64: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPoint]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:66:59: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPointF]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:140:62: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QTextLength]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QTextLength]' /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QTextLength]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QTextLength]' /usr/include/qt4/QtGui/qtextformat.h:857:62: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build -o ../build/moc_annotate.o ../build/moc_annotate.cpp In file included from /usr/include/qt4/QtCore/qnamespace.h:45, from /usr/include/qt4/QtCore/qobjectdefs.h:45, from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/QObject:1, from ../build/../src/annotate.h:10, from ../build/moc_annotate.cpp:9: /usr/include/qt4/QtCore/qglobal.h:1098:62: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] template struct QIntegerForSizeof: QIntegerForSize { }; ^~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build -o ../build/revsview.o revsview.cpp In file included from /usr/include/qt4/QtCore/qnamespace.h:45, from /usr/include/qt4/QtCore/qobjectdefs.h:45, from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qmenu.h:45, from /usr/include/qt4/QtGui/QMenu:1, from revsview.cpp:9: /usr/include/qt4/QtCore/qglobal.h:1098:62: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] template struct QIntegerForSizeof: QIntegerForSize { }; ^~~~~~~~~ In file included from /usr/include/qt4/QtCore/qrect.h:46, from /usr/include/qt4/QtGui/qpaintdevice.h:46, from /usr/include/qt4/QtGui/qwidget.h:49, from /usr/include/qt4/QtGui/qmenu.h:45, from /usr/include/qt4/QtGui/QMenu:1, from revsview.cpp:9: /usr/include/qt4/QtCore/qpoint.h: In member function 'QPoint& QPoint::operator*=(float)': /usr/include/qt4/QtCore/qpoint.h:153:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h:153:34: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(const QPoint&, float)': /usr/include/qt4/QtCore/qpoint.h:174:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:174:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(float, const QPoint&)': /usr/include/qt4/QtCore/qpoint.h:183:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:183:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ In file included from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qmenu.h:45, from /usr/include/qt4/QtGui/QMenu:1, from revsview.cpp:9: /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt4/QtGui/qpalette.h:105:71: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] inline void setCurrentColorGroup(ColorGroup cg) { current_group = cg; } ^~ /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt4/QtGui/qpalette.h:167:53: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] inline void resolve(uint mask) { resolve_mask = mask; } ^~~~ In file included from /usr/include/qt4/QtGui/qtextedit.h:47, from /usr/include/qt4/QtGui/qtextbrowser.h:45, from /usr/include/qt4/QtGui/QTextBrowser:1, from revdesc.h:9, from revsview.cpp:17: /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setTextDirection(Qt::LayoutDirection)': /usr/include/qt4/QtGui/qtextoption.h:99:86: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:2' may change value [-Wconversion] inline void setTextDirection(Qt::LayoutDirection aDirection) { this->direction = aDirection; } ^~~~~~~~~~ /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setWrapMode(QTextOption::WrapMode)': /usr/include/qt4/QtGui/qtextoption.h:109:57: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] inline void setWrapMode(WrapMode wrap) { wordWrap = wrap; } ^~~~ /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setAlignment(Qt::Alignment)': /usr/include/qt4/QtGui/qtextoption.h:149:11: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] { align = aalignment; } ^~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qmenu.h:45, from /usr/include/qt4/QtGui/QMenu:1, from revsview.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:99:61: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:165:64: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPoint]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:66:59: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPointF]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:140:62: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QSplitter*]': /usr/include/qt4/QtCore/qvector.h:577:9: required from 'void QVector::append(const T&) [with T = QSplitter*]' /usr/include/qt4/QtCore/qvector.h:299:7: required from 'QVector& QVector::operator<<(const T&) [with T = QSplitter*]' revsview.cpp:40:14: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QTextLength]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QTextLength]' /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QTextLength]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QTextLength]' /usr/include/qt4/QtGui/qtextformat.h:857:62: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QSplitter*]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QSplitter*]' /usr/include/qt4/QtCore/qvector.h:577:9: required from 'void QVector::append(const T&) [with T = QSplitter*]' /usr/include/qt4/QtCore/qvector.h:299:7: required from 'QVector& QVector::operator<<(const T&) [with T = QSplitter*]' revsview.cpp:40:14: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build -o ../build/settingsimpl.o settingsimpl.cpp In file included from /usr/include/qt4/QtCore/qchar.h:45, from /usr/include/qt4/QtCore/qstring.h:45, from /usr/include/qt4/QtCore/qtextcodec.h:45, from /usr/include/qt4/QtCore/QTextCodec:1, from settingsimpl.cpp:9: /usr/include/qt4/QtCore/qglobal.h:1098:62: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] template struct QIntegerForSizeof: QIntegerForSize { }; ^~~~~~~~~ In file included from /usr/include/qt4/QtCore/qrect.h:46, from /usr/include/qt4/QtGui/qpaintdevice.h:46, from /usr/include/qt4/QtGui/qwidget.h:49, from /usr/include/qt4/QtGui/qdialog.h:45, from /usr/include/qt4/QtGui/qfiledialog.h:47, from /usr/include/qt4/QtGui/QFileDialog:1, from settingsimpl.cpp:10: /usr/include/qt4/QtCore/qpoint.h: In member function 'QPoint& QPoint::operator*=(float)': /usr/include/qt4/QtCore/qpoint.h:153:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h:153:34: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(const QPoint&, float)': /usr/include/qt4/QtCore/qpoint.h:174:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:174:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(float, const QPoint&)': /usr/include/qt4/QtCore/qpoint.h:183:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:183:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ In file included from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdialog.h:45, from /usr/include/qt4/QtGui/qfiledialog.h:47, from /usr/include/qt4/QtGui/QFileDialog:1, from settingsimpl.cpp:10: /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt4/QtGui/qpalette.h:105:71: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] inline void setCurrentColorGroup(ColorGroup cg) { current_group = cg; } ^~ /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt4/QtGui/qpalette.h:167:53: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] inline void resolve(uint mask) { resolve_mask = mask; } ^~~~ In file included from /usr/include/qt4/QtGui/qtextformat.h:52, from /usr/include/qt4/QtGui/qtextcursor.h:47, from /usr/include/qt4/QtGui/qlineedit.h:46, from /usr/include/qt4/QtGui/QLineEdit:1, from ../build/ui_settings.h:24, from settingsimpl.h:10, from settingsimpl.cpp:15: /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setTextDirection(Qt::LayoutDirection)': /usr/include/qt4/QtGui/qtextoption.h:99:86: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:2' may change value [-Wconversion] inline void setTextDirection(Qt::LayoutDirection aDirection) { this->direction = aDirection; } ^~~~~~~~~~ /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setWrapMode(QTextOption::WrapMode)': /usr/include/qt4/QtGui/qtextoption.h:109:57: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] inline void setWrapMode(WrapMode wrap) { wordWrap = wrap; } ^~~~ /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setAlignment(Qt::Alignment)': /usr/include/qt4/QtGui/qtextoption.h:149:11: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] { align = aalignment; } ^~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdialog.h:45, from /usr/include/qt4/QtGui/qfiledialog.h:47, from /usr/include/qt4/QtGui/QFileDialog:1, from settingsimpl.cpp:10: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:99:61: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:165:64: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPoint]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:66:59: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPointF]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:140:62: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QTextLength]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QTextLength]' /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QTextLength]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QTextLength]' /usr/include/qt4/QtGui/qtextformat.h:857:62: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build -o ../build/moc_commitimpl.o ../build/moc_commitimpl.cpp In file included from /usr/include/qt4/QtCore/qatomic.h:45, from /usr/include/qt4/QtCore/qvariant.h:45, from /usr/include/qt4/QtCore/QVariant:1, from ../build/ui_commit.h:12, from ../build/../src/commitimpl.h:10, from ../build/moc_commitimpl.cpp:9: /usr/include/qt4/QtCore/qglobal.h:1098:62: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] template struct QIntegerForSizeof: QIntegerForSize { }; ^~~~~~~~~ In file included from /usr/include/qt4/QtCore/qrect.h:46, from /usr/include/qt4/QtGui/qpaintdevice.h:46, from /usr/include/qt4/QtGui/qwidget.h:49, from /usr/include/qt4/QtGui/qaction.h:47, from /usr/include/qt4/QtGui/QAction:1, from ../build/ui_commit.h:13, from ../build/../src/commitimpl.h:10, from ../build/moc_commitimpl.cpp:9: /usr/include/qt4/QtCore/qpoint.h: In member function 'QPoint& QPoint::operator*=(float)': /usr/include/qt4/QtCore/qpoint.h:153:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h:153:34: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(const QPoint&, float)': /usr/include/qt4/QtCore/qpoint.h:174:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:174:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(float, const QPoint&)': /usr/include/qt4/QtCore/qpoint.h:183:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:183:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ In file included from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qaction.h:47, from /usr/include/qt4/QtGui/QAction:1, from ../build/ui_commit.h:13, from ../build/../src/commitimpl.h:10, from ../build/moc_commitimpl.cpp:9: /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt4/QtGui/qpalette.h:105:71: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] inline void setCurrentColorGroup(ColorGroup cg) { current_group = cg; } ^~ /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt4/QtGui/qpalette.h:167:53: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] inline void resolve(uint mask) { resolve_mask = mask; } ^~~~ In file included from /usr/include/qt4/QtGui/qtextedit.h:47, from /usr/include/qt4/QtGui/QTextEdit:1, from ../build/ui_commit.h:22, from ../build/../src/commitimpl.h:10, from ../build/moc_commitimpl.cpp:9: /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setTextDirection(Qt::LayoutDirection)': /usr/include/qt4/QtGui/qtextoption.h:99:86: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:2' may change value [-Wconversion] inline void setTextDirection(Qt::LayoutDirection aDirection) { this->direction = aDirection; } ^~~~~~~~~~ /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setWrapMode(QTextOption::WrapMode)': /usr/include/qt4/QtGui/qtextoption.h:109:57: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] inline void setWrapMode(WrapMode wrap) { wordWrap = wrap; } ^~~~ /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setAlignment(Qt::Alignment)': /usr/include/qt4/QtGui/qtextoption.h:149:11: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] { align = aalignment; } ^~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qaction.h:47, from /usr/include/qt4/QtGui/QAction:1, from ../build/ui_commit.h:13, from ../build/../src/commitimpl.h:10, from ../build/moc_commitimpl.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:99:61: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:165:64: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPoint]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:66:59: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPointF]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:140:62: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QTextLength]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QTextLength]' /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QTextLength]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QTextLength]' /usr/include/qt4/QtGui/qtextformat.h:857:62: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build -o ../build/moc_customactionimpl.o ../build/moc_customactionimpl.cpp In file included from /usr/include/qt4/QtCore/qatomic.h:45, from /usr/include/qt4/QtCore/qvariant.h:45, from /usr/include/qt4/QtCore/QVariant:1, from ../build/ui_customaction.h:12, from ../build/../src/customactionimpl.h:12, from ../build/moc_customactionimpl.cpp:9: /usr/include/qt4/QtCore/qglobal.h:1098:62: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] template struct QIntegerForSizeof: QIntegerForSize { }; ^~~~~~~~~ In file included from /usr/include/qt4/QtCore/qrect.h:46, from /usr/include/qt4/QtGui/qpaintdevice.h:46, from /usr/include/qt4/QtGui/qwidget.h:49, from /usr/include/qt4/QtGui/qaction.h:47, from /usr/include/qt4/QtGui/QAction:1, from ../build/ui_customaction.h:13, from ../build/../src/customactionimpl.h:12, from ../build/moc_customactionimpl.cpp:9: /usr/include/qt4/QtCore/qpoint.h: In member function 'QPoint& QPoint::operator*=(float)': /usr/include/qt4/QtCore/qpoint.h:153:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h:153:34: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(const QPoint&, float)': /usr/include/qt4/QtCore/qpoint.h:174:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:174:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(float, const QPoint&)': /usr/include/qt4/QtCore/qpoint.h:183:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:183:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ In file included from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qaction.h:47, from /usr/include/qt4/QtGui/QAction:1, from ../build/ui_customaction.h:13, from ../build/../src/customactionimpl.h:12, from ../build/moc_customactionimpl.cpp:9: /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt4/QtGui/qpalette.h:105:71: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] inline void setCurrentColorGroup(ColorGroup cg) { current_group = cg; } ^~ /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt4/QtGui/qpalette.h:167:53: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] inline void resolve(uint mask) { resolve_mask = mask; } ^~~~ In file included from /usr/include/qt4/QtGui/qtextedit.h:47, from /usr/include/qt4/QtGui/QTextEdit:1, from ../build/ui_customaction.h:25, from ../build/../src/customactionimpl.h:12, from ../build/moc_customactionimpl.cpp:9: /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setTextDirection(Qt::LayoutDirection)': /usr/include/qt4/QtGui/qtextoption.h:99:86: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:2' may change value [-Wconversion] inline void setTextDirection(Qt::LayoutDirection aDirection) { this->direction = aDirection; } ^~~~~~~~~~ /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setWrapMode(QTextOption::WrapMode)': /usr/include/qt4/QtGui/qtextoption.h:109:57: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] inline void setWrapMode(WrapMode wrap) { wordWrap = wrap; } ^~~~ /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setAlignment(Qt::Alignment)': /usr/include/qt4/QtGui/qtextoption.h:149:11: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] { align = aalignment; } ^~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qaction.h:47, from /usr/include/qt4/QtGui/QAction:1, from ../build/ui_customaction.h:13, from ../build/../src/customactionimpl.h:12, from ../build/moc_customactionimpl.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:99:61: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:165:64: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPoint]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:66:59: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPointF]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:140:62: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QTextLength]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QTextLength]' /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QTextLength]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QTextLength]' /usr/include/qt4/QtGui/qtextformat.h:857:62: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build -o ../build/moc_domain.o ../build/moc_domain.cpp In file included from /usr/include/qt4/QtCore/qnamespace.h:45, from /usr/include/qt4/QtCore/qobjectdefs.h:45, from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/QObject:1, from ../build/../src/domain.h:10, from ../build/moc_domain.cpp:9: /usr/include/qt4/QtCore/qglobal.h:1098:62: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] template struct QIntegerForSizeof: QIntegerForSize { }; ^~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build -o ../build/moc_consoleimpl.o ../build/moc_consoleimpl.cpp In file included from /usr/include/qt4/QtCore/qnamespace.h:45, from /usr/include/qt4/QtCore/qobjectdefs.h:45, from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qevent.h:45, from /usr/include/qt4/QtGui/QCloseEvent:1, from ../build/../src/consoleimpl.h:12, from ../build/moc_consoleimpl.cpp:9: /usr/include/qt4/QtCore/qglobal.h:1098:62: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] template struct QIntegerForSizeof: QIntegerForSize { }; ^~~~~~~~~ In file included from /usr/include/qt4/QtCore/qrect.h:46, from /usr/include/qt4/QtGui/qregion.h:46, from /usr/include/qt4/QtGui/qevent.h:47, from /usr/include/qt4/QtGui/QCloseEvent:1, from ../build/../src/consoleimpl.h:12, from ../build/moc_consoleimpl.cpp:9: /usr/include/qt4/QtCore/qpoint.h: In member function 'QPoint& QPoint::operator*=(float)': /usr/include/qt4/QtCore/qpoint.h:153:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h:153:34: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(const QPoint&, float)': /usr/include/qt4/QtCore/qpoint.h:174:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:174:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(float, const QPoint&)': /usr/include/qt4/QtCore/qpoint.h:183:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:183:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ In file included from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qaction.h:47, from /usr/include/qt4/QtGui/QAction:1, from ../build/ui_console.h:13, from ../build/../src/consoleimpl.h:14, from ../build/moc_consoleimpl.cpp:9: /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt4/QtGui/qpalette.h:105:71: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] inline void setCurrentColorGroup(ColorGroup cg) { current_group = cg; } ^~ /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt4/QtGui/qpalette.h:167:53: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] inline void resolve(uint mask) { resolve_mask = mask; } ^~~~ In file included from /usr/include/qt4/QtGui/qtextedit.h:47, from /usr/include/qt4/QtGui/QTextEdit:1, from ../build/ui_console.h:23, from ../build/../src/consoleimpl.h:14, from ../build/moc_consoleimpl.cpp:9: /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setTextDirection(Qt::LayoutDirection)': /usr/include/qt4/QtGui/qtextoption.h:99:86: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:2' may change value [-Wconversion] inline void setTextDirection(Qt::LayoutDirection aDirection) { this->direction = aDirection; } ^~~~~~~~~~ /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setWrapMode(QTextOption::WrapMode)': /usr/include/qt4/QtGui/qtextoption.h:109:57: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] inline void setWrapMode(WrapMode wrap) { wordWrap = wrap; } ^~~~ /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setAlignment(Qt::Alignment)': /usr/include/qt4/QtGui/qtextoption.h:149:11: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] { align = aalignment; } ^~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qaction.h:47, from /usr/include/qt4/QtGui/QAction:1, from ../build/ui_console.h:13, from ../build/../src/consoleimpl.h:14, from ../build/moc_consoleimpl.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:99:61: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:165:64: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPoint]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:66:59: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPointF]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:140:62: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QTextLength]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QTextLength]' /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QTextLength]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QTextLength]' /usr/include/qt4/QtGui/qtextformat.h:857:62: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build -o ../build/moc_dataloader.o ../build/moc_dataloader.cpp In file included from /usr/include/qt4/QtCore/qnamespace.h:45, from /usr/include/qt4/QtCore/qobjectdefs.h:45, from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qprocess.h:45, from /usr/include/qt4/QtCore/QProcess:1, from ../build/../src/dataloader.h:10, from ../build/moc_dataloader.cpp:9: /usr/include/qt4/QtCore/qglobal.h:1098:62: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] template struct QIntegerForSizeof: QIntegerForSize { }; ^~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build -o ../build/moc_filecontent.o ../build/moc_filecontent.cpp In file included from /usr/include/qt4/QtCore/qnamespace.h:45, from /usr/include/qt4/QtCore/qobjectdefs.h:45, from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qpointer.h:45, from /usr/include/qt4/QtCore/QPointer:1, from ../build/../src/filecontent.h:10, from ../build/moc_filecontent.cpp:9: /usr/include/qt4/QtCore/qglobal.h:1098:62: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] template struct QIntegerForSizeof: QIntegerForSize { }; ^~~~~~~~~ In file included from /usr/include/qt4/QtCore/qrect.h:46, from /usr/include/qt4/QtGui/qpaintdevice.h:46, from /usr/include/qt4/QtGui/qwidget.h:49, from /usr/include/qt4/QtGui/qframe.h:45, from /usr/include/qt4/QtGui/qabstractscrollarea.h:45, from /usr/include/qt4/QtGui/qtextedit.h:45, from /usr/include/qt4/QtGui/QTextEdit:1, from ../build/../src/filecontent.h:11, from ../build/moc_filecontent.cpp:9: /usr/include/qt4/QtCore/qpoint.h: In member function 'QPoint& QPoint::operator*=(float)': /usr/include/qt4/QtCore/qpoint.h:153:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h:153:34: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(const QPoint&, float)': /usr/include/qt4/QtCore/qpoint.h:174:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:174:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(float, const QPoint&)': /usr/include/qt4/QtCore/qpoint.h:183:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:183:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ In file included from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qframe.h:45, from /usr/include/qt4/QtGui/qabstractscrollarea.h:45, from /usr/include/qt4/QtGui/qtextedit.h:45, from /usr/include/qt4/QtGui/QTextEdit:1, from ../build/../src/filecontent.h:11, from ../build/moc_filecontent.cpp:9: /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt4/QtGui/qpalette.h:105:71: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] inline void setCurrentColorGroup(ColorGroup cg) { current_group = cg; } ^~ /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt4/QtGui/qpalette.h:167:53: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] inline void resolve(uint mask) { resolve_mask = mask; } ^~~~ In file included from /usr/include/qt4/QtGui/qtextedit.h:47, from /usr/include/qt4/QtGui/QTextEdit:1, from ../build/../src/filecontent.h:11, from ../build/moc_filecontent.cpp:9: /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setTextDirection(Qt::LayoutDirection)': /usr/include/qt4/QtGui/qtextoption.h:99:86: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:2' may change value [-Wconversion] inline void setTextDirection(Qt::LayoutDirection aDirection) { this->direction = aDirection; } ^~~~~~~~~~ /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setWrapMode(QTextOption::WrapMode)': /usr/include/qt4/QtGui/qtextoption.h:109:57: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] inline void setWrapMode(WrapMode wrap) { wordWrap = wrap; } ^~~~ /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setAlignment(Qt::Alignment)': /usr/include/qt4/QtGui/qtextoption.h:149:11: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] { align = aalignment; } ^~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qframe.h:45, from /usr/include/qt4/QtGui/qabstractscrollarea.h:45, from /usr/include/qt4/QtGui/qtextedit.h:45, from /usr/include/qt4/QtGui/QTextEdit:1, from ../build/../src/filecontent.h:11, from ../build/moc_filecontent.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:99:61: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:165:64: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPoint]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:66:59: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPointF]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:140:62: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QTextLength]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QTextLength]' /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QTextLength]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QTextLength]' /usr/include/qt4/QtGui/qtextformat.h:857:62: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build -o ../build/moc_fileview.o ../build/moc_fileview.cpp In file included from /usr/include/qt4/QtCore/qatomic.h:45, from /usr/include/qt4/QtCore/qvariant.h:45, from /usr/include/qt4/QtCore/QVariant:1, from ../build/ui_fileview.h:12, from ../build/../src/fileview.h:10, from ../build/moc_fileview.cpp:9: /usr/include/qt4/QtCore/qglobal.h:1098:62: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] template struct QIntegerForSizeof: QIntegerForSize { }; ^~~~~~~~~ In file included from /usr/include/qt4/QtCore/qrect.h:46, from /usr/include/qt4/QtGui/qpaintdevice.h:46, from /usr/include/qt4/QtGui/qwidget.h:49, from /usr/include/qt4/QtGui/qaction.h:47, from /usr/include/qt4/QtGui/QAction:1, from ../build/ui_fileview.h:13, from ../build/../src/fileview.h:10, from ../build/moc_fileview.cpp:9: /usr/include/qt4/QtCore/qpoint.h: In member function 'QPoint& QPoint::operator*=(float)': /usr/include/qt4/QtCore/qpoint.h:153:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h:153:34: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(const QPoint&, float)': /usr/include/qt4/QtCore/qpoint.h:174:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:174:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(float, const QPoint&)': /usr/include/qt4/QtCore/qpoint.h:183:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:183:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ In file included from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qaction.h:47, from /usr/include/qt4/QtGui/QAction:1, from ../build/ui_fileview.h:13, from ../build/../src/fileview.h:10, from ../build/moc_fileview.cpp:9: /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt4/QtGui/qpalette.h:105:71: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] inline void setCurrentColorGroup(ColorGroup cg) { current_group = cg; } ^~ /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt4/QtGui/qpalette.h:167:53: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] inline void resolve(uint mask) { resolve_mask = mask; } ^~~~ In file included from /usr/include/qt4/QtGui/qtextedit.h:47, from /usr/include/qt4/QtGui/QTextEdit:1, from ./filecontent.h:11, from ../build/ui_fileview.h:26, from ../build/../src/fileview.h:10, from ../build/moc_fileview.cpp:9: /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setTextDirection(Qt::LayoutDirection)': /usr/include/qt4/QtGui/qtextoption.h:99:86: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:2' may change value [-Wconversion] inline void setTextDirection(Qt::LayoutDirection aDirection) { this->direction = aDirection; } ^~~~~~~~~~ /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setWrapMode(QTextOption::WrapMode)': /usr/include/qt4/QtGui/qtextoption.h:109:57: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] inline void setWrapMode(WrapMode wrap) { wordWrap = wrap; } ^~~~ /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setAlignment(Qt::Alignment)': /usr/include/qt4/QtGui/qtextoption.h:149:11: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] { align = aalignment; } ^~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qaction.h:47, from /usr/include/qt4/QtGui/QAction:1, from ../build/ui_fileview.h:13, from ../build/../src/fileview.h:10, from ../build/moc_fileview.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:99:61: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:165:64: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPoint]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:66:59: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPointF]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:140:62: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QTextLength]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QTextLength]' /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QTextLength]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QTextLength]' /usr/include/qt4/QtGui/qtextformat.h:857:62: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build -o ../build/moc_filelist.o ../build/moc_filelist.cpp In file included from /usr/include/qt4/QtCore/qnamespace.h:45, from /usr/include/qt4/QtCore/qobjectdefs.h:45, from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qframe.h:45, from /usr/include/qt4/QtGui/qabstractscrollarea.h:45, from /usr/include/qt4/QtGui/qabstractitemview.h:45, from /usr/include/qt4/QtGui/qlistview.h:45, from /usr/include/qt4/QtGui/qlistwidget.h:45, from /usr/include/qt4/QtGui/QListWidget:1, from ../build/../src/filelist.h:9, from ../build/moc_filelist.cpp:9: /usr/include/qt4/QtCore/qglobal.h:1098:62: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] template struct QIntegerForSizeof: QIntegerForSize { }; ^~~~~~~~~ In file included from /usr/include/qt4/QtCore/qrect.h:46, from /usr/include/qt4/QtGui/qpaintdevice.h:46, from /usr/include/qt4/QtGui/qwidget.h:49, from /usr/include/qt4/QtGui/qframe.h:45, from /usr/include/qt4/QtGui/qabstractscrollarea.h:45, from /usr/include/qt4/QtGui/qabstractitemview.h:45, from /usr/include/qt4/QtGui/qlistview.h:45, from /usr/include/qt4/QtGui/qlistwidget.h:45, from /usr/include/qt4/QtGui/QListWidget:1, from ../build/../src/filelist.h:9, from ../build/moc_filelist.cpp:9: /usr/include/qt4/QtCore/qpoint.h: In member function 'QPoint& QPoint::operator*=(float)': /usr/include/qt4/QtCore/qpoint.h:153:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h:153:34: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(const QPoint&, float)': /usr/include/qt4/QtCore/qpoint.h:174:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:174:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(float, const QPoint&)': /usr/include/qt4/QtCore/qpoint.h:183:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:183:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ In file included from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qframe.h:45, from /usr/include/qt4/QtGui/qabstractscrollarea.h:45, from /usr/include/qt4/QtGui/qabstractitemview.h:45, from /usr/include/qt4/QtGui/qlistview.h:45, from /usr/include/qt4/QtGui/qlistwidget.h:45, from /usr/include/qt4/QtGui/QListWidget:1, from ../build/../src/filelist.h:9, from ../build/moc_filelist.cpp:9: /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt4/QtGui/qpalette.h:105:71: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] inline void setCurrentColorGroup(ColorGroup cg) { current_group = cg; } ^~ /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt4/QtGui/qpalette.h:167:53: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] inline void resolve(uint mask) { resolve_mask = mask; } ^~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qframe.h:45, from /usr/include/qt4/QtGui/qabstractscrollarea.h:45, from /usr/include/qt4/QtGui/qabstractitemview.h:45, from /usr/include/qt4/QtGui/qlistview.h:45, from /usr/include/qt4/QtGui/qlistwidget.h:45, from /usr/include/qt4/QtGui/QListWidget:1, from ../build/../src/filelist.h:9, from ../build/moc_filelist.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:99:61: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:165:64: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPoint]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:66:59: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPointF]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:140:62: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build -o ../build/commitimpl.o commitimpl.cpp In file included from /usr/include/qt4/QtCore/qchar.h:45, from /usr/include/qt4/QtCore/qstring.h:45, from /usr/include/qt4/QtCore/qtextcodec.h:45, from /usr/include/qt4/QtCore/QTextCodec:1, from commitimpl.cpp:8: /usr/include/qt4/QtCore/qglobal.h:1098:62: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] template struct QIntegerForSizeof: QIntegerForSize { }; ^~~~~~~~~ In file included from /usr/include/qt4/QtCore/qrect.h:46, from /usr/include/qt4/QtGui/qpaintdevice.h:46, from /usr/include/qt4/QtGui/qwidget.h:49, from /usr/include/qt4/QtGui/qmenu.h:45, from /usr/include/qt4/QtGui/QMenu:1, from commitimpl.cpp:10: /usr/include/qt4/QtCore/qpoint.h: In member function 'QPoint& QPoint::operator*=(float)': /usr/include/qt4/QtCore/qpoint.h:153:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h:153:34: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(const QPoint&, float)': /usr/include/qt4/QtCore/qpoint.h:174:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:174:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(float, const QPoint&)': /usr/include/qt4/QtCore/qpoint.h:183:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:183:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ In file included from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qmenu.h:45, from /usr/include/qt4/QtGui/QMenu:1, from commitimpl.cpp:10: /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt4/QtGui/qpalette.h:105:71: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] inline void setCurrentColorGroup(ColorGroup cg) { current_group = cg; } ^~ /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt4/QtGui/qpalette.h:167:53: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] inline void resolve(uint mask) { resolve_mask = mask; } ^~~~ In file included from /usr/include/qt4/QtGui/qtextformat.h:52, from /usr/include/qt4/QtGui/qtextcursor.h:47, from /usr/include/qt4/QtGui/qlineedit.h:46, from /usr/include/qt4/QtGui/qinputdialog.h:47, from /usr/include/qt4/QtGui/QInputDialog:1, from commitimpl.cpp:14: /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setTextDirection(Qt::LayoutDirection)': /usr/include/qt4/QtGui/qtextoption.h:99:86: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:2' may change value [-Wconversion] inline void setTextDirection(Qt::LayoutDirection aDirection) { this->direction = aDirection; } ^~~~~~~~~~ /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setWrapMode(QTextOption::WrapMode)': /usr/include/qt4/QtGui/qtextoption.h:109:57: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] inline void setWrapMode(WrapMode wrap) { wordWrap = wrap; } ^~~~ /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setAlignment(Qt::Alignment)': /usr/include/qt4/QtGui/qtextoption.h:149:11: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] { align = aalignment; } ^~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qmenu.h:45, from /usr/include/qt4/QtGui/QMenu:1, from commitimpl.cpp:10: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:99:61: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:165:64: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QSplitter*]': /usr/include/qt4/QtCore/qvector.h:431:9: required from 'QVector::QVector(int, const T&) [with T = QSplitter*]' commitimpl.cpp:34:35: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPoint]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:66:59: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPointF]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:140:62: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QTextLength]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QTextLength]' /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QTextLength]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QTextLength]' /usr/include/qt4/QtGui/qtextformat.h:857:62: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build -o ../build/git.o git.cpp In file included from /usr/include/qt4/QtCore/qnamespace.h:45, from /usr/include/qt4/QtCore/qobjectdefs.h:45, from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qcoreapplication.h:45, from /usr/include/qt4/QtGui/qapplication.h:45, from /usr/include/qt4/QtGui/QApplication:1, from git.cpp:9: /usr/include/qt4/QtCore/qglobal.h:1098:62: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] template struct QIntegerForSizeof: QIntegerForSize { }; ^~~~~~~~~ In file included from /usr/include/qt4/QtGui/qapplication.h:47, from /usr/include/qt4/QtGui/QApplication:1, from git.cpp:9: /usr/include/qt4/QtCore/qpoint.h: In member function 'QPoint& QPoint::operator*=(float)': /usr/include/qt4/QtCore/qpoint.h:153:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h:153:34: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(const QPoint&, float)': /usr/include/qt4/QtCore/qpoint.h:174:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:174:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(float, const QPoint&)': /usr/include/qt4/QtCore/qpoint.h:183:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:183:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ In file included from /usr/include/qt4/QtGui/QPalette:1, from git.cpp:13: /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt4/QtGui/qpalette.h:105:71: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] inline void setCurrentColorGroup(ColorGroup cg) { current_group = cg; } ^~ /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt4/QtGui/qpalette.h:167:53: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] inline void resolve(uint mask) { resolve_mask = mask; } ^~~~ In file included from /usr/include/qt4/QtGui/qtextformat.h:52, from /usr/include/qt4/QtGui/qtextcursor.h:47, from /usr/include/qt4/QtGui/qlineedit.h:46, from /usr/include/qt4/QtGui/QLineEdit:1, from ../build/ui_rangeselect.h:24, from rangeselectimpl.h:10, from git.cpp:27: /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setTextDirection(Qt::LayoutDirection)': /usr/include/qt4/QtGui/qtextoption.h:99:86: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:2' may change value [-Wconversion] inline void setTextDirection(Qt::LayoutDirection aDirection) { this->direction = aDirection; } ^~~~~~~~~~ /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setWrapMode(QTextOption::WrapMode)': /usr/include/qt4/QtGui/qtextoption.h:109:57: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] inline void setWrapMode(WrapMode wrap) { wordWrap = wrap; } ^~~~ /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setAlignment(Qt::Alignment)': /usr/include/qt4/QtGui/qtextoption.h:149:11: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] { align = aalignment; } ^~~~~~~~~~ git.cpp: In member function 'const QString Git::getDesc(SCRef, QRegExp&, QRegExp&, bool, FileHistory*)': git.cpp:1039:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (c->committer() != c->author()) ^~ git.cpp:1041:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' ts << formatList(QStringList(Qt::escape(c->author())), "Author"); ^~ git.cpp: In member function 'void Git::flushFileNames(Git::FileNamesLoader&)': git.cpp:2795:34: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] b.resize(2 * dirs.size() * sizeof(int)); ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qpolygon.h:45, from /usr/include/qt4/QtGui/qmatrix.h:45, from /usr/include/qt4/QtGui/qtransform.h:44, from /usr/include/qt4/QtGui/qimage.h:45, from /usr/include/qt4/QtGui/qimagereader.h:46, from /usr/include/qt4/QtGui/QImageReader:1, from git.cpp:12: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:99:61: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:165:64: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = int]': /usr/include/qt4/QtCore/qvector.h:577:9: required from 'void QVector::append(const T&) [with T = int]' git.cpp:1890:30: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = ShaString]': /usr/include/qt4/QtCore/qvector.h:577:9: required from 'void QVector::append(const T&) [with T = ShaString]' git.cpp:1948:46: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector::Data' {aka 'struct QVectorTypedData'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qpolygon.h:45, from /usr/include/qt4/QtGui/qmatrix.h:45, from /usr/include/qt4/QtGui/qtransform.h:44, from /usr/include/qt4/QtGui/qimage.h:45, from /usr/include/qt4/QtGui/qimagereader.h:46, from /usr/include/qt4/QtGui/QImageReader:1, from git.cpp:12: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector::Data' {aka 'struct QVectorTypedData'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qpolygon.h:45, from /usr/include/qt4/QtGui/qmatrix.h:45, from /usr/include/qt4/QtGui/qtransform.h:44, from /usr/include/qt4/QtGui/qimage.h:45, from /usr/include/qt4/QtGui/qimagereader.h:46, from /usr/include/qt4/QtGui/QImageReader:1, from git.cpp:12: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QString]': /usr/include/qt4/QtCore/qvector.h:343:3: required from 'void QVector::resize(int) [with T = QString]' git.cpp:2037:45: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector::Data' {aka 'struct QVectorTypedData'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qpolygon.h:45, from /usr/include/qt4/QtGui/qmatrix.h:45, from /usr/include/qt4/QtGui/qtransform.h:44, from /usr/include/qt4/QtGui/qimage.h:45, from /usr/include/qt4/QtGui/qimagereader.h:46, from /usr/include/qt4/QtGui/QImageReader:1, from git.cpp:12: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector::Data' {aka 'struct QVectorTypedData'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qpolygon.h:45, from /usr/include/qt4/QtGui/qmatrix.h:45, from /usr/include/qt4/QtGui/qtransform.h:44, from /usr/include/qt4/QtGui/qimage.h:45, from /usr/include/qt4/QtGui/qimagereader.h:46, from /usr/include/qt4/QtGui/QImageReader:1, from git.cpp:12: /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QByteArray]': /usr/include/qt4/QtCore/qvector.h:577:9: required from 'void QVector::append(const T&) [with T = QByteArray]' git.cpp:2459:60: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector::Data' {aka 'struct QVectorTypedData'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qpolygon.h:45, from /usr/include/qt4/QtGui/qmatrix.h:45, from /usr/include/qt4/QtGui/qtransform.h:44, from /usr/include/qt4/QtGui/qimage.h:45, from /usr/include/qt4/QtGui/qimagereader.h:46, from /usr/include/qt4/QtGui/QImageReader:1, from git.cpp:12: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector::Data' {aka 'struct QVectorTypedData'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qpolygon.h:45, from /usr/include/qt4/QtGui/qmatrix.h:45, from /usr/include/qt4/QtGui/qtransform.h:44, from /usr/include/qt4/QtGui/qimage.h:45, from /usr/include/qt4/QtGui/qimagereader.h:46, from /usr/include/qt4/QtGui/QImageReader:1, from git.cpp:12: /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPoint]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:66:59: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPointF]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:140:62: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = int]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = int]' /usr/include/qt4/QtCore/qvector.h:577:9: required from 'void QVector::append(const T&) [with T = int]' git.cpp:1890:30: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = ShaString]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = ShaString]' /usr/include/qt4/QtCore/qvector.h:577:9: required from 'void QVector::append(const T&) [with T = ShaString]' git.cpp:1948:46: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QString]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QString]' /usr/include/qt4/QtCore/qvector.h:343:3: required from 'void QVector::resize(int) [with T = QString]' git.cpp:2037:45: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QByteArray]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QByteArray]' /usr/include/qt4/QtCore/qvector.h:577:9: required from 'void QVector::append(const T&) [with T = QByteArray]' git.cpp:2459:60: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QTextLength]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QTextLength]' /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QTextLength]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QTextLength]' /usr/include/qt4/QtGui/qtextformat.h:857:62: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build -o ../build/moc_mainimpl.o ../build/moc_mainimpl.cpp In file included from /usr/include/qt4/QtCore/qnamespace.h:45, from /usr/include/qt4/QtCore/qobjectdefs.h:45, from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qprocess.h:45, from /usr/include/qt4/QtCore/QProcess:1, from ../build/../src/mainimpl.h:10, from ../build/moc_mainimpl.cpp:9: /usr/include/qt4/QtCore/qglobal.h:1098:62: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] template struct QIntegerForSizeof: QIntegerForSize { }; ^~~~~~~~~ In file included from /usr/include/qt4/QtCore/qrect.h:46, from /usr/include/qt4/QtGui/qpaintdevice.h:46, from /usr/include/qt4/QtGui/qwidget.h:49, from /usr/include/qt4/QtGui/qaction.h:47, from /usr/include/qt4/QtGui/QAction:1, from ../build/ui_mainview.h:13, from ../build/../src/mainimpl.h:15, from ../build/moc_mainimpl.cpp:9: /usr/include/qt4/QtCore/qpoint.h: In member function 'QPoint& QPoint::operator*=(float)': /usr/include/qt4/QtCore/qpoint.h:153:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h:153:34: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(const QPoint&, float)': /usr/include/qt4/QtCore/qpoint.h:174:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:174:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(float, const QPoint&)': /usr/include/qt4/QtCore/qpoint.h:183:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:183:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ In file included from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qaction.h:47, from /usr/include/qt4/QtGui/QAction:1, from ../build/ui_mainview.h:13, from ../build/../src/mainimpl.h:15, from ../build/moc_mainimpl.cpp:9: /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt4/QtGui/qpalette.h:105:71: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] inline void setCurrentColorGroup(ColorGroup cg) { current_group = cg; } ^~ /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt4/QtGui/qpalette.h:167:53: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] inline void resolve(uint mask) { resolve_mask = mask; } ^~~~ In file included from /usr/include/qt4/QtCore/QVector:1, from ../build/../src/exceptionmanager.h:10, from ../build/../src/mainimpl.h:13, from ../build/moc_mainimpl.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:99:61: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:165:64: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPoint]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:66:59: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPointF]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:140:62: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build -o ../build/moc_git.o ../build/moc_git.cpp In file included from /usr/include/qt4/QtCore/qiterator.h:45, from /usr/include/qt4/QtCore/qvector.h:45, from /usr/include/qt4/QtCore/QVector:1, from ../build/../src/exceptionmanager.h:10, from ../build/../src/git.h:10, from ../build/moc_git.cpp:9: /usr/include/qt4/QtCore/qglobal.h:1098:62: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] template struct QIntegerForSizeof: QIntegerForSize { }; ^~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build -o ../build/moc_patchview.o ../build/moc_patchview.cpp In file included from /usr/include/qt4/QtCore/qatomic.h:45, from /usr/include/qt4/QtCore/qvariant.h:45, from /usr/include/qt4/QtCore/QVariant:1, from ../build/ui_patchview.h:12, from ../build/../src/patchview.h:10, from ../build/moc_patchview.cpp:9: /usr/include/qt4/QtCore/qglobal.h:1098:62: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] template struct QIntegerForSizeof: QIntegerForSize { }; ^~~~~~~~~ In file included from /usr/include/qt4/QtCore/qrect.h:46, from /usr/include/qt4/QtGui/qpaintdevice.h:46, from /usr/include/qt4/QtGui/qwidget.h:49, from /usr/include/qt4/QtGui/qaction.h:47, from /usr/include/qt4/QtGui/QAction:1, from ../build/ui_patchview.h:13, from ../build/../src/patchview.h:10, from ../build/moc_patchview.cpp:9: /usr/include/qt4/QtCore/qpoint.h: In member function 'QPoint& QPoint::operator*=(float)': /usr/include/qt4/QtCore/qpoint.h:153:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h:153:34: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(const QPoint&, float)': /usr/include/qt4/QtCore/qpoint.h:174:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:174:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(float, const QPoint&)': /usr/include/qt4/QtCore/qpoint.h:183:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:183:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ In file included from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qaction.h:47, from /usr/include/qt4/QtGui/QAction:1, from ../build/ui_patchview.h:13, from ../build/../src/patchview.h:10, from ../build/moc_patchview.cpp:9: /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt4/QtGui/qpalette.h:105:71: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] inline void setCurrentColorGroup(ColorGroup cg) { current_group = cg; } ^~ /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt4/QtGui/qpalette.h:167:53: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] inline void resolve(uint mask) { resolve_mask = mask; } ^~~~ In file included from /usr/include/qt4/QtGui/qtextformat.h:52, from /usr/include/qt4/QtGui/qtextcursor.h:47, from /usr/include/qt4/QtGui/qlineedit.h:46, from /usr/include/qt4/QtGui/QLineEdit:1, from ../build/ui_patchview.h:19, from ../build/../src/patchview.h:10, from ../build/moc_patchview.cpp:9: /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setTextDirection(Qt::LayoutDirection)': /usr/include/qt4/QtGui/qtextoption.h:99:86: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:2' may change value [-Wconversion] inline void setTextDirection(Qt::LayoutDirection aDirection) { this->direction = aDirection; } ^~~~~~~~~~ /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setWrapMode(QTextOption::WrapMode)': /usr/include/qt4/QtGui/qtextoption.h:109:57: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] inline void setWrapMode(WrapMode wrap) { wordWrap = wrap; } ^~~~ /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setAlignment(Qt::Alignment)': /usr/include/qt4/QtGui/qtextoption.h:149:11: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] { align = aalignment; } ^~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qaction.h:47, from /usr/include/qt4/QtGui/QAction:1, from ../build/ui_patchview.h:13, from ../build/../src/patchview.h:10, from ../build/moc_patchview.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:99:61: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:165:64: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPoint]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:66:59: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPointF]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:140:62: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QTextLength]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QTextLength]' /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QTextLength]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QTextLength]' /usr/include/qt4/QtGui/qtextformat.h:857:62: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build -o ../build/mainimpl.o mainimpl.cpp In file included from /usr/include/qt4/QtCore/qnamespace.h:45, from /usr/include/qt4/QtCore/qobjectdefs.h:45, from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qevent.h:45, from /usr/include/qt4/QtGui/QCloseEvent:1, from mainimpl.cpp:9: /usr/include/qt4/QtCore/qglobal.h:1098:62: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] template struct QIntegerForSizeof: QIntegerForSize { }; ^~~~~~~~~ In file included from /usr/include/qt4/QtCore/qrect.h:46, from /usr/include/qt4/QtGui/qregion.h:46, from /usr/include/qt4/QtGui/qevent.h:47, from /usr/include/qt4/QtGui/QCloseEvent:1, from mainimpl.cpp:9: /usr/include/qt4/QtCore/qpoint.h: In member function 'QPoint& QPoint::operator*=(float)': /usr/include/qt4/QtCore/qpoint.h:153:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h:153:34: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(const QPoint&, float)': /usr/include/qt4/QtCore/qpoint.h:174:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:174:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(float, const QPoint&)': /usr/include/qt4/QtCore/qpoint.h:183:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:183:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ In file included from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdialog.h:45, from /usr/include/qt4/QtGui/qfiledialog.h:47, from /usr/include/qt4/QtGui/QFileDialog:1, from mainimpl.cpp:12: /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt4/QtGui/qpalette.h:105:71: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] inline void setCurrentColorGroup(ColorGroup cg) { current_group = cg; } ^~ /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt4/QtGui/qpalette.h:167:53: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] inline void resolve(uint mask) { resolve_mask = mask; } ^~~~ In file included from /usr/include/qt4/QtGui/qtextformat.h:52, from /usr/include/qt4/QtGui/qtextcursor.h:47, from /usr/include/qt4/QtGui/qlineedit.h:46, from /usr/include/qt4/QtGui/qinputdialog.h:47, from /usr/include/qt4/QtGui/QInputDialog:1, from mainimpl.cpp:13: /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setTextDirection(Qt::LayoutDirection)': /usr/include/qt4/QtGui/qtextoption.h:99:86: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:2' may change value [-Wconversion] inline void setTextDirection(Qt::LayoutDirection aDirection) { this->direction = aDirection; } ^~~~~~~~~~ /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setWrapMode(QTextOption::WrapMode)': /usr/include/qt4/QtGui/qtextoption.h:109:57: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] inline void setWrapMode(WrapMode wrap) { wordWrap = wrap; } ^~~~ /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setAlignment(Qt::Alignment)': /usr/include/qt4/QtGui/qtextoption.h:149:11: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] { align = aalignment; } ^~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdialog.h:45, from /usr/include/qt4/QtGui/qfiledialog.h:47, from /usr/include/qt4/QtGui/QFileDialog:1, from mainimpl.cpp:12: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:99:61: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:165:64: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QSplitter*]': /usr/include/qt4/QtCore/qvector.h:431:9: required from 'QVector::QVector(int, const T&) [with T = QSplitter*]' mainimpl.cpp:122:39: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPoint]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:66:59: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPointF]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:140:62: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QTextLength]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QTextLength]' /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QTextLength]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QTextLength]' /usr/include/qt4/QtGui/qtextformat.h:857:62: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); mainimpl.cpp: In member function 'void MainImpl::shortCutActivated()': mainimpl.cpp:995:11: warning: this statement may fall through [-Wimplicit-fallthrough=] isKey_P = true; ~~~~~~~~^~~~~~ mainimpl.cpp:996:2: note: here case Qt::Key_F: { ^~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build -o ../build/moc_revdesc.o ../build/moc_revdesc.cpp In file included from /usr/include/qt4/QtCore/qnamespace.h:45, from /usr/include/qt4/QtCore/qobjectdefs.h:45, from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qframe.h:45, from /usr/include/qt4/QtGui/qabstractscrollarea.h:45, from /usr/include/qt4/QtGui/qtextedit.h:45, from /usr/include/qt4/QtGui/qtextbrowser.h:45, from /usr/include/qt4/QtGui/QTextBrowser:1, from ../build/../src/revdesc.h:9, from ../build/moc_revdesc.cpp:9: /usr/include/qt4/QtCore/qglobal.h:1098:62: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] template struct QIntegerForSizeof: QIntegerForSize { }; ^~~~~~~~~ In file included from /usr/include/qt4/QtCore/qrect.h:46, from /usr/include/qt4/QtGui/qpaintdevice.h:46, from /usr/include/qt4/QtGui/qwidget.h:49, from /usr/include/qt4/QtGui/qframe.h:45, from /usr/include/qt4/QtGui/qabstractscrollarea.h:45, from /usr/include/qt4/QtGui/qtextedit.h:45, from /usr/include/qt4/QtGui/qtextbrowser.h:45, from /usr/include/qt4/QtGui/QTextBrowser:1, from ../build/../src/revdesc.h:9, from ../build/moc_revdesc.cpp:9: /usr/include/qt4/QtCore/qpoint.h: In member function 'QPoint& QPoint::operator*=(float)': /usr/include/qt4/QtCore/qpoint.h:153:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h:153:34: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(const QPoint&, float)': /usr/include/qt4/QtCore/qpoint.h:174:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:174:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(float, const QPoint&)': /usr/include/qt4/QtCore/qpoint.h:183:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:183:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ In file included from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qframe.h:45, from /usr/include/qt4/QtGui/qabstractscrollarea.h:45, from /usr/include/qt4/QtGui/qtextedit.h:45, from /usr/include/qt4/QtGui/qtextbrowser.h:45, from /usr/include/qt4/QtGui/QTextBrowser:1, from ../build/../src/revdesc.h:9, from ../build/moc_revdesc.cpp:9: /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt4/QtGui/qpalette.h:105:71: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] inline void setCurrentColorGroup(ColorGroup cg) { current_group = cg; } ^~ /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt4/QtGui/qpalette.h:167:53: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] inline void resolve(uint mask) { resolve_mask = mask; } ^~~~ In file included from /usr/include/qt4/QtGui/qtextedit.h:47, from /usr/include/qt4/QtGui/qtextbrowser.h:45, from /usr/include/qt4/QtGui/QTextBrowser:1, from ../build/../src/revdesc.h:9, from ../build/moc_revdesc.cpp:9: /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setTextDirection(Qt::LayoutDirection)': /usr/include/qt4/QtGui/qtextoption.h:99:86: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:2' may change value [-Wconversion] inline void setTextDirection(Qt::LayoutDirection aDirection) { this->direction = aDirection; } ^~~~~~~~~~ /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setWrapMode(QTextOption::WrapMode)': /usr/include/qt4/QtGui/qtextoption.h:109:57: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] inline void setWrapMode(WrapMode wrap) { wordWrap = wrap; } ^~~~ /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setAlignment(Qt::Alignment)': /usr/include/qt4/QtGui/qtextoption.h:149:11: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] { align = aalignment; } ^~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qframe.h:45, from /usr/include/qt4/QtGui/qabstractscrollarea.h:45, from /usr/include/qt4/QtGui/qtextedit.h:45, from /usr/include/qt4/QtGui/qtextbrowser.h:45, from /usr/include/qt4/QtGui/QTextBrowser:1, from ../build/../src/revdesc.h:9, from ../build/moc_revdesc.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:99:61: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:165:64: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPoint]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:66:59: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPointF]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:140:62: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QTextLength]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QTextLength]' /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QTextLength]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QTextLength]' /usr/include/qt4/QtGui/qtextformat.h:857:62: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build -o ../build/moc_myprocess.o ../build/moc_myprocess.cpp In file included from /usr/include/qt4/QtCore/qnamespace.h:45, from /usr/include/qt4/QtCore/qobjectdefs.h:45, from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qiodevice.h:46, from /usr/include/qt4/QtCore/qprocess.h:45, from /usr/include/qt4/QtCore/QProcess:1, from ../build/../src/myprocess.h:10, from ../build/moc_myprocess.cpp:9: /usr/include/qt4/QtCore/qglobal.h:1098:62: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] template struct QIntegerForSizeof: QIntegerForSize { }; ^~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build -o ../build/moc_listview.o ../build/moc_listview.cpp In file included from /usr/include/qt4/QtCore/qnamespace.h:45, from /usr/include/qt4/QtCore/qobjectdefs.h:45, from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qframe.h:45, from /usr/include/qt4/QtGui/qabstractscrollarea.h:45, from /usr/include/qt4/QtGui/qabstractitemview.h:45, from /usr/include/qt4/QtGui/qtreeview.h:45, from /usr/include/qt4/QtGui/QTreeView:1, from ../build/../src/listview.h:9, from ../build/moc_listview.cpp:9: /usr/include/qt4/QtCore/qglobal.h:1098:62: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] template struct QIntegerForSizeof: QIntegerForSize { }; ^~~~~~~~~ In file included from /usr/include/qt4/QtCore/qrect.h:46, from /usr/include/qt4/QtGui/qpaintdevice.h:46, from /usr/include/qt4/QtGui/qwidget.h:49, from /usr/include/qt4/QtGui/qframe.h:45, from /usr/include/qt4/QtGui/qabstractscrollarea.h:45, from /usr/include/qt4/QtGui/qabstractitemview.h:45, from /usr/include/qt4/QtGui/qtreeview.h:45, from /usr/include/qt4/QtGui/QTreeView:1, from ../build/../src/listview.h:9, from ../build/moc_listview.cpp:9: /usr/include/qt4/QtCore/qpoint.h: In member function 'QPoint& QPoint::operator*=(float)': /usr/include/qt4/QtCore/qpoint.h:153:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h:153:34: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(const QPoint&, float)': /usr/include/qt4/QtCore/qpoint.h:174:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:174:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(float, const QPoint&)': /usr/include/qt4/QtCore/qpoint.h:183:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:183:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ In file included from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qframe.h:45, from /usr/include/qt4/QtGui/qabstractscrollarea.h:45, from /usr/include/qt4/QtGui/qabstractitemview.h:45, from /usr/include/qt4/QtGui/qtreeview.h:45, from /usr/include/qt4/QtGui/QTreeView:1, from ../build/../src/listview.h:9, from ../build/moc_listview.cpp:9: /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt4/QtGui/qpalette.h:105:71: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] inline void setCurrentColorGroup(ColorGroup cg) { current_group = cg; } ^~ /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt4/QtGui/qpalette.h:167:53: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] inline void resolve(uint mask) { resolve_mask = mask; } ^~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qframe.h:45, from /usr/include/qt4/QtGui/qabstractscrollarea.h:45, from /usr/include/qt4/QtGui/qabstractitemview.h:45, from /usr/include/qt4/QtGui/qtreeview.h:45, from /usr/include/qt4/QtGui/QTreeView:1, from ../build/../src/listview.h:9, from ../build/moc_listview.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:99:61: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:165:64: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPoint]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:66:59: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPointF]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:140:62: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build -o ../build/qrc_icons.o ../build/qrc_icons.cpp In file included from ../build/qrc_icons.cpp:9: /usr/include/qt4/QtCore/qglobal.h:1098:62: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] template struct QIntegerForSizeof: QIntegerForSize { }; ^~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build -o ../build/moc_patchcontent.o ../build/moc_patchcontent.cpp In file included from /usr/include/qt4/QtCore/qnamespace.h:45, from /usr/include/qt4/QtCore/qobjectdefs.h:45, from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qpointer.h:45, from /usr/include/qt4/QtCore/QPointer:1, from ../build/../src/patchcontent.h:10, from ../build/moc_patchcontent.cpp:9: /usr/include/qt4/QtCore/qglobal.h:1098:62: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] template struct QIntegerForSizeof: QIntegerForSize { }; ^~~~~~~~~ In file included from /usr/include/qt4/QtCore/qrect.h:46, from /usr/include/qt4/QtGui/qpaintdevice.h:46, from /usr/include/qt4/QtGui/qwidget.h:49, from /usr/include/qt4/QtGui/qframe.h:45, from /usr/include/qt4/QtGui/qabstractscrollarea.h:45, from /usr/include/qt4/QtGui/qtextedit.h:45, from /usr/include/qt4/QtGui/QTextEdit:1, from ../build/../src/patchcontent.h:11, from ../build/moc_patchcontent.cpp:9: /usr/include/qt4/QtCore/qpoint.h: In member function 'QPoint& QPoint::operator*=(float)': /usr/include/qt4/QtCore/qpoint.h:153:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h:153:34: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(const QPoint&, float)': /usr/include/qt4/QtCore/qpoint.h:174:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:174:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(float, const QPoint&)': /usr/include/qt4/QtCore/qpoint.h:183:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:183:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ In file included from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qframe.h:45, from /usr/include/qt4/QtGui/qabstractscrollarea.h:45, from /usr/include/qt4/QtGui/qtextedit.h:45, from /usr/include/qt4/QtGui/QTextEdit:1, from ../build/../src/patchcontent.h:11, from ../build/moc_patchcontent.cpp:9: /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt4/QtGui/qpalette.h:105:71: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] inline void setCurrentColorGroup(ColorGroup cg) { current_group = cg; } ^~ /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt4/QtGui/qpalette.h:167:53: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] inline void resolve(uint mask) { resolve_mask = mask; } ^~~~ In file included from /usr/include/qt4/QtGui/qtextedit.h:47, from /usr/include/qt4/QtGui/QTextEdit:1, from ../build/../src/patchcontent.h:11, from ../build/moc_patchcontent.cpp:9: /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setTextDirection(Qt::LayoutDirection)': /usr/include/qt4/QtGui/qtextoption.h:99:86: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:2' may change value [-Wconversion] inline void setTextDirection(Qt::LayoutDirection aDirection) { this->direction = aDirection; } ^~~~~~~~~~ /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setWrapMode(QTextOption::WrapMode)': /usr/include/qt4/QtGui/qtextoption.h:109:57: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] inline void setWrapMode(WrapMode wrap) { wordWrap = wrap; } ^~~~ /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setAlignment(Qt::Alignment)': /usr/include/qt4/QtGui/qtextoption.h:149:11: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] { align = aalignment; } ^~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qframe.h:45, from /usr/include/qt4/QtGui/qabstractscrollarea.h:45, from /usr/include/qt4/QtGui/qtextedit.h:45, from /usr/include/qt4/QtGui/QTextEdit:1, from ../build/../src/patchcontent.h:11, from ../build/moc_patchcontent.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:99:61: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:165:64: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPoint]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:66:59: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPointF]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:140:62: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QTextLength]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QTextLength]' /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QTextLength]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QTextLength]' /usr/include/qt4/QtGui/qtextformat.h:857:62: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build -o ../build/moc_revsview.o ../build/moc_revsview.cpp In file included from /usr/include/qt4/QtCore/qnamespace.h:45, from /usr/include/qt4/QtCore/qobjectdefs.h:45, from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/qpointer.h:45, from /usr/include/qt4/QtCore/QPointer:1, from ../build/../src/revsview.h:10, from ../build/moc_revsview.cpp:9: /usr/include/qt4/QtCore/qglobal.h:1098:62: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] template struct QIntegerForSizeof: QIntegerForSize { }; ^~~~~~~~~ In file included from /usr/include/qt4/QtCore/qrect.h:46, from /usr/include/qt4/QtGui/qpaintdevice.h:46, from /usr/include/qt4/QtGui/qwidget.h:49, from /usr/include/qt4/QtGui/qaction.h:47, from /usr/include/qt4/QtGui/QAction:1, from ../build/ui_revsview.h:13, from ../build/../src/revsview.h:11, from ../build/moc_revsview.cpp:9: /usr/include/qt4/QtCore/qpoint.h: In member function 'QPoint& QPoint::operator*=(float)': /usr/include/qt4/QtCore/qpoint.h:153:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h:153:34: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(const QPoint&, float)': /usr/include/qt4/QtCore/qpoint.h:174:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:174:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(float, const QPoint&)': /usr/include/qt4/QtCore/qpoint.h:183:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:183:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ In file included from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qaction.h:47, from /usr/include/qt4/QtGui/QAction:1, from ../build/ui_revsview.h:13, from ../build/../src/revsview.h:11, from ../build/moc_revsview.cpp:9: /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt4/QtGui/qpalette.h:105:71: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] inline void setCurrentColorGroup(ColorGroup cg) { current_group = cg; } ^~ /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt4/QtGui/qpalette.h:167:53: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] inline void resolve(uint mask) { resolve_mask = mask; } ^~~~ In file included from /usr/include/qt4/QtGui/qtextedit.h:47, from /usr/include/qt4/QtGui/QTextEdit:1, from ./patchcontent.h:11, from ../build/ui_revsview.h:25, from ../build/../src/revsview.h:11, from ../build/moc_revsview.cpp:9: /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setTextDirection(Qt::LayoutDirection)': /usr/include/qt4/QtGui/qtextoption.h:99:86: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:2' may change value [-Wconversion] inline void setTextDirection(Qt::LayoutDirection aDirection) { this->direction = aDirection; } ^~~~~~~~~~ /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setWrapMode(QTextOption::WrapMode)': /usr/include/qt4/QtGui/qtextoption.h:109:57: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] inline void setWrapMode(WrapMode wrap) { wordWrap = wrap; } ^~~~ /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setAlignment(Qt::Alignment)': /usr/include/qt4/QtGui/qtextoption.h:149:11: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] { align = aalignment; } ^~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qaction.h:47, from /usr/include/qt4/QtGui/QAction:1, from ../build/ui_revsview.h:13, from ../build/../src/revsview.h:11, from ../build/moc_revsview.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:99:61: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:165:64: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPoint]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:66:59: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPointF]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:140:62: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QTextLength]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QTextLength]' /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QTextLength]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QTextLength]' /usr/include/qt4/QtGui/qtextformat.h:857:62: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build -o ../build/moc_rangeselectimpl.o ../build/moc_rangeselectimpl.cpp In file included from /usr/include/qt4/QtCore/qatomic.h:45, from /usr/include/qt4/QtCore/qvariant.h:45, from /usr/include/qt4/QtCore/QVariant:1, from ../build/ui_rangeselect.h:12, from ../build/../src/rangeselectimpl.h:10, from ../build/moc_rangeselectimpl.cpp:9: /usr/include/qt4/QtCore/qglobal.h:1098:62: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] template struct QIntegerForSizeof: QIntegerForSize { }; ^~~~~~~~~ In file included from /usr/include/qt4/QtCore/qrect.h:46, from /usr/include/qt4/QtGui/qpaintdevice.h:46, from /usr/include/qt4/QtGui/qwidget.h:49, from /usr/include/qt4/QtGui/qaction.h:47, from /usr/include/qt4/QtGui/QAction:1, from ../build/ui_rangeselect.h:13, from ../build/../src/rangeselectimpl.h:10, from ../build/moc_rangeselectimpl.cpp:9: /usr/include/qt4/QtCore/qpoint.h: In member function 'QPoint& QPoint::operator*=(float)': /usr/include/qt4/QtCore/qpoint.h:153:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h:153:34: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(const QPoint&, float)': /usr/include/qt4/QtCore/qpoint.h:174:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:174:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(float, const QPoint&)': /usr/include/qt4/QtCore/qpoint.h:183:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:183:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ In file included from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qaction.h:47, from /usr/include/qt4/QtGui/QAction:1, from ../build/ui_rangeselect.h:13, from ../build/../src/rangeselectimpl.h:10, from ../build/moc_rangeselectimpl.cpp:9: /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt4/QtGui/qpalette.h:105:71: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] inline void setCurrentColorGroup(ColorGroup cg) { current_group = cg; } ^~ /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt4/QtGui/qpalette.h:167:53: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] inline void resolve(uint mask) { resolve_mask = mask; } ^~~~ In file included from /usr/include/qt4/QtGui/qtextformat.h:52, from /usr/include/qt4/QtGui/qtextcursor.h:47, from /usr/include/qt4/QtGui/qlineedit.h:46, from /usr/include/qt4/QtGui/QLineEdit:1, from ../build/ui_rangeselect.h:24, from ../build/../src/rangeselectimpl.h:10, from ../build/moc_rangeselectimpl.cpp:9: /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setTextDirection(Qt::LayoutDirection)': /usr/include/qt4/QtGui/qtextoption.h:99:86: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:2' may change value [-Wconversion] inline void setTextDirection(Qt::LayoutDirection aDirection) { this->direction = aDirection; } ^~~~~~~~~~ /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setWrapMode(QTextOption::WrapMode)': /usr/include/qt4/QtGui/qtextoption.h:109:57: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] inline void setWrapMode(WrapMode wrap) { wordWrap = wrap; } ^~~~ /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setAlignment(Qt::Alignment)': /usr/include/qt4/QtGui/qtextoption.h:149:11: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] { align = aalignment; } ^~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qaction.h:47, from /usr/include/qt4/QtGui/QAction:1, from ../build/ui_rangeselect.h:13, from ../build/../src/rangeselectimpl.h:10, from ../build/moc_rangeselectimpl.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:99:61: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:165:64: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPoint]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:66:59: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPointF]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:140:62: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QTextLength]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QTextLength]' /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QTextLength]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QTextLength]' /usr/include/qt4/QtGui/qtextformat.h:857:62: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build -o ../build/moc_smartbrowse.o ../build/moc_smartbrowse.cpp In file included from /usr/include/qt4/QtCore/qnamespace.h:45, from /usr/include/qt4/QtCore/qobjectdefs.h:45, from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qframe.h:45, from /usr/include/qt4/QtGui/qlabel.h:45, from /usr/include/qt4/QtGui/QLabel:1, from ../build/../src/smartbrowse.h:10, from ../build/moc_smartbrowse.cpp:9: /usr/include/qt4/QtCore/qglobal.h:1098:62: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] template struct QIntegerForSizeof: QIntegerForSize { }; ^~~~~~~~~ In file included from /usr/include/qt4/QtCore/qrect.h:46, from /usr/include/qt4/QtGui/qpaintdevice.h:46, from /usr/include/qt4/QtGui/qwidget.h:49, from /usr/include/qt4/QtGui/qframe.h:45, from /usr/include/qt4/QtGui/qlabel.h:45, from /usr/include/qt4/QtGui/QLabel:1, from ../build/../src/smartbrowse.h:10, from ../build/moc_smartbrowse.cpp:9: /usr/include/qt4/QtCore/qpoint.h: In member function 'QPoint& QPoint::operator*=(float)': /usr/include/qt4/QtCore/qpoint.h:153:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h:153:34: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(const QPoint&, float)': /usr/include/qt4/QtCore/qpoint.h:174:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:174:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(float, const QPoint&)': /usr/include/qt4/QtCore/qpoint.h:183:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:183:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ In file included from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qframe.h:45, from /usr/include/qt4/QtGui/qlabel.h:45, from /usr/include/qt4/QtGui/QLabel:1, from ../build/../src/smartbrowse.h:10, from ../build/moc_smartbrowse.cpp:9: /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt4/QtGui/qpalette.h:105:71: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] inline void setCurrentColorGroup(ColorGroup cg) { current_group = cg; } ^~ /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt4/QtGui/qpalette.h:167:53: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] inline void resolve(uint mask) { resolve_mask = mask; } ^~~~ In file included from /usr/include/qt4/QtGui/qtextedit.h:47, from /usr/include/qt4/QtGui/QTextEdit:1, from ./patchcontent.h:11, from ../build/ui_revsview.h:25, from ../build/../src/revsview.h:11, from ../build/../src/smartbrowse.h:12, from ../build/moc_smartbrowse.cpp:9: /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setTextDirection(Qt::LayoutDirection)': /usr/include/qt4/QtGui/qtextoption.h:99:86: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:2' may change value [-Wconversion] inline void setTextDirection(Qt::LayoutDirection aDirection) { this->direction = aDirection; } ^~~~~~~~~~ /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setWrapMode(QTextOption::WrapMode)': /usr/include/qt4/QtGui/qtextoption.h:109:57: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] inline void setWrapMode(WrapMode wrap) { wordWrap = wrap; } ^~~~ /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setAlignment(Qt::Alignment)': /usr/include/qt4/QtGui/qtextoption.h:149:11: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] { align = aalignment; } ^~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qframe.h:45, from /usr/include/qt4/QtGui/qlabel.h:45, from /usr/include/qt4/QtGui/QLabel:1, from ../build/../src/smartbrowse.h:10, from ../build/moc_smartbrowse.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:99:61: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:165:64: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPoint]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:66:59: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPointF]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:140:62: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QTextLength]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QTextLength]' /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QTextLength]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QTextLength]' /usr/include/qt4/QtGui/qtextformat.h:857:62: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build -o ../build/moc_settingsimpl.o ../build/moc_settingsimpl.cpp In file included from /usr/include/qt4/QtCore/qatomic.h:45, from /usr/include/qt4/QtCore/qvariant.h:45, from /usr/include/qt4/QtCore/QVariant:1, from ../build/ui_settings.h:12, from ../build/../src/settingsimpl.h:10, from ../build/moc_settingsimpl.cpp:9: /usr/include/qt4/QtCore/qglobal.h:1098:62: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] template struct QIntegerForSizeof: QIntegerForSize { }; ^~~~~~~~~ In file included from /usr/include/qt4/QtCore/qrect.h:46, from /usr/include/qt4/QtGui/qpaintdevice.h:46, from /usr/include/qt4/QtGui/qwidget.h:49, from /usr/include/qt4/QtGui/qaction.h:47, from /usr/include/qt4/QtGui/QAction:1, from ../build/ui_settings.h:13, from ../build/../src/settingsimpl.h:10, from ../build/moc_settingsimpl.cpp:9: /usr/include/qt4/QtCore/qpoint.h: In member function 'QPoint& QPoint::operator*=(float)': /usr/include/qt4/QtCore/qpoint.h:153:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h:153:34: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(const QPoint&, float)': /usr/include/qt4/QtCore/qpoint.h:174:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:174:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(float, const QPoint&)': /usr/include/qt4/QtCore/qpoint.h:183:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:183:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ In file included from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qaction.h:47, from /usr/include/qt4/QtGui/QAction:1, from ../build/ui_settings.h:13, from ../build/../src/settingsimpl.h:10, from ../build/moc_settingsimpl.cpp:9: /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt4/QtGui/qpalette.h:105:71: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] inline void setCurrentColorGroup(ColorGroup cg) { current_group = cg; } ^~ /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt4/QtGui/qpalette.h:167:53: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] inline void resolve(uint mask) { resolve_mask = mask; } ^~~~ In file included from /usr/include/qt4/QtGui/qtextformat.h:52, from /usr/include/qt4/QtGui/qtextcursor.h:47, from /usr/include/qt4/QtGui/qlineedit.h:46, from /usr/include/qt4/QtGui/QLineEdit:1, from ../build/ui_settings.h:24, from ../build/../src/settingsimpl.h:10, from ../build/moc_settingsimpl.cpp:9: /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setTextDirection(Qt::LayoutDirection)': /usr/include/qt4/QtGui/qtextoption.h:99:86: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:2' may change value [-Wconversion] inline void setTextDirection(Qt::LayoutDirection aDirection) { this->direction = aDirection; } ^~~~~~~~~~ /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setWrapMode(QTextOption::WrapMode)': /usr/include/qt4/QtGui/qtextoption.h:109:57: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] inline void setWrapMode(WrapMode wrap) { wordWrap = wrap; } ^~~~ /usr/include/qt4/QtGui/qtextoption.h: In member function 'void QTextOption::setAlignment(Qt::Alignment)': /usr/include/qt4/QtGui/qtextoption.h:149:11: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char' may change value [-Wconversion] { align = aalignment; } ^~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qaction.h:47, from /usr/include/qt4/QtGui/QAction:1, from ../build/ui_settings.h:13, from ../build/../src/settingsimpl.h:10, from ../build/moc_settingsimpl.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:99:61: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:165:64: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPoint]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:66:59: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPointF]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:140:62: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QTextLength]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QTextLength]' /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QTextLength]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QTextLength]' /usr/include/qt4/QtGui/qtextformat.h:857:62: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build -o ../build/moc_FileHistory.o ../build/moc_FileHistory.cpp In file included from /usr/include/qt4/QtCore/qatomic.h:45, from /usr/include/qt4/QtCore/qvariant.h:45, from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractItemModel:1, from ../build/../src/FileHistory.h:13, from ../build/moc_FileHistory.cpp:9: /usr/include/qt4/QtCore/qglobal.h:1098:62: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] template struct QIntegerForSizeof: QIntegerForSize { }; ^~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' g++ -c -pipe -O2 -s -pipe -frecord-gcc-switches -Wall -g -O2 -Wno-non-virtual-dtor -Wno-long-long -pedantic -Wconversion -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I/usr/X11R6/include -I../build -I../build -o ../build/moc_treeview.o ../build/moc_treeview.cpp In file included from /usr/include/qt4/QtCore/qnamespace.h:45, from /usr/include/qt4/QtCore/qobjectdefs.h:45, from /usr/include/qt4/QtGui/qwindowdefs.h:45, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/qframe.h:45, from /usr/include/qt4/QtGui/qabstractscrollarea.h:45, from /usr/include/qt4/QtGui/qabstractitemview.h:45, from /usr/include/qt4/QtGui/qtreeview.h:45, from /usr/include/qt4/QtGui/qtreewidget.h:45, from /usr/include/qt4/QtGui/QTreeWidget:1, from ../build/../src/treeview.h:12, from ../build/moc_treeview.cpp:9: /usr/include/qt4/QtCore/qglobal.h:1098:62: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] template struct QIntegerForSizeof: QIntegerForSize { }; ^~~~~~~~~ In file included from /usr/include/qt4/QtCore/qrect.h:46, from /usr/include/qt4/QtGui/qpaintdevice.h:46, from /usr/include/qt4/QtGui/qwidget.h:49, from /usr/include/qt4/QtGui/qframe.h:45, from /usr/include/qt4/QtGui/qabstractscrollarea.h:45, from /usr/include/qt4/QtGui/qabstractitemview.h:45, from /usr/include/qt4/QtGui/qtreeview.h:45, from /usr/include/qt4/QtGui/qtreewidget.h:45, from /usr/include/qt4/QtGui/QTreeWidget:1, from ../build/../src/treeview.h:12, from ../build/moc_treeview.cpp:9: /usr/include/qt4/QtCore/qpoint.h: In member function 'QPoint& QPoint::operator*=(float)': /usr/include/qt4/QtCore/qpoint.h:153:15: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h:153:34: warning: conversion from 'int' to 'float' may change value [-Wconversion] { xp = qRound(xp*c); yp = qRound(yp*c); return *this; } ^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(const QPoint&, float)': /usr/include/qt4/QtCore/qpoint.h:174:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:174:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h: In function 'const QPoint operator*(float, const QPoint&)': /usr/include/qt4/QtCore/qpoint.h:183:26: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ /usr/include/qt4/QtCore/qpoint.h:183:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] { return QPoint(qRound(p.xp*c), qRound(p.yp*c)); } ~~^~ In file included from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qframe.h:45, from /usr/include/qt4/QtGui/qabstractscrollarea.h:45, from /usr/include/qt4/QtGui/qabstractitemview.h:45, from /usr/include/qt4/QtGui/qtreeview.h:45, from /usr/include/qt4/QtGui/qtreewidget.h:45, from /usr/include/qt4/QtGui/QTreeWidget:1, from ../build/../src/treeview.h:12, from ../build/moc_treeview.cpp:9: /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::setCurrentColorGroup(QPalette::ColorGroup)': /usr/include/qt4/QtGui/qpalette.h:105:71: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned char:4' may change value [-Wconversion] inline void setCurrentColorGroup(ColorGroup cg) { current_group = cg; } ^~ /usr/include/qt4/QtGui/qpalette.h: In member function 'void QPalette::resolve(uint)': /usr/include/qt4/QtGui/qpalette.h:167:53: warning: conversion from 'uint' {aka 'unsigned int'} to 'unsigned int:28' may change value [-Wconversion] inline void resolve(uint mask) { resolve_mask = mask; } ^~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qframe.h:45, from /usr/include/qt4/QtGui/qabstractscrollarea.h:45, from /usr/include/qt4/QtGui/qabstractitemview.h:45, from /usr/include/qt4/QtGui/qtreeview.h:45, from /usr/include/qt4/QtGui/qtreewidget.h:45, from /usr/include/qt4/QtGui/QTreeWidget:1, from ../build/../src/treeview.h:12, from ../build/moc_treeview.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:99:61: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:413:9: required from 'QVector::QVector(int) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:165:64: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPoint]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPoint]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPoint]' /usr/include/qt4/QtGui/qpolygon.h:66:59: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPointF]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPointF]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QPointF]' /usr/include/qt4/QtGui/qpolygon.h:140:62: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:508:81: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *mem = QVectorData::reallocate(d, sizeOfTypedData() + (aalloc - 1) * sizeof(T), /usr/include/qt4/QtCore/qvector.h:509:78: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] sizeOfTypedData() + (d->alloc - 1) * sizeof(T), alignOfTypedData()); /usr/include/qt4/QtCore/qvector.h: In instantiation of 'QVectorData* QVector::malloc(int) [with T = QPainterPath::Element]': /usr/include/qt4/QtCore/qvector.h:494:19: required from 'void QVector::realloc(int, int) [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = QPainterPath::Element]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = QPainterPath::Element; QVector::iterator = QPainterPath::Element*]' /usr/include/qt4/QtCore/qvector.h:260:54: required from 'T& QVector::first() [with T = QPainterPath::Element]' /usr/include/qt4/QtGui/qpainterpath.h:394:76: required from here /usr/include/qt4/QtCore/qvector.h:405:71: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] QVectorData *vectordata = QVectorData::allocate(sizeOfTypedData() + (aalloc - 1) * sizeof(T), alignOfTypedData()); make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/qgit-2.5/src' g++ -Wl,-O1 -o ../bin/qgit ../build/annotate.o ../build/cache.o ../build/commitimpl.o ../build/consoleimpl.o ../build/customactionimpl.o ../build/dataloader.o ../build/domain.o ../build/exceptionmanager.o ../build/filecontent.o ../build/filelist.o ../build/fileview.o ../build/git.o ../build/lanes.o ../build/listview.o ../build/mainimpl.o ../build/myprocess.o ../build/namespace_def.o ../build/patchcontent.o ../build/patchview.o ../build/qgit.o ../build/rangeselectimpl.o ../build/revdesc.o ../build/revsview.o ../build/settingsimpl.o ../build/smartbrowse.o ../build/treeview.o ../build/FileHistory.o ../build/common.o ../build/moc_annotate.o ../build/moc_cache.o ../build/moc_commitimpl.o ../build/moc_consoleimpl.o ../build/moc_customactionimpl.o ../build/moc_dataloader.o ../build/moc_domain.o ../build/moc_filecontent.o ../build/moc_filelist.o ../build/moc_fileview.o ../build/moc_git.o ../build/moc_listview.o ../build/moc_mainimpl.o ../build/moc_myprocess.o ../build/moc_patchcontent.o ../build/moc_patchview.o ../build/moc_rangeselectimpl.o ../build/moc_revdesc.o ../build/moc_revsview.o ../build/moc_settingsimpl.o ../build/moc_smartbrowse.o ../build/moc_treeview.o ../build/moc_FileHistory.o ../build/qrc_icons.o -L/usr/X11R6/lib -L/usr/lib64 -lQtGui -L/usr/lib64 -L/usr/X11R6/lib -lQtCore -lpthread -lXext -lX11 -lm make[1]: Leaving directory '/usr/src/RPM/BUILD/qgit-2.5/src' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.88781 + 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.5 + install -pD -m755 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 .opt-?.pyc files Hardlinking identical .pyc and .pyo files Processing files: qgit-2.5-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.1996 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd qgit-2.5 + DOCDIR=/usr/src/tmp/qgit-buildroot/usr/share/doc/qgit-2.5 + export DOCDIR + rm -rf /usr/src/tmp/qgit-buildroot/usr/share/doc/qgit-2.5 + /bin/mkdir -p /usr/src/tmp/qgit-buildroot/usr/share/doc/qgit-2.5 + cp -prL README /usr/src/tmp/qgit-buildroot/usr/share/doc/qgit-2.5 + chmod -R go-w /usr/src/tmp/qgit-buildroot/usr/share/doc/qgit-2.5 + chmod -R a+rX /usr/src/tmp/qgit-buildroot/usr/share/doc/qgit-2.5 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.V0yxkf find-provides: running scripts (alternatives,debuginfo,gir,lib,pam,perl,pkgconfig,python,python3,shell,typelib) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.mYoPxD find-requires: running scripts (cpp,debuginfo,files,gir-js,gir-python,gir,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,typelib) Provides: qgit4 = qgit-2.5 Requires: /lib64/ld-linux-x86-64.so.2, libQtCore.so.4()(64bit) >= set:pgAajknZm2vxZqfsbUM0cQyqxiA4hArLZALJsDzpqJMZu9CKnaUPZqvZ83iPTRwFPdKILEYmONpG00ZI1g7hIbnpH7AMt5HH7sSW0TvH2lT7IeNjhAZocdbJ01eizTzDTS6cxGVGIlRFzJQGW7pL0mCOkNbk5WUj81igV1YUJUtx0B0ZCvOMGK1lrdN2NOj5GGcVBZs0t4LqYmDGTzoMDMo8yEneRaN4OTanwpZsJo7wI5CW80R6hL1E5oRPQFRZpNyrjILZAYfpMGx1H66oiq8qkUI4X6dUZdAcpOyXw22mse0qvDtQd1NQGQrxhTFO7n59B45YxH6oxc5YbUxVyE50U6cYsRZ1j0dGhVE9mnqQonMoqjgNPZvlixLAguyvLpqc1vqrKhGB9ceL90Dfxa3G2rOciXYMITikAP15InklZp7RGBF01kpA143AFUxPoZuzHsjNOtFQnM42TMtD06Xap7OextfGPzduqzbGqrpHOIZwKiVeewtpTMFiRcHd8XPEbBu9MU9QkQHp9h0xy5Zxc8UDafFrI79gUmcZqQsxuZz1Fl0oC8YTztLFCJrBiskDD07HLIAzq2eK2yIYZud4P0wgJ5RXbDZdnZfnZ136VFN3lgaYdpQLEL24DZcxRZjusVZci5jZmpMkO4tTHBptRh79STqAcpIqwFkrm4N8nZyDCpjGC1cZ1rBBDP8Rtajbty1T5n1Crjo5NPC3mdCeNeQjXCHHsIOZec3ddyZawCmpqLaxIknYjh1Z4QLJoteTJe5Y1E3xSwaAMhyQbia7Oa0aRaZ1Ogq9XwkGie3zZqVZCE27Zzpf0U7kUTHM3ZlIAFkEOt3ZI4xgBZKXGx6kRuA2GyakeYUF4wR4Akkd9nNnUqhnNThJ14sf2odaE3ZJZ8MAXJZKEdYQWZIjNuBZsYukziJaEyuc55QGgEh80EVv1, libQtGui.so.4()(64bit) >= set:rhxKXmRDUZubg4h7FJ2mE5u99r9ZsMznaojmK5bXnQKIvb23TgX2XVc7y7wceGzqIvEKN16smnjiIf1P9ZJNPvyOZwKjeoorDYgTTCcQy8dB759XugiwyXzqUAWKjqdWtZwdSBr2VaG2mMZd5UlraMsaCTZyZq4DeltzT734Z2owmeVS7585Uq06t3em2luFfEBnjTRytVi6z4UKXZkWEDsFDtFgKvddAEly7ZxkteZEyptoBKH3dJ69otdtrwjFDN1JgrUPyZ23PcCyPKd5E02KjT4ROEMAmMC9NaysqeWZl4Zk47nmeci3P8WTKRAIYHVz5MyBCwQm76CGb2MGgs4OZrFS7ULYBzGfpzUgkPA9o2HQ2xHrNCscFFTrjFSGEr6lgXrslgqJyK6rSkFuiqeaMCoeZqbWqGZdS4UCv7Ne67nYwPftbekQwLfokJaljgaAz4yAzE5UI5XuZx6JDGcOw8KUl5JIWzg6ZBkekcBiPo2cQbVHqPMNT2Wuldwie0VcyIvdk7KguieZtRrE9FFKMj1Amgj5ZDl3HwEZjRcI46cfqJrzlrukSdhImweZtQ2urCvYt4WBMRPF09YgEzdYZytW71u1IZqgsHcXfEc9A2Uey0p5F5YftJDZw8p6VkxX6S8wBc4G8NAwgGaj894t23TZCQNm8GBkw8MgqSykqL2oIKCJgxhfunfBxR6ZsvpmU476VUUisiZH1PDbBBha85ZpOZL01xN0SZ2CG82XHQbjZAkfcmbWrwfDZhEqzBqqGtxglx43H95Zs6b2Mp6OFiZ2PzQwD1UZhTycL5AshRPymQGhalaZKH8WqWz2GImuhjZ4vTZuL4kpDgZ1ZnLGrjZeHETjRyGmaODyikYpHaY5R1LlOnerwF6II7XHeNAUGK1wHfes1MlKR7soEpNZEfsvo7VGk17vCwI2uATFLULITihBQefU2Zz5MXhChNfw54RRCMocDf4GWSL2IPFZE2dPZ0XQ0ZvXoVkCdSe8PorclCx8ZmVuCqhedLArCDZL4ZKyFg9634DPJ4SzyGFebYhaVZBn8bsbR6WohJOxxL8tG1XOSvWZ31MpMkLta25Tc5pFxsowgVFZrVldeXIy2oeWX3MhQvjADlVK230JofGBh1yJqn2amFvyGpTLbQ65sMZbdRpTaZ9QoOnZe5ZmECwmZ4tav8mr2KMZ7tKZGUmiF063Kw0iG7mwf8BMv5v8eH9hU65ebrz9B5JgkxeqtRNGJGPfBmdevZ1RS9Oq2ii00XQmtC730UGlXsNLFZJdXwLU83DH1cqVgZGlO4MMr3QDpgkpzZIiFpFIsUZqglRHNnTwHE1cjP8ekGZhdUebmV0j2ZbaFAjXy0C3sSRVyUI6TmnZcyYJkMDSWUQy5HuRfzOb6Zb9jkKVOICk0v8YTeqAOZtYedC5gcmuZbHUqW6i1mJofaAUI1hk3CULuAGnxJPP8U0x4yjA9H52RWxqJ9O0zITcw4RGY1fnnjkukmZHMcfHUlkalb8gTBLnovwd1Eb7Za0vkkZ1jBGcQH1OrOtdDTuBsEFySVCsR9ySZGQkWzdaovxTh7cpIXOuNlRPwFbCYgwx1YHZxbjM6uykHcQaA2Pz5g5sHFZtqMozUhteqqCBMblsTbIUz8pww3ku95hw13lvSYyiYtETeVqWFWRYZH7C0XKJGu3JMyAVwkHfl3zAnae6OE1eRmgpKoefpitYmDnZJ4WIOsRlwtSEkMQmWZi4l7Z5leQT4P0Z1koQZc34pebg3Tu7SbFg9JU3bYO1KKZLEtqjNqiBvWulGKGp5N4IjskLsSfZpYmFWJFEf3AI7U22YEbZmojZtIZLtm4qzINOI4cCP7h5fyEGLbW9hSiNJxo1mFxFWDlZ1lCk7lYcJGqtTEdGBeHm6LJieEUqGeZfZ1AgLSoGgn6k9ISLmURcTO97yfDLOxXaxmK4IFV105u0V38zRNjGw1Z7sFWFUJs8EZHAp7BuqHrP5fFC3fxxwZhxopc5mFPkINemmwyZ9eAqj6MZbQqYKrYKzWX8PviSDMbujcZI54vAXgt4PAFLoUr16hZiklga7bcQxMSR0yvvY66ob1dlondyuP3UbyyTAzrB1BfT8bmkAwvIgzzNJDPfQV4SIhNRYZlp42AqDBrdRit9ucI4qJTPZxZJPybsgkZfxxxrbGovwApXE5oJtL5EjF5U13Uzotc7DCe41o, libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libgcc_s.so.1(GCC_3.0)(64bit), libstdc++.so.6(CXXABI_1.3)(64bit), libstdc++.so.6(CXXABI_1.3.9)(64bit), libstdc++.so.6(GLIBCXX_3.4)(64bit), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Obsoletes: qgit4 < qgit-2.5 Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Tb1OS8 Creating qgit-debuginfo package Processing files: qgit-debuginfo-2.5-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.XdvuJI find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.GuHOan find-requires: running scripts (debuginfo) Requires: qgit = 2.5-alt1, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libQtCore.so.4), debug64(libQtGui.so.4), debug64(libc.so.6), debug64(libgcc_s.so.1), debug64(libstdc++.so.6) Wrote: /usr/src/RPM/RPMS/x86_64/qgit-2.5-alt1.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/qgit-debuginfo-2.5-alt1.x86_64.rpm 180.47user 11.81system 0:57.94elapsed 331%CPU (0avgtext+0avgdata 306164maxresident)k 0inputs+0outputs (0major+2283680minor)pagefaults 0swaps 206.75user 19.92system 1:33.42elapsed 242%CPU (0avgtext+0avgdata 306164maxresident)k 0inputs+0outputs (0major+2841355minor)pagefaults 0swaps --- qgit-2.5-alt1.x86_64.rpm.repo 2012-10-04 16:43:58.000000000 +0000 +++ qgit-2.5-alt1.x86_64.rpm.hasher 2019-01-02 02:11:15.698717760 +0000 @@ -4,3 +4,3 @@ Requires: /lib64/ld-linux-x86-64.so.2 -Requires: libQtCore.so.4()(64bit) >= set:pgAajknZm2vxZqfsbUM0cQyqxiA4hArLZALJsDzpqJMZu9CKnaUPZqvZ83iPTRwFPdKILEYmONpG00ZI1g7hIbnpH7AMt5HH7sSW0TvH2lT7IeNjhAZocdbJ01eizTzDTS6cxGVGIlRFzJQGW7pL0mCOkNbk5WUj81igV1YUJUtx0B0ZCvOMGK1lrdN2NOj5GGcVBZs0t4LqYmDGTzoMDMo8yEneRaN4OTanwpZsJo7wI5CW80R6hL1E5oRPQFRZpNyrjILZAYfpMGx1H66oiq8qkUI4X6dUZdAcpOyXw22mse0qvDtQd1NQGQrxhTFO7n59B45YxH6oxc5YbUxVyE50U6cYsRZ1j0dGhVE9mnqQonMoqjgNPZvlixLAguyvLpqc1vqrKhGB9ceL90Dfxa3G2rOciXYMITikAP15InklZp7RGBF01kpA143AFUxPoZuzHsjNOtFQnM42TMtD06Xap7OextfGPzduqzbGqrpHOIZwKiVeewtpTMFiRcHd8XPEbBu9MU9TyMB8LCB414amY7c8UDafFrI79gUmcZqQsxuZz1Fl0oC8YTztLFCJrBiskDD07HLIAzq2eK2yIYZud4P0wgJ5RXbDZdnZfnZ136VFN3lgaYdpQLEL24DZcxRZjusVZci5jZmpMkO4tTHBptRh79STqAcpIqwFkrm4N8nZyDCpjGC1cZ1rBBDP8Rtajbty1T5n1Crjo5NPC3mdCeNeQjXCHHsIOZec3ddyZawCmdYs4Hl2pFKUDy2W9WTmIeDXmD2Zgg72J1l8xz4FnAkeAl0kGlW3p8JAtgal9DxhvdZD3lUUvOu0MfEMLnx7YbmOkakVKxvC84GYTTl3dEGZ8kglkxOx7fB0ICwAyG9VaZisJEHUXES02K71I65QxZKu4CsLZ77JxDmZDuaSHQDVZ8qkGl1lQzFEwm52d210dZH +Requires: libQtCore.so.4()(64bit) >= set:pgAajknZm2vxZqfsbUM0cQyqxiA4hArLZALJsDzpqJMZu9CKnaUPZqvZ83iPTRwFPdKILEYmONpG00ZI1g7hIbnpH7AMt5HH7sSW0TvH2lT7IeNjhAZocdbJ01eizTzDTS6cxGVGIlRFzJQGW7pL0mCOkNbk5WUj81igV1YUJUtx0B0ZCvOMGK1lrdN2NOj5GGcVBZs0t4LqYmDGTzoMDMo8yEneRaN4OTanwpZsJo7wI5CW80R6hL1E5oRPQFRZpNyrjILZAYfpMGx1H66oiq8qkUI4X6dUZdAcpOyXw22mse0qvDtQd1NQGQrxhTFO7n59B45YxH6oxc5YbUxVyE50U6cYsRZ1j0dGhVE9mnqQonMoqjgNPZvlixLAguyvLpqc1vqrKhGB9ceL90Dfxa3G2rOciXYMITikAP15InklZp7RGBF01kpA143AFUxPoZuzHsjNOtFQnM42TMtD06Xap7OextfGPzduqzbGqrpHOIZwKiVeewtpTMFiRcHd8XPEbBu9MU9QkQHp9h0xy5Zxc8UDafFrI79gUmcZqQsxuZz1Fl0oC8YTztLFCJrBiskDD07HLIAzq2eK2yIYZud4P0wgJ5RXbDZdnZfnZ136VFN3lgaYdpQLEL24DZcxRZjusVZci5jZmpMkO4tTHBptRh79STqAcpIqwFkrm4N8nZyDCpjGC1cZ1rBBDP8Rtajbty1T5n1Crjo5NPC3mdCeNeQjXCHHsIOZec3ddyZawCmpqLaxIknYjh1Z4QLJoteTJe5Y1E3xSwaAMhyQbia7Oa0aRaZ1Ogq9XwkGie3zZqVZCE27Zzpf0U7kUTHM3ZlIAFkEOt3ZI4xgBZKXGx6kRuA2GyakeYUF4wR4Akkd9nNnUqhnNThJ14sf2odaE3ZJZ8MAXJZKEdYQWZIjNuBZsYukziJaEyuc55QGgEh80EVv1 Requires: rpmlib(SetVersions) @@ -11,2 +11,3 @@ Requires: libstdc++.so.6(CXXABI_1.3)(64bit) +Requires: libstdc++.so.6(CXXABI_1.3.9)(64bit) Requires: libstdc++.so.6(GLIBCXX_3.4)(64bit)